Hello community, here is the log from the commit of package cronie for openSUSE:Factory checked in at Tue Jun 7 09:01:59 CEST 2011. -------- --- cronie/cronie.changes 2011-05-11 10:30:10.000000000 +0200 +++ /mounts/work_src_done/STABLE/cronie/cronie.changes 2011-06-06 10:53:50.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Jun 6 08:51:11 UTC 2011 - vcizek@novell.com + +- Mention possibility of disabling logging to syslog in a crontab + manual. +- Better error report, when ^ tried as an unprivileged user + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- cronie-1.4.7-disable_logging.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cronie.spec ++++++ --- /var/tmp/diff_new_pack.EgVkGj/_old 2011-06-07 09:01:13.000000000 +0200 +++ /var/tmp/diff_new_pack.EgVkGj/_new 2011-06-07 09:01:13.000000000 +0200 @@ -30,7 +30,7 @@ AutoReqProv: on PreReq: permissions %fillup_prereq %insserv_prereq cron sysvinit(syslog) Version: 1.4.7 -Release: 11 +Release: 12 %{expand: %%define cronie_version %version} Summary: Cron Daemon Source0: %name-%version.tar.gz @@ -52,6 +52,8 @@ Patch5: %name-crond_pid.diff # PATCH-FIX-UPSTREAM cronie-1.4.7-syslog_output.patch bnc#692871 Patch6: cronie-1.4.7-syslog_output.patch +# PATCH-FIX-UPSTREAM mention logging disabling for a command in man +Patch7: cronie-1.4.7-disable_logging.patch Conflicts: cron <= 4.1 # When finish update protection of sles11 we could uncomment line bellow and drop all # ugly hacks with subpackage cron needed for proper update proces @@ -70,7 +72,7 @@ %package -n cron License: MIT and BSD and GPLv2 Version: 4.2 -Release: 11 +Release: 12 Summary: Auxiliary package Group: System/Daemons Requires: %{name} = %{cronie_version}-%{release} @@ -95,6 +97,7 @@ %patch4 %patch5 -p1 %patch6 -p1 +%patch7 -p1 cp %{S:7} ./cron_to_cronie.README %build ++++++ cronie-1.4.7-disable_logging.patch ++++++ Index: cronie-1.4.7/man/crontab.5 =================================================================== --- cronie-1.4.7.orig/man/crontab.5 +++ cronie-1.4.7/man/crontab.5 @@ -203,6 +203,9 @@ fields. Use the first three letters of day or month (case does not matter). Ranges or lists of names are not allowed. .PP +If the uid of the owner is 0 (root), he can put a "-" as first character of a crontab entry. +This will prevent cron from writing a syslog message about this command getting executed. +.PP The "sixth" field (the rest of the line) specifies the command to be run. The entire command portion of the line, up to a newline or a "%" Index: cronie-1.4.7/src/entry.c =================================================================== --- cronie-1.4.7.orig/src/entry.c +++ cronie-1.4.7/src/entry.c @@ -110,7 +110,7 @@ entry *load_entry(FILE * file, void (*er e->flags |= DONT_LOG; else { log_it("CRON", getpid(), "ERROR", "Only privileged user can disable logging", 0); - ecode = e_option; + ecode = e_minute; goto eof; } ch = get_char(file); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org