Closed tuxslack closed 1 year ago
This was already fixed by #161
Is there any solution to this problem in Void Linux?
2023-11-07T16:01:01.38209 cron.info: Nov 7 13:01:01 CRONIE-CROND[14294]: (root) CMD (run-parts /etc/cron.hourly) 2023-11-07T16:01:01.49304 cron.info: Nov 7 13:01:01 CRONIE-CROND[14293]: (root) CMDOUT (/etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or directory) 2023-11-07T16:01:01.49341 cron.info: Nov 7 13:01:01 CRONIE-CROND[14293]: (root) CMDOUT (run-parts: /etc/cron.hourly/0anacron exited with return code 1)
Thanks
Can you just create an empty /etc/default/anacron file?
cat /var/log/socklog/cron/current | egrep -i "line |exited"
2023-11-02T22:01:01.55380 cron.info: Nov 2 19:01:01 CRONIE-CROND[24771]: (root) CMDOUT (/etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or directory) 2023-11-02T22:01:01.55414 cron.info: Nov 2 19:01:01 CRONIE-CROND[24771]: (root) CMDOUT (run-parts: /etc/cron.hourly/0anacron exited with return code 1) 2023-11-02T23:01:01.44840 cron.info: Nov 2 20:01:01 CRONIE-CROND[2640]: (root) CMDOUT (/etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or directory) 2023-11-02T23:01:01.44857 cron.info: Nov 2 20:01:01 CRONIE-CROND[2640]: (root) CMDOUT (run-parts: /etc/cron.hourly/0anacron exited with return code 1) 2023-11-03T00:01:01.48550 cron.info: Nov 2 21:01:01 CRONIE-CROND[12030]: (root) CMDOUT (/etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or directory) 2023-11-03T00:01:01.48600 cron.info: Nov 2 21:01:01 CRONIE-CROND[12030]: (root) CMDOUT (run-parts: /etc/cron.hourly/0anacron exited with return code 1) 2023-11-03T01:01:01.78345 cron.info: Nov 2 22:01:01 CRONIE-CROND[20459]: (root) CMDOUT (/etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or directory) 2023-11-03T01:01:01.78408 cron.info: Nov 2 22:01:01 CRONIE-CROND[20459]: (root) CMDOUT (run-parts: /etc/cron.hourly/0anacron exited with return code 1) 2023-11-03T02:01:01.82375 cron.info: Nov 2 23:01:01 CRONIE-CROND[30004]: (root) CMDOUT (/etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or directory) 2023-11-03T02:01:01.82409 cron.info: Nov 2 23:01:01 CRONIE-CROND[30004]: (root) CMDOUT (run-parts: /etc/cron.hourly/0anacron exited with return code 1) 2023-11-03T03:01:01.56114 cron.info: Nov 3 00:01:01 CRONIE-CROND[7951]: (root) CMDOUT (/etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or directory) 2023-11-03T03:01:01.56187 cron.info: Nov 3 00:01:01 CRONIE-CROND[7951]: (root) CMDOUT (run-parts: /etc/cron.hourly/0anacron exited with return code 1) 2023-11-03T03:01:01.99271 cron.info: Nov 3 00:01:01 CRONIE-CROND[17919]: (root) CMDOUT (/etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or directory) 2023-11-03T03:01:01.99303 cron.info: Nov 3 00:01:01 CRONIE-CROND[17919]: (root) CMDOUT (run-parts: /etc/cron.hourly/0anacron exited with return code 1) 2023-11-03T04:01:01.07745 cron.info: Nov 3 01:01:01 CRONIE-CROND[27420]: (root) CMDOUT (/etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or directory) 2023-11-03T04:01:01.07815 cron.info: Nov 3 01:01:01 CRONIE-CROND[27420]: (root) CMDOUT (run-parts: /etc/cron.hourly/0anacron exited with return code 1) 2023-11-03T05:01:01.79857 cron.info: Nov 3 02:01:01 CRONIE-CROND[5541]: (root) CMDOUT (/etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or directory) 2023-11-03T05:01:01.79907 cron.info: Nov 3 02:01:01 CRONIE-CROND[5541]: (root) CMDOUT (run-parts: /etc/cron.hourly/0anacron exited with return code 1) 2023-11-03T06:01:01.86629 cron.info: Nov 3 03:01:01 CRONIE-CROND[17376]: (root) CMDOUT (/etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or directory) 2023-11-03T06:01:01.86659 cron.info: Nov 3 03:01:01 CRONIE-CROND[17376]: (root) CMDOUT (run-parts: /etc/cron.hourly/0anacron exited with return code 1) 2023-11-03T14:01:01.25784 cron.info: Nov 3 11:01:01 CRONIE-CROND[18182]: (root) CMDOUT (/etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or directory) 2023-11-03T14:01:01.25798 cron.info: Nov 3 11:01:01 CRONIE-CROND[18182]: (root) CMDOUT (run-parts: /etc/cron.hourly/0anacron exited with return code 1) 2023-11-03T15:01:01.93854 cron.info: Nov 3 12:01:01 CRONIE-CROND[9082]: (root) CMDOUT (/etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or directory) 2023-11-03T15:01:01.93874 cron.info: Nov 3 12:01:01 CRONIE-CROND[9082]: (root) CMDOUT (run-parts: /etc/cron.hourly/0anacron exited with return code 1) 2023-11-03T16:01:01.97433 cron.info: Nov 3 13:01:01 CRONIE-CROND[21266]: (root) CMDOUT (/etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or directory) 2023-11-03T16:01:01.97492 cron.info: Nov 3 13:01:01 CRONIE-CROND[21266]: (root) CMDOUT (run-parts: /etc/cron.hourly/0anacron exited with return code 1) 2023-11-03T17:01:01.57838 cron.info: Nov 3 14:01:01 CRONIE-CROND[32278]: (root) CMDOUT (/etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or directory) 2023-11-03T17:01:01.57897 cron.info: Nov 3 14:01:01 CRONIE-CROND[32278]: (root) CMDOUT (run-parts: /etc/cron.hourly/0anacron exited with return code 1) 2023-11-03T18:01:01.61507 cron.info: Nov 3 15:01:01 CRONIE-CROND[13062]: (root) CMDOUT (/etc/cron.hourly/0anacron: line 11: /etc/default/anacron: No such file or directory) 2023-11-03T18:01:01.61568 cron.info: Nov 3 15:01:01 CRONIE-CROND[13062]: (root) CMDOUT (run-parts: /etc/cron.hourly/0anacron exited with return code 1)
xbps-query -Rs cron
[] cronie-1.7.0_1 Runs specified programs at scheduled times [-] cronutils-1.10_1 Set of tools to assist the reliable running periodic and batch jobs [] dcron-4.5_34 Dillon's lightweight cron daemon [-] fcron-3.3.1_1 Feature-rich cron implementation [-] incron-0.5.12_3 Daemon that executes commands due to inotify events [-] kcron-23.08.0_1 KDE Configure and schedule tasks [-] micronucleus-2.5_1 Upload tool for the Micronucleus avr bootloader [-] mpdcron-0.3_1 Program for mpd which can execute scripts based on idle events [-] scron-0.4_3 Simple cron daemon [-] tinycron-0.4_14 Very small replacement for cron
ls -l /usr/bin/anacron
-rwxr-xr-x 1 root root 39080 out 17 04:30 /usr/bin/anacron
ls -l /etc/cron.hourly/0anacron
-rwxr-xr-x 1 root root 798 out 17 04:30 /etc/cron.hourly/0anacron
cat -n /etc/cron.hourly/0anacron
ls -l /etc/default/anacron
ls: não foi possível acessar '/etc/default/anacron': Arquivo ou diretório inexistente
xbps-query -S cronie
alternatives: crond: crond:/etc/sv/cronie crond:/usr/bin/cronie-crond crontab:/usr/bin/cronie-crontab crontab.1:/usr/share/man/man1/cronie-crontab.1 crond.8:/usr/share/man/man8/cronie-crond.8 architecture: x86_64 changelog: https://raw.githubusercontent.com/cronie-crond/cronie/master/NEWS conf_files: /etc/anacrontab /etc/pam.d/crond /etc/cron.deny filename-sha256: fc63f165b30ff9541ee2749212207ec27dce9091185aea5eade1b0e547266a1b filename-size: 90KB homepage: https://github.com/cronie-crond/cronie install-date: 2023-11-03 15:26 -03 install-script: 1025B installed_size: 271KB license: BSD-2-Clause maintainer: Orphaned orphan@voidlinux.org metafile-sha256: 3289f8d34210114f6712e0a3c0ce2085541e7111bc0561d319ea41f3126e7b65 pkgname: cronie pkgver: cronie-1.7.0_1 provides: cron-daemon-0_1 remove-script: 1024B repository: https://repo-default.voidlinux.org/current run_depends: glibc>=2.36_1 pam-libs>=1.1.6_3 run-parts>=0 shlib-requires: libc.so.6 libpam.so.0 short_desc: Runs specified programs at scheduled times source-revisions: cronie:739c6e8d9b9 state: installed