umount.cifs does not update /etc/mtab

Bug #452396 reported by Alex G
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
samba
Invalid
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Hardy by Alex G

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://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.

Revision history for this message
Chuck Short (zulcss) wrote :

Hi,

This is an actual kernel bug. That has been fixed in 2..6.30.

Regards
chuck

Changed in samba:
importance: Unknown → Undecided
status: Unknown → New
status: New → Invalid
Changed in samba (Ubuntu):
status: New → Fix Released
Revision history for this message
Alex G (ogxela-yahoo) wrote : Re: [Bug 452396] Re: umount.cifs does not update /etc/mtab

Will it be fixed in 8.04 LTS? That's what my company has standardized
on.

Thanks!
--Alex

On Fri, Oct 16, 2009 at 11:56:04AM -0000, Chuck Short wrote:
> Hi,
>
> This is an actual kernel bug. That has been fixed in 2..6.30.
>
> Regards
> chuck
>
> ** Bug watch added: Linux Kernel Bug Tracker #13861
> http://bugzilla.kernel.org/show_bug.cgi?id=13861
>
> ** Also affects: samba via
> http://bugzilla.kernel.org/show_bug.cgi?id=13861
> Importance: Unknown
> Status: Unknown
>
> ** Changed in: samba
> Importance: Unknown => Undecided
>
> ** Changed in: samba
> Status: Unknown => New
>
> ** Changed in: samba
> Remote watch: Linux Kernel Bug Tracker #13861 => None
>
> ** Changed in: samba
> Status: New => Invalid
>
> ** Changed in: samba (Ubuntu)
> Status: New => Fix Released
>
> --
> umount.cifs does not update /etc/mtab
> https://bugs.launchpad.net/bugs/452396
> You received this bug notification because you are a direct subscriber
> of the bug.

Revision history for this message
Alex G (ogxela-yahoo) wrote :

Ping?

Changed in samba (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Thierry Carrez (ttx) wrote :

Alex G: if you want to suggest to get it fixed for 8.04 LTS, you should nominate this bug for "Hardy", not reopen it (as it is fixed in the current development release). Furthermore, the bug is in the kernel, not samba.

affects: samba (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Fix Released
Revision history for this message
Alex G (ogxela-yahoo) wrote :

Thanks - done.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.