On Tue, 14 Jul 2020 10:36:23 +0200 Oswald Buddenhagen wrote: > On Mon, Jul 13, 2020 at 11:25:21PM +0200, Francesco Poli wrote: > >I haven't found a satisfying strategy to get what I wanted. > > > ok, fair enough. please make sure the maintainers know about this > requirement if you haven't done so yet.
That's a sensible suggestion: unfortunately, I haven't yet got around to it. But I would love to see the mechanism more implemented on the systemd side, and less on the script side... > > >Could it be that the timer was just about to be triggered, when the > >machine woke up? > > > that's implausible, because the suspensions and wakeups are essentially > random (measured against "your" schedule), while the problem appears > with utter regularity (whenever the wakeup happens on the next day, as > defined by your mechanism). Do you mean that your "no network when apt-listbugs timer runs" only happens immediately after a wake-up from a suspended state and only when the system has had no chance to run the timer between 7:00 a.m. and the wake-up itself? If this is the case, then I apologize for not understanding before! Since I do not use any suspend mechanism on my boxes, this could well explain why I do not experience the same issue... [...] > here's a log of the wakeup: > [...] > Jul 14 09:53:46 ugly systemd-sleep[789697]: System resumed. > Jul 14 09:53:46 ugly kernel: Restarting tasks ... done. > Jul 14 09:53:46 ugly kernel: PM: suspend exit > Jul 14 09:53:46 ugly systemd[1]: Starting Daily apt upgrade and clean > activities... > Jul 14 09:53:46 ugly systemd[1]: Starting Daily apt-listbugs preferences > cleanup... [...] > Jul 14 09:53:47 ugly systemd[1]: apt-listbugs.service: Succeeded. > Jul 14 09:53:47 ugly systemd[1]: Finished Daily apt-listbugs preferences > cleanup. > Jul 14 09:53:50 ugly kernel: e1000e 0000:00:19.0 eth0: NIC Link is Up 1000 > Mbps Full Duplex, Flow Control: Rx/Tx [...] > Jul 14 09:53:51 ugly dhclient[1005]: DHCPDISCOVER on eth0 to 255.255.255.255 > port 67 interval 8 > Jul 14 09:53:51 ugly dhclient[1005]: DHCPOFFER of 192.168.178.20 from > 192.168.178.1 > Jul 14 09:53:51 ugly dhclient[1005]: DHCPREQUEST for 192.168.178.20 on eth0 > to 255.255.255.255 port 67 > Jul 14 09:53:51 ugly dhclient[1005]: DHCPACK of 192.168.178.20 from > 192.168.178.1 [...] Well, it really looks like the apt-listbugs timer is run before the network is brought up again. > > today's fail-mail is dated '14 Jul 2020 09:53:47 +0200'. And I suppose /var/spool/apt-listbugs/lastprefclean modification time is somewhat later, between 10:20 and 10:40 a.m. > > >If you do not reply to my questions, I will not be able to investigate > >and I will have no other choice than closing this bug report as > >unreproducible... > > > i think i'm quite capable of judging what's relevant in cases like this, > so don't make it too easy for yourself to dismiss the issue. ;) No offense was intended: I was just saying that replying to questions may (sometimes) help in understanding the issue and in investigating the cause... -- http://www.inventati.org/frx/ There's not a second to spare! To the laboratory! ..................................................... Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
pgpJKuGS76HrC.pgp
Description: PGP signature