Bug#964438: apt-listbugs: dns error when running from cron job
Michael Biebl
biebl at debian.org
Fri Jul 17 00:46:06 BST 2020
Control: reassign -1 apt-listbugs
Am 16.07.20 um 23:11 schrieb Francesco Poli:
> [Unit]
> Description=Daily apt-listbugs preferences cleanup
> After=network.target network-online.target
> On the other hand, the original bug reporter (Oswald) sees that the
> service is triggered immediately after each wake-up from sleep.
> Before the network has had a chance to become available and working.
Please see https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
network-online.target is only relevant during boot, once the target has
been reached, it will stay up, it is not dynamic.
I.e. you can't use that to delay the execution of a service after
suspend-resume.
If your service has such dynamic needs, this can't be expressed via
network-online.target and you should instead implement that in your
service directly.
Reassigning accordingly.
Michael
-------------- 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/20200717/9b5a0904/attachment-0001.sig>
More information about the Pkg-systemd-maintainers
mailing list