Description of problem: syslog.ng fill does not start and fill journalctl logs Version-Release number of selected component (if applicable): current cauldron How reproducible: Every time Steps to Reproduce: 1.install syslog-ng 2.restart system 3.type journalctl after a day running 4. you get pages and pages of: Jan 30 22:01:08 vbox.btspuhler.com systemd[1]: syslog-ng.service start request repeated too quickly, refusing to start. Jan 30 22:01:08 vbox.btspuhler.com systemd[1]: Starting Syslog-ng System Logging Service... Jan 30 22:01:08 vbox.btspuhler.com systemd[1]: Starting Syslog-ng System Logging Service...
CC: (none) => mageiaBlocks: (none) => 8039Assignee: bugsquad => guillomovitch
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 => RESOLVEDResolution: (none) => FIXED