<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 --- - Assert on sd-event with SIGTERM"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76468">76468</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>Assert on sd-event with SIGTERM
          </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>umut@tezduyar.com
          </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>I have noticed sd-event can complain with assert up on the application receives
SIGTERM.

systemctl stop systemd-networkd
[  748.481550] systemd[1]: Stopping Network Service...
[  748.488039] systemd-networkd[800]: Received SIGTERM from PID 1 (systemd).
[  748.494359] systemd-networkd[800]: Assertion 's->event->state !=
SD_EVENT_FINISHED' failed at
/apps/systemd/systemd/src/libsystemd/sd-event/sd-event.c:1229, function
sd_event_source_set_enabled(). Ignoring.
[  748.500794] systemd-networkd[800]: Assertion 's->event->state !=
SD_EVENT_FINISHED' failed at
/apps/systemd/systemd/src/libsystemd/sd-event/sd-event.c:1229, function
sd_event_source_set_enabled(). Ignoring.
[  748.507157] systemd-networkd[800]: Assertion 's->event->state !=
SD_EVENT_FINISHED' failed at
/apps/systemd/systemd/src/libsystemd/sd-event/sd-event.c:1229, function
sd_event_source_set_enabled(). Ignoring.
[  748.511428] systemd-networkd[800]: eth0: DHCP lease lost
[  748.515465] systemd-networkd[800]: DHCP CLIENT: STOPPED
[  748.519437] systemd-networkd[800]: IPv4LL: STOPPED
[  748.541424] systemd-networkd[800]: vlan1: IPv4 link-local release
169.254.51.233
[  748.547655] systemd-networkd[800]: IPv4LL: STOPPED
[  748.562460] systemd[1]: Stopped Network Service.</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>