rpms/cronie/F-12 cronie-service-stop.patch, NONE, 1.1 cronie.spec, 1.27, 1.28

Marcela Mašláňová mmaslano at fedoraproject.org
Mon Oct 19 13:02:08 UTC 2009


Author: mmaslano

Update of /cvs/pkgs/rpms/cronie/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22538

Modified Files:
	cronie.spec 
Added Files:
	cronie-service-stop.patch 
Log Message:
* Mon Oct 19 2009 Marcela Mašláňová <mmaslano at redhat.com> - 1.4.2-2
- 529632 service crond stop returns appropriate value


cronie-service-stop.patch:
 cronie.init |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- NEW FILE cronie-service-stop.patch ---
>From 1a732d69938788dde2f1a8bf3ae1b9dc48d10c99 Mon Sep 17 00:00:00 2001
From: HONDA Hirofumi <honda.hirofumi at oss.ntt.co.jp>
Date: Mon, 19 Oct 2009 12:25:15 +0200
Subject: [PATCH] When parent crond is stopped and child crond (executing program) is running,"service crond status" reports "crond (pid  XXX) is running...".
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Marcela Mašláňová <mmaslano at redhat.com>
---
 cronie.init |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cronie.init b/cronie.init
index 0d98159..446607e 100755
--- a/cronie.init
+++ b/cronie.init
@@ -88,7 +88,7 @@ force_reload() {
 
 rh_status() {
     # run checks to determine if the service is running or use generic status
-    status $prog
+    status -p /var/run/crond.pid $prog
 }
 
 rh_status_q() {
-- 
1.6.5.rc2



Index: cronie.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cronie/F-12/cronie.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -p -r1.27 -r1.28
--- cronie.spec	12 Oct 2009 10:26:32 -0000	1.27
+++ cronie.spec	19 Oct 2009 13:02:07 -0000	1.28
@@ -6,11 +6,12 @@
 Summary: Cron daemon for executing programs at set times
 Name: cronie
 Version: 1.4.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MIT and BSD and GPLv2
 Group: System Environment/Base
 URL: https://fedorahosted.org/cronie
 Source0: https://fedorahosted.org/releases/c/r/cronie/%{name}-%{version}.tar.gz
+Patch0:	cronie-service-stop.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires: syslog, bash >= 2.0
@@ -58,6 +59,7 @@ overloaded in settings.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 
@@ -173,6 +175,9 @@ cp -a /var/lock/subsys/crond /var/lock/s
 %{_mandir}/man8/anacron.*
 
 %changelog
+* Mon Oct 19 2009 Marcela Mašláňová <mmaslano at redhat.com> - 1.4.2-2
+- 529632 service crond stop returns appropriate value
+
 * Mon Oct 12 2009 Marcela Mašláňová <mmaslano at redhat.com> - 1.4.2-1
 - new release
 




More information about the fedora-extras-commits mailing list