Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 452970 - >=sys-process/cronie-1.4.8 ignores /etc/crontab
Summary: >=sys-process/cronie-1.4.8 ignores /etc/crontab
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 453364
Blocks:
  Show dependency tree
 
Reported: 2013-01-19 13:35 UTC by Dave Armstrong
Modified: 2013-01-23 17:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Armstrong 2013-01-19 13:35:54 UTC
Tested versions 1.4.8 and 1.4.9.  Cronie seems to ignore the system-wide crontab in /etc/crontab (installed by the same package no less).  Creating a crontab for the root user (/var/spool/cron/crontabs/root) with the same contents as /etc/crontab but without the USER field entries (i.e., "root" is stripped from the fields) was necessary to preserved the original behavior. 

From crontab(5) of sys-process/cronie-1.4.9:

"The jobs in cron.d and /etc/crontab are system jobs, which are used usually for more than one user, thus, additionally the username is needed."
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-01-19 17:44:01 UTC
+*cronie-1.4.9-r1 (19 Jan 2013)
+
+  19 Jan 2013; Lars Wendler <polynomial-c@gentoo.org> -cronie-1.4.8-r1.ebuild,
+  -cronie-1.4.9.ebuild, +cronie-1.4.9-r1.ebuild:
+  Make cronie use /etc/crontab again. Thanks to Dave Armstrong who reported
+  this in bug #452970.
+
Please test cronie-1.4.9-r1 and report back if that fixes the problem for you. If yes I will request that version to become stabilized ASAP.
Comment 2 Sergey Popov gentoo-dev 2013-01-21 18:39:17 UTC
1.4.9-r1 uses system crontab properly
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-01-23 17:31:40 UTC
(In reply to comment #2)
> 1.4.9-r1 uses system crontab properly

Thanks for reporting back :)