Re: [systemd-devel] [PATCH] core: Make sure a stamp file exists for all Persistent=true timers

2014-04-12 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Apr 12, 2014 at 01:02:53PM +0200, Tom Gundersen wrote: > On Sat, Apr 12, 2014 at 12:57 PM, Thomas Bächler wrote: > > Am 05.04.2014 17:32, schrieb Thomas Bächler: > >> Am 05.04.2014 11:35, schrieb Tom Gundersen: > >>> On Wed, Apr 2, 2014 at 8:18 PM, Thomas Bächler > >>> wrote: > If a

Re: [systemd-devel] [PATCH] core: Make sure a stamp file exists for all Persistent=true timers

2014-04-12 Thread Tom Gundersen
On Sat, Apr 12, 2014 at 12:57 PM, Thomas Bächler wrote: > Am 05.04.2014 17:32, schrieb Thomas Bächler: >> Am 05.04.2014 11:35, schrieb Tom Gundersen: >>> On Wed, Apr 2, 2014 at 8:18 PM, Thomas Bächler wrote: If a persistent timer has no stamp file yet, it behaves just like a normal time

Re: [systemd-devel] [PATCH] core: Make sure a stamp file exists for all Persistent=true timers

2014-04-12 Thread Thomas Bächler
Am 05.04.2014 17:32, schrieb Thomas Bächler: > Am 05.04.2014 11:35, schrieb Tom Gundersen: >> On Wed, Apr 2, 2014 at 8:18 PM, Thomas Bächler wrote: >>> If a persistent timer has no stamp file yet, it behaves just like a normal >>> timer until it runs for the first time. If the system is always shu

Re: [systemd-devel] [PATCH] core: Make sure a stamp file exists for all Persistent=true timers

2014-04-05 Thread Thomas Bächler
Am 05.04.2014 11:35, schrieb Tom Gundersen: > On Wed, Apr 2, 2014 at 8:18 PM, Thomas Bächler wrote: >> If a persistent timer has no stamp file yet, it behaves just like a normal >> timer until it runs for the first time. If the system is always shut down >> while the timer is supposed to run, a st

Re: [systemd-devel] [PATCH] core: Make sure a stamp file exists for all Persistent=true timers

2014-04-05 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Apr 05, 2014 at 11:35:24AM +0200, Tom Gundersen wrote: > On Wed, Apr 2, 2014 at 8:18 PM, Thomas Bächler wrote: > > If a persistent timer has no stamp file yet, it behaves just like a normal > > timer until it runs for the first time. If the system is always shut down > > while the timer is

Re: [systemd-devel] [PATCH] core: Make sure a stamp file exists for all Persistent=true timers

2014-04-05 Thread Tom Gundersen
On Wed, Apr 2, 2014 at 8:18 PM, Thomas Bächler wrote: > If a persistent timer has no stamp file yet, it behaves just like a normal > timer until it runs for the first time. If the system is always shut down > while the timer is supposed to run, a stamp file is never created and > Peristent=true ha

[systemd-devel] [PATCH] core: Make sure a stamp file exists for all Persistent=true timers

2014-04-02 Thread Thomas Bächler
If a persistent timer has no stamp file yet, it behaves just like a normal timer until it runs for the first time. If the system is always shut down while the timer is supposed to run, a stamp file is never created and Peristent=true has no effect. This patch fixes this by creating a stamp file wi