[prev in list] [next in list] [prev in thread] [next in thread] 

List:       systemd-bugs
Subject:    [systemd-bugs] [Bug 58216] if "systemctl daemon-reload" is executed right before timer expires, time
From:       bugzilla-daemon () freedesktop ! org
Date:       2017-01-26 19:09:34
Message-ID: bug-58216-30410-CUVO2MdUiY () http ! bugs ! freedesktop ! org/
[Download RAW message or body]

--14854577731.cA129A.26214
Date: Thu, 26 Jan 2017 19:09:33 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated

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

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

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

--- Comment #2 from Eric Ewanco <Eric.Ewanco@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.
--14854577731.cA129A.26214
Date: Thu, 26 Jan 2017 19:09:33 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated

<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" \
href="mailto:Eric.Ewanco&#64;genband.com" title="Eric Ewanco \
&lt;Eric.Ewanco&#64;genband.com&gt;"> <span class="fn">Eric Ewanco</span></a> </span> \
changed  <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - if &quot;systemctl daemon-reload&quot; 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 &quot;systemctl daemon-reload&quot; 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 &quot;systemctl daemon-reload&quot; 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&#64;genband.com" title="Eric \
Ewanco &lt;Eric.Ewanco&#64;genband.com&gt;"> <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 &amp; (sleep 35; echo
done)
  systemctl show --property SubState elapsed-bug.timer
  kill %%

This tested properly on both systems.  It failed (&quot;elapsed&quot;) on -37 and
succeeded (&quot;waiting&quot;) 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>
--14854577731.cA129A.26214--


[Attachment #3 (text/plain)]

_______________________________________________
systemd-bugs mailing list
systemd-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic