]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Exit successfully in init script if openafs isn't in modules.dep
authorRuss Allbery <rra@debian.org>
Sat, 28 Jun 2008 06:01:22 +0000 (23:01 -0700)
committerRuss Allbery <rra@debian.org>
Sat, 28 Jun 2008 06:01:22 +0000 (23:01 -0700)
commitfdfd1e7242795826ac4bf88bfe9365cd54d8b61a
tree30361e68fae65a13650dc80c83d26eb558cfa73f
parent2f53f8f75a87d129dfcfb8919905c331cf4b2ea2
Exit successfully in init script if openafs isn't in modules.dep

If the openafs module isn't listed in modules.dep, exit with a zero
status from the init script even if modprobe fails.  Otherwise, if a
module package and openafs-client are installed at the same time and
openafs-client is set up before the module package, the init script can
find the module, fail the modprobe (because the dependency map hasn't
yet been updated), and fail the whole installation.  Exiting with a zero
status still doesn't get OpenAFS started, but at least it doesn't leave
the system in a partly installed state.  Thanks to Durk Strooisma for the
analysis.

Closes: #486816
debian/changelog
debian/openafs-client.init