[systemd-bugs] [Bug 63735] RPM macros and socket activated services uninstall

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 16 09:15:04 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=63735

--- Comment #2 from Marcos Mello <marcosfrm at gmail.com> ---
After rsyslog removal, its process keeps running and systemctl status shows

# systemctl status rsyslog.service
rsyslog.service
          Loaded: error (Reason: No such file or directory)
          Active: active (running) since Mon, 2013-09-16 13:07:03 BRT; 49s ago
        Main PID: 1913 (rsyslogd)

Sep 16 13:07:03 pentium.localdomain systemd[1]: Started System Logging Service.


On openSUSE 12.3, rpm runs at %preun

D: %preun(rsyslog-7.2.7-2.5.1.i586): scriptlet start
D: %preun(rsyslog-7.2.7-2.5.1.i586): execv(/bin/sh) pid 2369
+ test -n ''
+ FIRST_ARG=0
+ '[' 0 -eq 0 ']'
+ /usr/bin/systemctl --no-reload disable rsyslog.service
+ /usr/bin/systemctl stop rsyslog.service

and at %postun

D: %postun(rsyslog-7.2.7-2.5.1.i586): scriptlet start
D: %postun(rsyslog-7.2.7-2.5.1.i586): execv(/bin/sh) pid 2375
+ /sbin/ldconfig
+ test -n ''
+ FIRST_ARG=0
+ '[' 0 -ge 1 ']'
+ for service in rsyslog.service
+ sysv_service=rsyslog
+ rm -f /var/lib/systemd/migrated/rsyslog
+ /usr/bin/systemctl daemon-reload

So the socket is triggering rsyslog.service between %preun e %postun and
rsyslogd is now a zombie...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130916/46b444df/attachment.html>


More information about the systemd-bugs mailing list