Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1133741
| From | Richard Rosner <rrosner@fsmuw.rwth-aachen.de> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1029140: cron-apt refuses to run when RUNSLEEP is set |
| Date | 2023-01-18 15:20 +0100 |
| Message-ID | <FPhsd-1iaS-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Package: cron-apt
Version: 0.13.0.1
Severity: important
X-Debbugs-Cc: submit@bugs.debian.org
Dear Maintainer,
when running cron-apt as shipped it works normal, running at 4 am and sending an email when anything can be updated. But when adding the recommended RUNSLEEP variable to the config, the only thing that happens is throwing a kernel error at 4 am:
2022-12-19T04:00:01.425628+01:00 ts CRON[75874]: (root) CMD (test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt)
2022-12-19T04:00:01.468596+01:00 ts kernel: [276052.628108] traps: cksum[75885] trap invalid opcode ip:562d9fe03cf5 sp:7ffd9b53fe20 error:0 in cksum[562d9fded000+17000]
2022-12-19T04:00:02.525060+01:00 ts sSMTP[75887]: Sent mail for root@ts.domain.de (221 mailserver.de) uid=0 username=root outbytes=691
Even though it says a mail is sent, it's not received. Since cron-apt clearly doesn't run at all, that might be the reason. Running cron-apt manually with RUNSLEEP set with "cron-apt -s" works without problems.
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.0.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages cron-apt depends on:
ii apt 2.5.4
Versions of packages cron-apt recommends:
ii cron [cron-daemon] 3.0pl1-156
ii liblockfile1 1.17-1+b1
ii ssmtp [mail-transport-agent] 2.64-11
cron-apt suggests no packages.
-- Configuration Files:
/etc/cron-apt/config changed:
APTCOMMAND=/usr/bin/apt-get
MAILTO="administrator@fsmuw.rwth-aachen.de"
MAILON=upgrade
SYSLOGON=always
#RUNSLEEP=3600
-- no debconf information
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#1029140: cron-apt refuses to run when RUNSLEEP is set Richard Rosner <rrosner@fsmuw.rwth-aachen.de> - 2023-01-18 15:20 +0100
Bug#1029140: cron-apt refuses to run when RUNSLEEP is set Ola Lundqvist <ola@inguza.com> - 2023-01-23 22:20 +0100
Bug#1029140: cron-apt refuses to run when RUNSLEEP is set "Richard Rosner" <rrosner@fsmuw.rwth-aachen.de> - 2023-01-23 23:40 +0100
Bug#1029140: cron-apt refuses to run when RUNSLEEP is set Ola Lundqvist <ola@inguza.com> - 2023-01-24 09:20 +0100
csiph-web