OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_1pre2-14-g887cffa

Gerrit Code Review gerrit@openafs.org
Wed, 22 Feb 2012 17:57:31 -0800 (PST)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 887cffa07e6097365d6ce425bbf4297b8f2d782d
Author: Andrew Deason <adeason@sinenomine.net>
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.
    
    Reviewed-on: http://gerrit.openafs.org/6709
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
    (cherry picked from commit 12e2a3abe7ca640a7cef2630039c06964f779f17)
    
    Change-Id: I31256abac839c9011754445efa09960f061fdbb0
    Reviewed-on: http://gerrit.openafs.org/6757
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>

 src/packaging/RedHat/openafs-client.init |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository