Bug#1062357: systemd-cron: broken result mailing implementation
Martin-Éric Racine
martin-eric.racine at iki.fi
Thu Feb 1 07:07:31 GMT 2024
Package: systemd-cron
Version: 2.3.0-1~bpo12+1
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
1) In its current form, systemd-cron mails the result of global cron jobs from root at fqdn, which fails since we aren't FQDN's administrator.
2) As a result, systemd-cron tries to notify the administrator of the failed delivery, but does so from a non-existent mail account _cron-failure, which thus also fails.
Fixing this requires systemd-cron to support the SENDFROM variable.
- -- Package-specific info:
- -- System Information:
Debian Release: 12.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-17-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages systemd-cron depends on:
ii cron-daemon-common 3.0pl1-162
ii libc6 2.36-9+deb12u4
ii libssl3 3.0.11-1~deb12u2
ii libstdc++6 12.2.0-14
ii systemd [systemd-sysusers] 252.19-1~deb12u1
ii systemd-sysv 252.19-1~deb12u1
systemd-cron recommends no packages.
Versions of packages systemd-cron suggests:
ii nullmailer [mail-transport-agent] 1:2.2-4
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmW7QzMACgkQrh+Cd8S0
17bN9A//bzMRtMlJqd2WplMmaKQAoTPxzOa/atj8etNtNcuukBqz/UrEXOpN0mIY
8PX6gtMjbqDbXjmkkkGHNIwgQhmjn+XOfQBm7emHQ0dbbIbILE5nL6NBSe9mLjW4
8nQp3ayAKmgS3BCdtWyyoWaY5K9ifdeM4rK5gphshC2nQ9sZ/++VtzG1x8uBfnBc
HW4ixPxrm2yhz2WLP3tzSGW6wV0Xs4QnJtwXhQROJZFH+6scV/n9KVeoqB+q/xBB
JaAnfk7s8GH9P6oU+Y6t3fglEAPudT7Rrwty47mL4CXzDdJU/LWFo5ykTy7BNPW/
8f7qDlb2Yj+/y6EYMqz6Wsu80rg4SQA4Xm+I/8Kd6BiqZqSgCaXbioR6A4U3u76V
vBooi6+oT/StVk8n6xXh6xU1vkya/JV30nJMeyCixEJRsuVy48zah68mgcNLqKUu
CoYhgzRV0XnCnT8Jww1qdY3uZdLqbTvE8ezkH8BHZb1aDj6I24deS6a4eFJqQaSP
nAuI5IJsgyMc5RMocI6LETtxEpf420upllXd6VfajrAU9dA68EzemxoBkGaDpPqm
hYj5xyz3VuOMz2Z+eXrK/W30Lo98jXxrijDYPvbEJCqlApSC0VATKze/IdXgjaal
xPUmkQlFZGBNfF7hsWQhQXCP0rQ/t8qkWTKL2jFsJlG3t6bWtrM=
=B0xd
-----END PGP SIGNATURE-----
More information about the Pkg-systemd-maintainers
mailing list