[Bug 740105] New: systemd: rsyslog forced to use /etc/rsyslog.early.conf
https://bugzilla.novell.com/show_bug.cgi?id=740105 https://bugzilla.novell.com/show_bug.cgi?id=740105#c0 Summary: systemd: rsyslog forced to use /etc/rsyslog.early.conf Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20100101 Firefox/9.0 After every reboot, I've noticed that a) rsyslog is using /etc/rsyslog.early.conf instead of /etc/rsyslog.conf Thus, I get no remote syslog capture or send. Not cool. b) rcsyslog restart is not sufficient to rectify the situation c) rcsyslog stop + rcsyslog start is also not sufficient d) rcsyslog stop -v followed by rcsyslog start -v *is* sufficient. This is /totally/ counter-intuitive. I've noticed that whenever I have trouble with systemd, adding '-v' seems to get me *different* behavior. Screencap: turnip:/mnt # /etc/init.d/syslog stop redirecting to systemctl turnip:/mnt # /etc/init.d/syslog start redirecting to systemctl turnip:/mnt # netstat -planetu | grep rsys turnip:/mnt # ps wax | grep sys 841 ? Ss 0:00 /lib/systemd/systemd-stdout-syslog-bridge 1338 ? Ss 0:00 /lib/systemd/systemd-logind 1761 ? Ss 0:03 /bin/dbus-daemon --system --address=systemd: --nofork --systemd-activation 29780 ? Sl 0:00 /sbin/rsyslogd -c 5 -f /etc/rsyslog.early.conf 29789 pts/4 R+ 0:00 grep --color=auto sys turnip:/mnt # /etc/init.d/syslog stop -v Shutting down syslog services done turnip:/mnt # /etc/init.d/syslog start -v Starting syslog services done turnip:/mnt # ps wax | grep sys 841 ? Ss 0:00 /lib/systemd/systemd-stdout-syslog-bridge 1338 ? Ss 0:00 /lib/systemd/systemd-logind 1761 ? Ss 0:03 /bin/dbus-daemon --system --address=systemd: --nofork --systemd-activation 29823 ? Sl 0:00 /sbin/rsyslogd -c 5 -f /etc/rsyslog.conf 29831 pts/4 S+ 0:00 grep --color=auto sys turnip:/mnt # Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=740105 https://bugzilla.novell.com/show_bug.cgi?id=740105#c Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fcrozat@suse.com, | |werner@suse.com AssignedTo|bnc-team-screening@forge.pr |mt@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=740105 https://bugzilla.novell.com/show_bug.cgi?id=740105#c1 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Marius Tomaschewski <mt@suse.com> 2012-01-10 11:52:42 UTC --- The reason that "rcsyslog restart" does not work but with "-v" works is, that there is no redirection to systemd in the "-v" case (a -v is not used by /etc/init.d/syslog at all). There is a guard line in the /etc/rc.status, that disallows redirection when more than one argument is in use: if test $PPID -ne 1 -a $# -eq 1 ; then #### redirect Under systemd, the /etc/init.d/syslog script is not used, but a native systemd service file. Everything else is bug 728565, that also provides a fixed generator script in attachment 461906. *** This bug has been marked as a duplicate of bug 728565 *** http://bugzilla.novell.com/show_bug.cgi?id=728565 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com