Description of problem: After installing mrtg (yum install mrtg) the sample log file causes logs to be placed in /var/lib instead of /var/log. Of course the sample could be changed by the user, but the mrtg directory is also created in /var/lib instead of /var/log Upstream doc suggests using /var/log... Ref: http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html in the "Running mrtg" section. Version-Release number of selected component (if applicable): 2.13.2.0.fc5.1 How reproducible: Always (I suspect some form of a typo in the rpm packaging/installing script) Steps to Reproduce: 1. yum install mrtg 2. vim /etc/mrtg/mrtg.cfg 3. Actual results: LogDir: /var/lib/mrtg An mrtg directory is created in /var/lib Expected results: LogDir: /var/log/mrtg An mrtg directory should be created in /var/log Additional info:
Perhaps this could be be addressed when the package is rebuilt for a newer version of mrtg. (There have been several releases since this 2.13.2.0 one, 2.14.4 is the latest, released 4 July 2006)
The "running mrtg" section talks about --logging, a place for warning and error messages. LogDir on the other hand is the place for the mrtg _data_ files (not event logs for system administration that can be removed or truncated without affecting system operation, like the other files in /var/log). Such data files do belong in /var/lib. Fedora Core releases are not in general updated to new package versions just as they are available; the development branch already contains mrtg-2.14.4.