https://bugzilla.novell.com/show_bug.cgi?id=802861 https://bugzilla.novell.com/show_bug.cgi?id=802861#c0 Summary: %restart_on_update macro generates warning: Stop syslog.service before reloading the daemons! Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: All OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: archie@dellroad.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:18.0) Gecko/20100101 Firefox/18.0 Many RPMs use the %restart_on_update macro in their %post scripts. However, this script results in an error, with the following reported in /var/log/warn: Feb 8 10:56:12 test syslog-service-generator[15818]: Stop syslog.service before reloading the daemons! Feb 8 10:56:12 test systemd[1]: /lib/systemd/system-generators/syslog-service-generator exited with exit status 1. The above example is from an update of the apache2 RPM (to version apache2-2.2.22-4.10.1.x86_64). At best, this warning is annoying because it sets off Nagios alerts, etc. on my production systems. At worst, something is actually broken and there is a problem. In either case, this needs to be fixed. Perhaps the %restart_on_update can adjust its behavior to handle syslog.service as directed by the error message. Reproducible: Always Steps to Reproduce: 1. Update an RPM such as apache2 2. Look in /var/log/warn 3. Witness error message Actual Results: Feb 8 10:56:12 test syslog-service-generator[15818]: Stop syslog.service before reloading the daemons! Feb 8 10:56:12 test systemd[1]: /lib/systemd/system-generators/syslog-service-generator exited with exit status 1. Expected Results: (No warnings) $ uname -a Linux test.example.com 3.4.11-2.16-default #1 SMP Wed Sep 26 17:05:00 UTC 2012 (259fc87) x86_64 x86_64 x86_64 GNU/Linux $ cat /etc/SuSE-release openSUSE 12.2 (x86_64) VERSION = 12.2 CODENAME = Mantis -- 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.