Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
autofs
autofs-5.0.6-dont-mask-the-failure-to-unmount-b...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File autofs-5.0.6-dont-mask-the-failure-to-unmount-busy-volumes.patch of Package autofs
From: Leonardo Chiquitto <lchiquitto@suse.com> Subject: don't mask the failure to unmount busy volumes References: bnc#733479 Old versions of the umount binary don't distinguish between a failed unmount (because the volume was busy) and a successful unmount that failed only to update /etc/mtab. Both cases return error code "16". Automount currently reads the error code as if the unmount always succeeded and only mtab update failed. This is not right and will cause problems when recreating mount triggers that are used to reconnect to mounted volumes when restarting AutoFS. Index: autofs-5.0.5/daemon/spawn.c =================================================================== --- autofs-5.0.5.orig/daemon/spawn.c +++ autofs-5.0.5/daemon/spawn.c @@ -620,12 +620,14 @@ int spawn_umount(unsigned logopt, ...) } } +#if 0 /* This is not a fatal error */ if (ret == MTAB_NOTUPDATED) { warn(logopt, "Unable to update the mtab file, /proc/mounts " "and /etc/mtab will differ"); ret = 0; } +#endif return ret; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor