Bug#964438: apt-listbugs: dns error when running from cron job
Michael Biebl
biebl at debian.org
Sun Jul 26 22:50:37 BST 2020
Am 26.07.20 um 23:12 schrieb Francesco Poli:
> On Sun, 26 Jul 2020 22:48:18 +0200 Michael Biebl wrote:
>
>> Am 26.07.20 um 22:43 schrieb Francesco Poli:
>>> On Sun, 26 Jul 2020 22:22:55 +0200 Michael Biebl wrote:
>>>
>>> [...]
>>>> Afaics, the problem is, that your service does not properly handle the
>>>> case, when the network is not available.
>>>
>>> It does, that's the reason why the operation is attempted hourly.
>>
>> The bug report was about apt-listbugs throwing an error if network is
>> not available.
>
> We can argue that the service should be more silent in case of network
> errors, or maybe it's OK that it throws an error.
> But that's not the point.
>
> The point is that the timer triggers during wake-up, while it should
Not entirely correct. The timer only triggers if the time specified in
the timer unit has elapsed while the system was asleep.
> behave as it does during a boot (wait for at least 5 min and then
> trigger hourly, with a random delay).
Again, this is a misunderstanding how OnActiveSec= works.
And even then, a 5min delay would not guarantee that network is up.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20200726/169bab9b/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list