From: Russ Allbery Date: Sat, 15 Apr 2006 18:34:45 +0000 (+0000) Subject: * Exit successfully in the openafs-client init script if no module is X-Git-Tag: debian/1.4.1-2~2 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=1e29e799c20959391fbe007e4f250cf088e5e94a;p=packages%2Fo%2Fopenafs.git * Exit successfully in the openafs-client init script if no module is installed, since otherwise openafs-client will fail to install until one builds a module. This restores previous accidental behavior due to a bug in debhelper. (Closes: #362695) --- diff --git a/debian/changelog b/debian/changelog index d23f74879..186e11f1e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +openafs (1.4.1-2) unstable; urgency=low + + * Exit successfully in the openafs-client init script if no module is + installed, since otherwise openafs-client will fail to install until + one builds a module. This restores previous accidental behavior due + to a bug in debhelper. (Closes: #362695) + + -- + openafs (1.4.1-1) unstable; urgency=low * New upstream release. diff --git a/debian/openafs-client.init b/debian/openafs-client.init index d73f96dc3..a82a5b10e 100755 --- a/debian/openafs-client.init +++ b/debian/openafs-client.init @@ -77,7 +77,9 @@ AFS module $MODULEDIR/$LIBAFS does not exist. Not starting AFS. Please consider building kernel modules using instructions in /usr/share/doc/openafs-client/README.modules EOF - exit 1 + # We must exit successfully here or openafs-client will fail on + # installation unless a module is installed. + exit 0 fi LOADED=`/sbin/lsmod | fgrep openafs` if [ -z "$LOADED" ] ; then