Hello Lance,
On Tue, Sep 13, 2022 at 12:22:07PM +0000, Lance Lin wrote:
> Thank you for your report. I'm happy to work on this.
> 
> > So cron.weekly is now overdue and cron.daily did not get touched since
> > the 5th, consistent with the update of the package.
> > 
> 
> > Cron itself works, cron.hourly (which is not managed by anacron)
> > works.
> > 
> 
> > I'm continuing to investigate, but I'm inclined to raise the severity.
> 
> Can you check to see if the anacron service is running? Richard Newton replied
> in the thread and said the service was not running after the upgrade and it 
> worked
> after manually starting it.
> 
> The change I made was very small, adding 'TimeoutStopSec=infinity' to the 
> service
> based on an improvement that a user provided. I don't think this caused the 
> issue
> you are seeing.
> 
> I was able to verify that if I manually start the service, the 
> cron.weekly/cron.daily
> are updated with the current time. The upgrade went fine on my end but I 
> would like 
> 
> to track this down.
> 
> Perhaps the issue is that the service was already running when the upgrade 
> happens 
> 
> that the "new" service doesn't start? If so, I could add a preinst script to 
> stop
> the anacron service if it is running.

I started it on Sonday and the monthly stamp file was updated (I had
manully run the weekly jobs including updating the stamp file).
However, after several reboots, anacron gets not restartet:
◈ anacron.service - Run anacron jobs
     Loaded: loaded (/lib/systemd/system/anacron.service; disabled; preset: 
enabled)
     Active: inactive (dead)
       Docs: man:anacron
             man:anacrontab

helge@twentytwo:~$ ls -tlr /var/spool/anacron/
insgesamt 12
-rw------- 1 root root 9 18. Sep 06:22 cron.daily
-rw------- 1 root root 9 18. Sep 06:32 cron.weekly
-rw------- 1 root root 9 18. Sep 08:11 cron.monthly

As you can see, cron.daily is still on Sunday.

So something prevents anacron from starting.

Please tell me what helps tracing this down.

Greetings

        Helge

-- 
      Dr. Helge Kreutzmann                     deb...@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: PGP signature

Reply via email to