From c6ecbd92abc02018058a9cba72240044eca63578 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 19 May 2008 16:08:04 +0200 Subject: Do not call testparm in /etc/init.d/smb For SOFS, we do know that we have netbios disabled, and testparm in the ctdb shutdown event locks up due to a locked registry.tdb (This used to be commit 285d55d2a273f18ec9b84011c74a8099cba193c2) --- packaging/RHEL-CTDB/setup/smb.init | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packaging/RHEL-CTDB/setup/smb.init b/packaging/RHEL-CTDB/setup/smb.init index af85b2c079..4dd5b23ae7 100644 --- a/packaging/RHEL-CTDB/setup/smb.init +++ b/packaging/RHEL-CTDB/setup/smb.init @@ -38,11 +38,12 @@ fi [ -w /etc/samba/smb.conf ] || exit 0 # Check whether "netbios disabled" is true -ISNETBIOSDISABLED=$(testparm -s 2>/dev/null | \ - sed -n '/\[global\]/,/^$/p' | \ - grep "disable netbios = Yes" | \ - awk 'BEGIN{FS=" = "}{print $2}') +#ISNETBIOSDISABLED=$(testparm -s 2>/dev/null | \ +# sed -n '/\[global\]/,/^$/p' | \ +# grep "disable netbios = Yes" | \ +# awk 'BEGIN{FS=" = "}{print $2}') +ISNETBIOSDISABLED=Yes RETVAL=0 -- cgit