[systemd-bugs] [Bug 58216] if "systemctl daemon-reload" is executed right before timer expires, timer doesn't fire nor rearm

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 26 19:09:34 UTC 2017


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

Eric Ewanco <Eric.Ewanco at genband.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Eric Ewanco <Eric.Ewanco at genband.com> ---
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.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-bugs/attachments/20170126/d896ae23/attachment.html>


More information about the systemd-bugs mailing list