This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

resource-agents: master - [RGMANAGER] Resolves #483093 - samba.shtries to kill the wrong pid file


Gitweb:        http://git.fedorahosted.org/git/resource-agents.git?p=resource-agents.git;a=commitdiff;h=9c68101faee7da5dbcb2638880924f8ca23bc750
Commit:        9c68101faee7da5dbcb2638880924f8ca23bc750
Parent:        de80a028c484a8445815770ba41a18bd8bd900aa
Author:        Marek 'marx' Grac <mgrac@redhat.com>
AuthorDate:    Mon Feb 2 17:43:11 2009 +0100
Committer:     Marek 'marx' Grac <mgrac@redhat.com>
CommitterDate: Mon Feb 2 17:43: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'
---
 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()


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]