Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 583528

Summary: sys-process/vixie-cron: provide log level selection
Product: Gentoo Linux Reporter: Artem <e-pirate>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED OBSOLETE    
Severity: enhancement CC: cron-bugs+disabled, treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Deadline: 2019-10-11   
Attachments: Full set of files

Description Artem 2016-05-19 21:47:19 UTC
Created attachment 434744 [details]
Full set of files

The adopted Debian patch for vixie-cron 4.1 that make it possible to select what events will be logged. Modified init.d script, corresponding conf.d file and updated ebuild are included. ebuild needs selinux patch fix (I don't use it so wasn't able to build vixie-cron with it to fix the patch, so with this ebuild vixie-cron will fail to build because of selinux patch fail to apply).

This patch allows to set what event types will be logged and written to syslog. Current events are:
0   no logging (errors are logged regardless)
1   log start of jobs
2   log end of jobs
4   log jobs with exit status != 0
8   log the process identifier of child process (in all logs) 

The log level is the sum of desired event numbers.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-10-11 15:07:57 UTC
Package removed.