| Summary: | syslog.ng fill does not start and fill journalctl logs | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Thomas Spuhler <thomas> |
| Component: | RPM Packages | Assignee: | Guillaume Rousse <guillomovitch> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | mageia |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | syslog-ng | CVE: | |
| Status comment: | |||
| Bug Depends on: | |||
| Bug Blocks: | 8039 | ||
|
Description
Thomas Spuhler
2013-02-02 15:54:22 CET
Manuel Hiebel
2013-02-03 13:22:55 CET
CC:
(none) =>
mageia Reproduced. I'll see with upstream. Status:
NEW =>
ASSIGNED The reason it keeps getting started by the way is due to syslog.socket triggering it which seems to avoid start rate limiting. Finding out why it exits on startup would be nice. It seems to exit with code 2. Digging a little more it seems to say: Error creating persistent state file; filename='/var/syslog-ng/syslog-ng.persist-', error='No such file or directory (2)' This is not shown in typical journal output because of the line: StandardOutput=null in the syslog-ng.service unit. This is likely required in a syslog to prevent circular loops - e.g. if it outputs it's logs on stdout, then the journal captures the output and forwards it on to syslog which logs it and outputs it on stdout which the journal captures and forwards to syslog which is output to stdout which is... you get the idea :) It makes debugging syslog service more tricky than others. Anyway, all that was needed to fix it was "mkdir /var/syslog-ng/" so likely just a packaging error. Indeed, a wrong argument was passed to ./configure call. However, just fixing was not enough for me. Upstream suggest to replace system() source instead of /dev/log in default configuration, I didn't tested yet. Should be fixed by incoming 3.3.8 release... (In reply to comment #2) > The reason it keeps getting started by the way is due to syslog.socket > triggering it which seems to avoid start rate limiting. FWIW, at the systemd side, I'll add http://cgit.freedesktop.org/systemd/systemd/commit/?id=464876c9c410b2f5bb997259510a13d0ee7d0af0 to my cherry picks which should stop the logs filling up under these circumstances. Fixed now. Status:
ASSIGNED =>
RESOLVED |