Bugzilla – Bug 575736
/var/log/nscd.log grows rapidly
Last modified: 2010-05-03 11:14:47 UTC
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729) After installing unscd-0.45-0.1.1.x86_64 nscd.log file contains more verbose debugging info than the earlier version. It seems that the new version was compiled with different default values. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Setting debug-level 0 in /etc/nscd.conf doesn't stop nscd dumping debug messages in /var/log/nscd.log Addtionally, the entries in the log file uses UTC instead of local time.
my filesystem was full because of that log file. The default logging level is too high and debug-level handling in nscd.conf is broken (handle_debuglvl() only adds the value there so no way to decrease built-in level). Moreover, since /var/log/nscd.log is world readable everyone in the system can see e.g. all dns queries of other users. This issue justifies an update for 11.2 IMHO.
For an update. +1
aölso for an update +1
The SWAMPID for this issue is 31446. Please submit the patch and patchinfo file using this ID. (https://swamp.suse.de/webswamp/wf/31446)
Be so kind and prepare an update for it.
Sorry for the delay, I will try to prepare it ASAP.
Same problem here, fills the whole /var after some time because it seems to be logging things very verbosely. Apart from the direct issues (DOS & security), should it have a logrotate configuration which would alleviate this a bit (for one part at least)?
Any news on this one? Also, the permissions of the file are wrong (0666 instead of 0644 or even 0600)
(In reply to comment #9) > Any news on this one? Also, the permissions of the file are wrong (0666 instead > of 0644 or even 0600) No news, sorry. Petr, be so kind and submit it contemporary. :-)
Update submitted, sorry for all the delays. :-(
Update released for: unscd, unscd-debuginfo, unscd-debugsource Products: openSUSE 11.2 (debug, i586, x86_64)