umount.cifs does not update /etc/mtab
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba |
Invalid
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bug Description
Binary package hint: smbfs
Description: Ubuntu 8.04.3 LTS
Release: 8.04
smbfs:
Installed: 3.0.28a-1ubuntu4.9
Candidate: 3.0.28a-1ubuntu4.9
Version table:
*** 3.0.28a-1ubuntu4.9 0
500 http://
500 http://
100 /var/lib/
3.
500 http://
What I expect to happen:
When unmounting a CIFS share, I expect /etc/mtab to be updated to reflect the current status of the system (i.e. that that mountpoint is no longer active).
What actually happens:
umount.cifs works in that the mount is detached, and no longer shows up in /proc/mounts. However, the stale entry is left in /etc/mtab, which makes the output of the 'mount' command misleading at best.
Hi,
This is an actual kernel bug. That has been fixed in 2..6.30.
Regards
chuck