[systemd-bugs] [Bug 65973] New: when a unit file is removed, systemd abandons running processes

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 20 07:43:17 PDT 2013


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

          Priority: medium
            Bug ID: 65973
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: when a unit file is removed, systemd abandons running
                    processes
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: zbyszek at in.waw.pl
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

% systemctl status libvirtd
libvirtd.service - Virtualization daemon
   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled)
   Active: inactive (dead) since Thu 2013-06-20 10:35:57 EDT; 10s ago
 Main PID: 1182 (code=exited, status=0/SUCCESS)
   CGroup: name=systemd:/system/libvirtd.service
           ├─1278 /sbin/dnsmasq
--conf-file=/var/lib/libvirt/dnsmasq/default.conf
           └─2593 /usr/bin/qemu-system-x86_64 -machine accel=kvm -name
schlemiel -S -machine pc-i...

% sudo rpm -e libvirt-daemon --nodeps

% sudo systemctl status libvirtd
libvirtd.service
   Loaded: error (Reason: No such file or directory)
   Active: inactive (dead)

% ps 2593
 2593 ?        Sl    11:26 /usr/bin/qemu-system-x86_64 -machine accel=kvm -name
schlemiel -S -machin

So systemd has forgotten that 2593 is a part of a unit... I know that this
might be hard to fix, but I think we shouldn't gc a unit until it's really
stopped and all processes are gone.

-- 
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/20130620/24410b3c/attachment.html>


More information about the systemd-bugs mailing list