Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480436 - virtual/cron: use cronie as first option instead of vixie-cron
Summary: virtual/cron: use cronie as first option instead of vixie-cron
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Cron Team
URL:
Whiteboard:
Keywords:
: 494182 (view as bug list)
Depends on: 497394
Blocks:
  Show dependency tree
 
Reported: 2013-08-09 21:32 UTC by Pacho Ramos
Modified: 2015-07-23 07:06 UTC (History)
6 users (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 Pacho Ramos gentoo-dev 2013-08-09 21:32:50 UTC
It can replace vixie-cron easily and is actively developed by upstream, while vixie-cron looks to be stalled. Then, I think cronie should be the first option

Thanks
Comment 1 Sergey Popov gentoo-dev 2013-11-04 12:23:12 UTC
+1 for this, simple tests discovers no problems with cronie. And i use it on regular basis for couple of monthes or so.
Comment 2 Sergey Popov gentoo-dev 2013-12-19 12:50:24 UTC
*** Bug 494182 has been marked as a duplicate of this bug. ***
Comment 3 Pacho Ramos gentoo-dev 2013-12-19 20:45:25 UTC
Will commit it next week if nobody disagrees
Comment 4 Holger Hoffstätte 2013-12-27 12:27:27 UTC
Several people have noticed rather increased log spamming since cronie b y default (?) goes through pam, and therefore every 5-10 minutes spams auth.log.

Other distributions had the same problem, but commonly found solutions from Ubuntu- and Fedora forums are all mostly wrong, misleading or don't apply.

Instead of massively complicated & fragile post-log filtering it is IMHO better to prevent this in the first place (if cron is not authorized yiu have more severe problems anyway..), so I dug into PAM and fixed it thus:

$cat /etc/pam.d/crond 
#
# The PAM configuration file for the cron daemon
#
#
auth       include    system-auth
account    required   pam_access.so
account    include    system-auth
session    required   pam_loginuid.so
session    sufficient pam_succeed_if.so service in crond quiet use_uid
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
session    include    system-auth

The marked line is new and silences PAM logging without completely disabling it. Maybe some one who really understands the PAM auth chain can improve on this before it becomes the default.
Comment 5 Pacho Ramos gentoo-dev 2014-01-03 11:19:14 UTC
I haven't noticed that increase in logging, anyway, you should open a separate bug report against cronie
Comment 6 SpanKY gentoo-dev 2015-07-23 07:06:11 UTC
this was landed with virtual/cron-0-r1 so there's nothing left here

if you have issues with cronie itself, please file a new bug