OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2167-g12e2a3a
Gerrit Code Review
Tue, 14 Feb 2012 13:37:22 -0800 (PST)
The following commit has been merged in the master branch:
Author: Andrew Deason <firstname.lastname@example.org>
Date: Wed Feb 8 16:03:29 2012 -0600
RedHat: Fail openafs-client 'stop' on rmmod error
Currently, the openafs-client RPM init script ignores any error
reported by rmmod. If 'umount /afs' succeeds but rmmod does not, the
client may panic the machine if the client is started again (from e.g.
running the 'restart' init script method), since afsd will try to
initialize AFS with a libafs that has been shut down.
So, do not ignore errors from 'rmmod', and instead fail the 'stop'
method from the init script if we get an error.
Tested-by: BuildBot <email@example.com>
Reviewed-by: Jeffrey Altman <firstname.lastname@example.org>
Reviewed-by: Derrick Brashear <email@example.com>
src/packaging/RedHat/openafs-client.init | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
OpenAFS Master Repository