[Bug 452396] [NEW] umount.cifs does not update /etc/mtab

Alex G ogxela at yahoo.com
Thu Oct 15 19:31:26 BST 2009

Public bug reported:

Binary package hint: smbfs

Description:    Ubuntu 8.04.3 LTS
Release:        8.04

  Installed: 3.0.28a-1ubuntu4.9
  Candidate: 3.0.28a-1ubuntu4.9
  Version table:
 *** 3.0.28a-1ubuntu4.9 0
        500 http://apt hardy-updates/main Packages
        500 http://apt hardy-security/main Packages
        100 /var/lib/dpkg/status
     3.0.28a-1ubuntu4 0
        500 http://apt hardy/main Packages

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.

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

** Tags: cifs mount mtab umount

umount.cifs does not update /etc/mtab
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

More information about the Ubuntu-server-bugs mailing list