<div dir="auto"><div>Hi Michael,<div dir="auto"><div data-smartmail="gmail_signature" dir="auto"><br></div><div data-smartmail="gmail_signature" dir="auto">Sorry for the delay, I forgot to actually send :(</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 4, 2020, 14:06 Michael Biebl <<a href="mailto:biebl@debian.org" target="_blank" rel="noreferrer">biebl@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Felipe<br>
<br>
On Tue, 20 Dec 2016 09:46:38 -0300 Felipe Sateler <<a href="mailto:fsateler@debian.org" rel="noreferrer noreferrer" target="_blank">fsateler@debian.org</a>><br>
wrote:<br>
> Control: forwarded -1 <a href="https://github.com/systemd/systemd/issues/4930" rel="noreferrer noreferrer noreferrer" target="_blank">https://github.com/systemd/systemd/issues/4930</a><br>
> <br>
> On Mon, 17 Nov 2014 12:46:38 +0100 Alexandre Detiste<br>
> <<a href="mailto:alexandre.detiste@gmail.com" rel="noreferrer noreferrer" target="_blank">alexandre.detiste@gmail.com</a>> wrote:<br>
> > Package: init-system-helpers<br>
> > Version: 1.21<br>
> > Severity: minor<br>
> ><br>
> > Dear Maintainer,<br>
> ><br>
> > When a timer unit with flag "Persistant=true" is purged,<br>
> > a loose time stamp (0 byte file) is left loose<br>
> > in /var/lib/systemd/timers/stamp-<unit-name>.timer<br>
> ><br>
> > This file could be safely removed by deb-systemd-helper during a purge.<br>
> <br>
> I'd really rather not rely on implementation details. I have forwarded<br>
> the bug to systemd upstream so they provide an interface to clear the<br>
> stamp files. When that is done, we can add that invocation in<br>
> deb-systemd-helper.<br>
<br>
We now do have a "systemctl clean" interface.<br>
Should we simply run that unconditionally on deb-systemd-helper purge?<br>
For all unit types or only timers?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Maybe we could just have a trigger in systemd?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I also note, that this apparently doesn't work in chroots:<br>
# systemctl clean apt-daily.timer<br>
Running in chroot, ignoring request: clean<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Bummer, but I don't think it is too important. After all, chroots wouldn't have run systemd in the first place, and thus wouldn't have the file.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Not sure if this is something we should be concerned about.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I don't think it is too important. After all, this is mostly a nice to have.</div><div dir="auto"><br></div><div dir="auto">Saludos</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Regards,<br>
Michael<br>
<br>
<br>
<br>
</blockquote></div></div></div>