<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - when a unit file is removed, systemd abandons running processes"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=65973">65973</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>when a unit file is removed, systemd abandons running processes
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>zbyszek@in.waw.pl
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr></table>
      <p>
        <div>
        <pre>% 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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>