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.