Package: samba 
Version: 3.0.26a-1
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu ubuntu-patch hardy


If the samba configuration is broken, the postinst script fails. I've attached
a patch that add true as the error-handler when restarting samba.

First reported in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/85194

diff -pruN 3.0.26a-1/debian/rules 3.0.26a-1ubuntu2/debian/rules
--- 3.0.26a-1/debian/rules      2007-10-04 09:08:53.000000000 +0100
+++ 3.0.26a-1ubuntu2/debian/rules       2007-10-04 09:08:11.000000000 +0100
@@ -205,7 +206,7 @@ binary-arch: build install
        dh_installexamples
        dh_installlogrotate
        dh_installlogcheck
-       DH_OPTIONS= dh_installinit -psamba -- "defaults 20 19"
+       DH_OPTIONS= dh_installinit -psamba --error-handler=true -- "defaults 20 
19"
        DH_OPTIONS= dh_installinit -pwinbind
        dh_installcron 
        for pkg in samba smbfs winbind; do \

Reply via email to