| Summary: | rsyslog service start without any notice even if there are errors in log due to bad configuration | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Dalibor Pospíšil <dapospis> |
| Component: | rsyslog | Assignee: | Tomas Heinrich <theinric> |
| Status: | CLOSED WONTFIX | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.3 | CC: | pvrabec |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-06 13:08:10 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Dalibor Pospíšil
2012-02-16 12:43:53 UTC
I'm probably going to close this as WONTFIX. Several reasons for this: - By the time the configuration is parsed, the daemon had already forked and has no access to stderr. The warnings/errors are still logged, though. - The syslogd configuration is rarely changed and the daemon provides an option (-N) to check the configuration file for errors. - If you want the daemon to abort at any sign of misconfiguration, there's a configuration directive: http://www.rsyslog.com/doc/rsconf1_abortonuncleanconfig.html $AboortOnUncleanConfig Available since: 5.3.1+ Default: off - The philosophy of rsyslog is to proceed even if there are errors in the config file as a running syslogd is a vital part of the os. - There's already an older bz arguing this point: https://bugzilla.redhat.com/show_bug.cgi?id=136141 "syntax errors in syslogd.conf cause lost log messages without warning" |