Bug 51812
Summary: | should place script in /etc/cron.d instead of modifying /etc/crontab | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Mirko Zeibig <mirko> |
Component: | mrtg | Assignee: | Nalin Dahyabhai <nalin> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | binand, bishop, gedetil, jos |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-08-17 06:41:00 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Attachments: |
Description
Mirko Zeibig
2001-08-15 14:35:51 UTC
*** 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. |