<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:Eric.Ewanco@genband.com" title="Eric Ewanco <Eric.Ewanco@genband.com>"> <span class="fn">Eric Ewanco</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - if "systemctl daemon-reload" is executed right before timer expires, timer doesn't fire nor rearm"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=58216">bug 58216</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - if "systemctl daemon-reload" is executed right before timer expires, timer doesn't fire nor rearm"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=58216#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - if "systemctl daemon-reload" is executed right before timer expires, timer doesn't fire nor rearm"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=58216">bug 58216</a>
              from <span class="vcard"><a class="email" href="mailto:Eric.Ewanco@genband.com" title="Eric Ewanco <Eric.Ewanco@genband.com>"> <span class="fn">Eric Ewanco</span></a>
</span></b>
        <pre>I retested this both in systemd-37 and systemd-228 and it now works.

I modified, for -228, the timer file to add AccuracySec=1s.

Because systemd has changed so much the original script was invalid, instead of
running test1.sh I did the following to verify:

  while true; do systemctl daemon-reload; usleep 250000; done & (sleep 35; echo
done)
  systemctl show --property SubState elapsed-bug.timer
  kill %%

This tested properly on both systems.  It failed ("elapsed") on -37 and
succeeded ("waiting") on -228.  I also verified that the actual timer did or
did not fire as the case may be.

(I sit next to Alex, who filed the bug, and have taken over responsibility for
the project he found this on.)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>