reopen 1019554 found 1019554 2.3-35 thanks Hello Lance, On Wed, Sep 21, 2022 at 01:40:18PM +0000, Lance Lin wrote: > > As you can see, cron.daily is still on Sunday. > > > > > So something prevents anacron from starting. > > > > > Please tell me what helps tracing this down. > > I think Roy Clark's email on this list found the problem. > > Someone had reported that there were dangling symlinks for the timer and > service. They > suggested I should revert the anacron.postrm to the -32 version. I've made > this change and > it is currently pushed to Debian testing. > > Perhaps you could wait a few days until it is in unstable, or try the testing > version, to > see if this fixes your issue? > > Sorry for the inconvenience. I appreciate the report and help and hope this > addresses the issue.
I received the update on monday (in testing), however, stamp files are not updated: ls -ltr /var/spool/anacron/ insgesamt 12 -rw------- 1 root root 9 18. Sep 08:11 cron.monthly -rw------- 1 root root 9 25. Sep 06:38 cron.daily -rw------- 1 root root 9 25. Sep 06:39 cron.weekly (I had updated daily/weekly manually on sunday). Is there something I need to do additionally? root@twentytwo:~# systemctl status anacron.service ◈ anacron.service - Run anacron jobs Loaded: loaded (/lib/systemd/system/anacron.service; disabled; preset: enabled) Active: inactive (dead) Docs: man:anacron man:anacrontab In syslog I see … Sep 29 18:30:01 twentytwo CRON[5114]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi) Sep 29 19:30:01 twentytwo CRON[8138]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi) Sep 29 20:30:01 twentytwo CRON[11425]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi) /etc/init.d/anacron exists, /run/systemd/system is a directory. If I issue the command manually, namely: I get no output, however: • anacron.service - Run anacron jobs Loaded: loaded (/lib/systemd/system/anacron.service; disabled; preset: enabled) Active: active (running) since Thu 2022-09-29 21:03:33 CEST; 11s ago Docs: man:anacron man:anacrontab Main PID: 15251 (anacron) Tasks: 1 (limit: 37643) Memory: 320.0K CPU: 1ms CGroup: /system.slice/anacron.service └─15251 /usr/sbin/anacron -d -q -s Sep 29 21:03:33 twentytwo systemd[1]: Started Run anacron jobs. Sep 29 21:03:33 twentytwo anacron[15251]: Anacron 2.3 started on 2022-09-29 Sep 29 21:03:33 twentytwo anacron[15251]: Will run job `cron.daily' in 5 min. Sep 29 21:03:33 twentytwo anacron[15251]: Jobs will be executed sequentially and after five minutes: root@twentytwo:/var/log# systemctl status anacron.service ◈ anacron.service - Run anacron jobs Loaded: loaded (/lib/systemd/system/anacron.service; disabled; preset: enabled) Active: inactive (dead) Docs: man:anacron man:anacrontab Sep 29 21:03:33 twentytwo systemd[1]: Started Run anacron jobs. Sep 29 21:03:33 twentytwo anacron[15251]: Anacron 2.3 started on 2022-09-29 Sep 29 21:03:33 twentytwo anacron[15251]: Will run job `cron.daily' in 5 min. Sep 29 21:03:33 twentytwo anacron[15251]: Jobs will be executed sequentially Sep 29 21:08:33 twentytwo anacron[15251]: Job `cron.daily' started Sep 29 21:08:33 twentytwo anacron[15484]: Updated timestamp for job `cron.daily' to 2022-09-29 Sep 29 21:08:33 twentytwo anacron[15251]: Job `cron.daily' terminated Sep 29 21:08:33 twentytwo anacron[15251]: Normal exit (1 job run) Sep 29 21:08:33 twentytwo systemd[1]: anacron.service: Deactivated successfully. And now the stamp file is updated: helge@twentytwo:~$ ls -tlr /var/spool/anacron/ insgesamt 12 -rw------- 1 root root 9 18. Sep 08:11 cron.monthly -rw------- 1 root root 9 25. Sep 06:39 cron.weekly -rw------- 1 root root 9 29. Sep 21:08 cron.daily I'll check tomorrow after the next reboot, if anacron starts and updates the stamp files but itself. If yes, I of course close this bug (again). Greetings Helge 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/
signature.asc
Description: PGP signature