Hello community, here is the log from the commit of package acct for openSUSE:Factory checked in at Mon Mar 7 15:45:13 CET 2011. -------- --- acct/acct.changes 2009-12-23 21:23:12.000000000 +0100 +++ /mounts/work_src_done/STABLE/acct/acct.changes 2011-03-03 15:44:04.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Mar 3 14:44:35 UTC 2011 - lchiquitto@novell.com + +- fix initscript's force-reload action to reload the service only + if it is running [bnc#667437] + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ acct.spec ++++++ --- /var/tmp/diff_new_pack.KImXlQ/_old 2011-03-07 15:43:37.000000000 +0100 +++ /var/tmp/diff_new_pack.KImXlQ/_new 2011-03-07 15:43:37.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package acct (Version 6.3.5) +# spec file for package acct # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ PreReq: %insserv_prereq %fillup_prereq fileutils %install_info_prereq AutoReqProv: on Version: 6.3.5 -Release: 818 +Release: 829 Source: %{name}-%{version}.tar.bz2 Source1: rc.acct Source2: logrotate.acct ++++++ rc.acct ++++++ --- /var/tmp/diff_new_pack.KImXlQ/_old 2011-03-07 15:43:37.000000000 +0100 +++ /var/tmp/diff_new_pack.KImXlQ/_new 2011-03-07 15:43:37.000000000 +0100 @@ -79,8 +79,12 @@ ## Stop the service and if this succeeds (i.e. the ## service was running before), start it again. ## Note: try-restart is not (yet) part of LSB (as of 0.7.5) - $0 status >/dev/null && $0 restart - + $0 status > /dev/null + if test $? = 0; then + $0 restart + else + rc_reset + fi # Remember status and be quiet rc_status ;; @@ -97,9 +101,9 @@ ## Signal the daemon to reload its config. Most daemons ## do this on signal 1 (SIGHUP). ## If it does not support it, restart. + $0 try-restart - echo -n "Reload process accounting" - $0 stop && $0 start + # Remember status and be quiet rc_status ;; reload) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org