Comment 10 for bug 1144612

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cifs-utils - 2:5.1-1ubuntu2

---------------
cifs-utils (2:5.1-1ubuntu2) precise-proposed; urgency=low

  * mount.cifs: Properly update mtab during remount (LP: #1144612)

  During a remount of a cifs filesystem, the mtab file is not properly
  updated, which leads to a doubled entry of the same filesystem in the
  /etc/mtab file. This patch adds a new function del_mtab() which is
  called before the add_mtab() in case the fs is being remounted.

  The del_mtab() function will delete from the mtab, the old entry from
  the filesystem which is being remounted, and then, calls add_mtab() to
  add an updated entry to the mtab file.
 -- Louis Bouchard <email address hidden> Fri, 26 Apr 2013 15:15:32 +0200