From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev+bounces-64019-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 110F3138247
	for <garchives@archives.gentoo.org>; Wed, 25 Dec 2013 14:43:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B903AE0ACD;
	Wed, 25 Dec 2013 14:43:41 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id BD4E1E0A9B
	for <gentoo-dev@lists.gentoo.org>; Wed, 25 Dec 2013 14:43:40 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
	by smtp.gentoo.org (Postfix) with ESMTP id EC7B133F63D
	for <gentoo-dev@lists.gentoo.org>; Wed, 25 Dec 2013 14:43:39 +0000 (UTC)
X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org
X-Spam-Flag: NO
X-Spam-Score: -1.493
X-Spam-Level:
X-Spam-Status: No, score=-1.493 tagged_above=-999 required=5.5
	tests=[AWL=-0.941, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.55,
	SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1])
	by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id xMbBDSAzPpZj for <gentoo-dev@lists.gentoo.org>;
	Wed, 25 Dec 2013 14:43:34 +0000 (UTC)
Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 1D44333F639
	for <gentoo-dev@gentoo.org>; Wed, 25 Dec 2013 14:43:33 +0000 (UTC)
Received: from list by plane.gmane.org with local (Exim 4.69)
	(envelope-from <lnx-gentoo-dev@m.gmane.org>)
	id 1VvpgF-0001Rx-S9
	for gentoo-dev@gentoo.org; Wed, 25 Dec 2013 15:43:27 +0100
Received: from ip68-231-22-224.ph.ph.cox.net ([68.231.22.224])
        by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-dev@gentoo.org>; Wed, 25 Dec 2013 15:43:27 +0100
Received: from 1i5t5.duncan by ip68-231-22-224.ph.ph.cox.net with local (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <gentoo-dev@gentoo.org>; Wed, 25 Dec 2013 15:43:27 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: gentoo-dev@lists.gentoo.org
From: Duncan <1i5t5.duncan@cox.net>
Subject: [gentoo-dev] Re: Recommend cronie instead of vixie-cron in handbook?
Date: Wed, 25 Dec 2013 14:43:06 +0000 (UTC)
Message-ID: <pan$e2f97$ebafd453$3ad45b9e$fd39e478@cox.net>
References:  <1386708905.1931.2.camel@belkin5>
	<0afb01cef617$3d667a90$b8336fb0$@acm.org> <52A8BC3F.3020905@gentoo.org>
	<CAJ0EP41SMi26bK_i3sJmpb2MHkY8nX9Ry80q3NLuMWYaptMJVQ@mail.gmail.com>
	<52AC931B.8020609@gentoo.org>
	<CANWzcUq+T_YboOYs4n3jhLSOySCDwWCUC7-4nOVxqO5rDu0rqg@mail.gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: ip68-231-22-224.ph.ph.cox.net
User-Agent: Pan/0.140 (Chocolate Salty Balls; GIT 7161f50
 /usr/src/portage/src/egit-src/pan2)
X-Archives-Salt: 59e45261-5a50-4d09-af1d-50b8be1a6b95
X-Archives-Hash: 0805ee2ba9effc93ef0755a18a2d33f3

Alice Ferrazzi posted on Wed, 25 Dec 2013 15:38:42 +0900 as excerpted:

> On Sun, Dec 15, 2013 at 2:19 AM, Michael Orlitzky <mjo@gentoo.org>
> wrote:
>> rc-update del vixie-cron default
>> /etc/init.d/vixie-cron stop
>> emerge -C vixie-cron
>> emerge cronie
>> rc-update add cronie default
>> /etc/init.d/cronie start
> 
> I Just did the same, is simple and "drop-in"

I did it too, a few days ago.

TL;DR: Drop-in but for the log-spamming. =:^(

While cronie itself was simple and drop-in for vixie-cron, it DID start 
rather severely log-spamming, IIRC four log-lines every 10 minutes when 
the run-crons ran.  As a result, while the functionality was drop-in 
replacement, for the system as a whole it wasn't purely a drop-in 
replacement, as I had to adjust logging somewhat to kill the spamming.

An update tweak to my syslog-ng.conf category-cron filter later, and I 
was down to a single log entry in the general messages log every ten 
minutes, the other three diverted to my separate cron log.

The  remaining one was an audit entry (type=1006) output by the kernel.  
Of course I could filter that out or divert it to the cron log too, but 
first I needed to know the significance.  After all, it's not often I get 
the kernel outputting audit entries.

A bit of googling later, I found that the type 1006 audit entries I was 
getting were AUDIT_LOGIN related, due to the way cron changes user to run 
its various programmed entries.  Of course one can turn off the kernel's 
corresponding audit options, but that affects other things too.  
Meanwhile, the google turned up some RHEL/Fedora complaints about 
something similar.  Apparently in this case the kernel defaults to log-
spamming even if audit logging is generally deactivated.  I could try 
installing an audit tool and configure it to turn that off specifically, 
but meh, just set a syslog filter for it; the effect is the same either 
way.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman