Bug#767951: systemd-cron: "crontab -r user" will remove root crontab
Alexandre Detiste
alexandre.detiste at gmail.com
Mon Nov 3 16:40:28 GMT 2014
Package: systemd-cron
Version: 1.3.4-1
Severity: important
Dear Maintainer,
I've discovered that deluser from the adduser package will call crontab
with unexpected parameters [1, L351], that doesn't match the one documented
in vixie's crontab manpage [2].
As a result, "crontab -r someuser" will instead allways remove root's crontab
(/var/spool/cron/crontabs/root)
As the behaviour expected by adduser/deluser might be expected elsewhere,
this has to be fixed in systemd-cron's crontab.
[1]
http://anonscm.debian.org/viewvc/adduser/trunk/deluser?revision=833&view=markup
[2] http://linux.die.net/man/1/crontab
Alexandre Detiste
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing'), (200, 'unstable'), (120, 'buildd-unstable'),
(110, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16-3-amd64 (SMP w/6 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages systemd-cron depends on:
ii init-system-helpers 1.21
ii python3 3.4.2-1
ii systemd-sysv 215-5+b1
systemd-cron recommends no packages.
systemd-cron suggests no packages.
-- Configuration Files:
/etc/crontab changed [not included]
More information about the Pkg-systemd-maintainers
mailing list