From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010802 Description of problem: Instead of fiddling around with /etc/crontab sth. like: [root@heulsuse bin]# o /etc/cron.d/mrtg 0-59/5 * * * * root /usr/bin/mrtg /etc/mrtg/mrtg.cfg should be installed. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.None Additional info:
*** Bug 62970 has been marked as a duplicate of this bug. ***
*** Bug 64555 has been marked as a duplicate of this bug. ***
Is it possible for MRTG package to ship with an initscript for those of us who'd like to run it as a daemon? The default MRTG redhat ships makes the PID file in /etc/mrtg/mrtg.pid (when run as daemon). This should go to /var/run as well.
Hey Nalin, This bug's been kicking about for a good year or so. I know that you're super busy, but can I pick this one up, roll some modified packages and feed you some patches? It's a one-banana problem, really, and I wouldn't mind taking this one. Considering I have RHL 6.2-8.0 here, I may have a unique opportunity 8-) Let me know.
Created attachment 89300 [details] Patch to RHL80 mrtg.spec to move cron work to separate file in /etc/cron.d Patch to RHL80 mrtg.spec to move cron work to separate file in /etc/cron.d
Created attachment 89301 [details] Patch to RHL73 mrtg.spec to move cron work to separate file in /etc/cron.d Patch to RHL73 mrtg.spec to move cron work to separate file in /etc/cron.d
Created attachment 89302 [details] Patch to RHL72 mrtg.spec to move cron work to separate file in /etc/cron.d Patch to RHL72 mrtg.spec to move cron work to separate file in /etc/cron.d
Release Notes on the patch: - The change causes the mrtg package to ship an /etc/cron.d/mrtg file. - I also noticed that literal/macro use in the SPEC wasn't uniform and corrected that for one macro. - the RHL80 patch file is missing one mod: I changed the %release to 9 when it successfully built; obviously I shipped the older diff, and I didn't feel like spamming everyone with a new copy. All of these (S)RPMs are available at http://www.platypus.bc.ca/~bishop/software/mrtg-rh/ Enjoy. Test. Share. Etc.
/etc/cron.d is used in FC2 mrtg-2.10.5-3.