Red Hat Bugzilla – Bug 253350
cache functionality of jwhois disabled in spec file
Last modified: 2007-11-30 17:12:13 EST
Description of problem:
jwhois has code to allow caching of results. the fedora spec file has
a "%configure --without-cache" line that disables this.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Uncomment "cachefile = "/var/lib/jwhois.db";" in /etc/jwhois.conf
2. Uncomment "cacheexpire = 168;" in /etc/jwhois.conf
3. Touch /var/lib/jwhois.db
4. Do a whois lookup
5. /var/lib/jwhois.db stays at 0 bytes
5. /var/lib/jwhois.db should grow
Hi, may I ask -- why do you need it? I wonder if there is widely more users,
that will use cache and benefit from it? It brings new group to the system,
solving obsolete records in cache and potential security issues.
jwhois-4.0-2.fc8 is configured without disabling cache, so you can try...
Indeed. It now works!
And by using the "jwhois -c /other/place/jwhois.conf" I can use caching for my
program without any setuid requirements.