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

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=2581f0d781390fe243355641ec0351cb56c16ad3
Commit:        2581f0d781390fe243355641ec0351cb56c16ad3
Parent:        0c637449a093e45aea57bbd2c8027674be7ad982
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:52:11 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 70ea17f..da9a9e6 100755
--- a/rgmanager/src/resources/samba.sh
+++ b/rgmanager/src/resources/samba.sh
@@ -36,8 +36,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:54 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:54 cluster: RHEL5 - [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).