]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Check if AFS is mounted before killing processes with open files
authorRuss Allbery <rra@debian.org>
Tue, 4 May 2010 23:26:15 +0000 (16:26 -0700)
committerRuss Allbery <rra@debian.org>
Tue, 4 May 2010 23:51:31 +0000 (16:51 -0700)
commit44dac8eac6aa5bd5eb3311af1e510121c2584770
treeb821d2ba4556159e2fde1a00259f151c377a92c9
parent406ca207aa142b4c6827e668650e2096deb50335
Check if AFS is mounted before killing processes with open files

* Skip killing processes with files open in AFS if AFS does not appear
  to be mounted according to /etc/mtab.  Otherwise, we may call lsof
  without a specific mount point and kill far more processes than we
  intend to.  (This code is disabled by default, so this problem would
  only be seen by people who enabled it.)
debian/openafs-client.init