public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - [RGMANAGER] Resolves #483093 - samba.sh tries to kill the wrong pid file
@ 2009-02-02 16:57 Marek Grác
  0 siblings, 0 replies; only message in thread
From: Marek Grác @ 2009-02-02 16:57 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=9bd2e6a7409a838a35d6534bcde1f4c505d4bf28
Commit:        9bd2e6a7409a838a35d6534bcde1f4c505d4bf28
Parent:        2dc729048af6ee3a0491a637b51f5631b9dd63b5
Author:        Marek 'marx' Grac <mgrac@redhat.com>
AuthorDate:    Mon Feb 2 17:52:11 2009 +0100
Committer:     Marek 'marx' Grac <mgrac@redhat.com>
CommitterDate: Mon Feb 2 17:56:36 2009 +0100

[RGMANAGER] Resolves #483093 - samba.sh tries to kill the wrong pid file

Resource agent was using old pid file naming schema. Now it is 'smbd-$config_filename.pid'.
Old schema was valid in RHEL4
---
 rgmanager/src/resources/samba.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rgmanager/src/resources/samba.sh b/rgmanager/src/resources/samba.sh
index 1990803..81fd8cb 100644
--- a/rgmanager/src/resources/samba.sh
+++ b/rgmanager/src/resources/samba.sh
@@ -13,8 +13,8 @@ declare SAMBA_SMBD=/usr/sbin/smbd
 declare SAMBA_NMBD=/usr/sbin/nmbd
 declare SAMBA_pid_dir="`generate_name_for_pid_dir`"
 declare SAMBA_conf_dir="`generate_name_for_conf_dir`"
-declare SAMBA_smbd_pid_file="$SAMBA_pid_dir/smbd.pid"
-declare SAMBA_nmbd_pid_file="$SAMBA_pid_dir/nmbd.pid"
+declare SAMBA_smbd_pid_file="$SAMBA_pid_dir/smbd-smb.conf.pid"
+declare SAMBA_nmbd_pid_file="$SAMBA_pid_dir/nmbd-smb.conf.pid"
 declare SAMBA_gen_config_file="$SAMBA_conf_dir/smb.conf"
 
 verify_all()


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-02 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-02 16:57 cluster: STABLE3 - [RGMANAGER] Resolves #483093 - samba.sh tries to kill the wrong pid file Marek Grác

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).