Summary: | syslog-ng init script should do configuration check | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Eldad Zack (RETIRED) <eldad> |
Component: | Current packages | Assignee: | Mr. Bones. (RETIRED) <mr_bones_> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
syslog-ng.rc.1.13.patch
syslog-ng.init.1.13.patch syslog-ng.init.1.13.patch |
Description
Eldad Zack (RETIRED)
2004-07-24 12:13:18 UTC
Created attachment 36085 [details, diff]
syslog-ng.rc.1.13.patch
Added the syslog-ng -s check, both with reload and start.
I've also added SYSLOGNG_CONF instead of /etc/syslog-ng/syslog-ng.conf
everywhere.
Created attachment 36109 [details, diff]
syslog-ng.init.1.13.patch
Learned the hard way that using variables messes with depcache.
This is a much smaller patch.
Created attachment 36110 [details, diff]
syslog-ng.init.1.13.patch
former patch was reversed.
So.... Explain to me what this patch actually buys us over the current behavior please? suppose you misconfigure syslog-ng and try to restart it - it will stop but won't start. Also, if it fails to start, it tells you why. Added to CVS. No rev bump or anything since this is pretty minor. Thanks for the bug report and patch. |