From: Volker Lendecke Date: Mon, 19 May 2008 14:08:04 +0000 (+0200) Subject: Do not call testparm in /etc/init.d/smb X-Git-Tag: samba-3.3.0pre1~200 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=285d55d2a273f18ec9b84011c74a8099cba193c2;p=thirdparty%2Fsamba.git 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 --- diff --git a/packaging/RHEL-CTDB/setup/smb.init b/packaging/RHEL-CTDB/setup/smb.init index af85b2c079a..4dd5b23ae7b 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