<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 --- - user service does not get executed after timer wakeup"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84251">84251</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>user service does not get executed after timer wakeup
          </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>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>pothos@riseup.net
          </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>Created <span class=""><a href="attachment.cgi?id=106745" name="attach_106745" title="test script to reproduce the bug. see end of text for more information">attachment 106745</a> <a href="attachment.cgi?id=106745&action=edit" title="test script to reproduce the bug. see end of text for more information">[details]</a></span>
test script to reproduce the bug. see end of text for more information

While system services get correctly executed after a timer wakeup, this does
not work for user services.

The service gets executed after the timer event when no suspend was done, but
when the system is suspended, the timer only wakes it up but does not start the
service.

Attached is a ipython script to show this behavior. Start it as user in your
desktop session via
./maketimeevent.ipy normal
to see that starting the service works well without suspend and then start it
via
./maketimeevent.ipy suspend
to see that your system wakes up after 20 seconds but the service is not
started. Because the script waits for the service which is not started, please
bring it to an end by manually invoking
echo finished | netcat localhost 19927


P.S.: Is there another place than /etc/systemd/user/ for that?</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>