Your message dated Sun, 8 May 2022 16:09:45 +0200
with message-id <YnfPKdeMZK1wnSU/@georges.khaznadar.fr>
and subject line this bug is currently fixed
has caused the Debian Bug report #933396,
regarding cron: @reboot options never run in user crontab or /etc/crontab 
although service is running
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
933396: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933396
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cron
Version: 3.0pl1-134
Severity: important

Dear Maintainer,



I have installed Buster and it is all quite fresh. My root file system is
encrypted.
I added two commands to crontab both as root user (sudo crontab -e) and in
/etc/crontab but neither is working

@reboot root iwconfig wlp3s0 txpower 10
@reboot root echo Logged time = %time% %date% >> /home/marc/log.txt

when adding to the user version of crontab I exclude the root username. The
log.txt file is missing from my system.

M



-- Package-specific info:
--- EDITOR:


--- /usr/bin/editor:
/usr/bin/nano

--- /usr/bin/crontab:
-rwxr-sr-x 1 root crontab 43568 Jun 23 19:49 /usr/bin/crontab

--- /var/spool/cron:
drwxr-xr-x 3 root root 4096 Jul 27 17:37 /var/spool/cron

--- /var/spool/cron/crontabs:
drwx-wx--T 2 root crontab 4096 Jul 30 10:16 /var/spool/cron/crontabs

--- /etc/cron.d:
drwxr-xr-x 2 root root 4096 Jul 27 17:50 /etc/cron.d

--- /etc/cron.daily:
drwxr-xr-x 2 root root 4096 Jul 27 18:56 /etc/cron.daily

--- /etc/cron.hourly:
drwxr-xr-x 2 root root 4096 Jul 27 17:34 /etc/cron.hourly

--- /etc/cron.monthly:
drwxr-xr-x 2 root root 4096 Jul 27 17:50 /etc/cron.monthly

--- /etc/cron.weekly:
drwxr-xr-x 2 root root 4096 Jul 27 17:50 /etc/cron.weekly


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cron depends on:
ii  adduser              3.118
ii  debianutils          4.8.6.3
ii  init-system-helpers  1.57
ii  libc6                2.28-10
ii  libpam-runtime       1.3.1-5
ii  libpam0g             1.3.1-5
ii  libselinux1          2.8-1+b1
ii  lsb-base             10.2019051400
ii  sensible-utils       0.0.12

Versions of packages cron recommends:
pn  default-mta | mail-transport-agent  <none>

Versions of packages cron suggests:
ii  anacron        2.3-29
pn  checksecurity  <none>
ii  logrotate      3.14.0-4

Versions of packages cron is related to:
pn  libnss-ldap   <none>
pn  libnss-ldapd  <none>
pn  libpam-ldap   <none>
pn  libpam-mount  <none>
pn  nis           <none>
pn  nscd          <none>

-- Configuration Files:
/etc/crontab changed:
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts 
--report /etc/cron.daily )
47 6    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts 
--report /etc/cron.weekly )
52 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts 
--report /etc/cron.monthly )
@reboot root iwconfig wlp3s0 txpower 10
@reboot root echo Logged time = %time% %date% >> /home/marc/log.txt


-- no debconf information

--- End Message ---
--- Begin Message ---
The debian source package features a patch:
debian/patches/fixes/Dont-run-reboot-jobs-on-restart.patch which fixes
the issue.

I shall close the bug report, please reopen it if necessary.

-- 
Georges KHAZNADAR et Jocelyne FOURNIER
22 rue des mouettes, 59240 Dunkerque France.
Téléphone +33 (0)3 28 29 17 70

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to