[Pkg-samba-maint] Bug#408394: umount.cifs: mtab symlink is replaced
with regular file
Radu Cristescu
radu.c at plutohome.com
Thu Jan 25 16:44:32 CET 2007
Package: smbfs
Version: 3.0.23d-4
Severity: grave
umount.cifs removes /etc/mtab even if it's a symlink to /proc/mounts
and writes a regular file instead
I'm setting the Severity to "grave" because I think losing a symlink
can be considered "data loss" (the symlink is "data") and using a
regular file for mtab is not an option in my case.
Here's a session (only the relevant output, for brevity):
arwen:~# ls -l /etc/mtab
lrwxrwxrwx 1 root root 12 2007-01-25 17:38 /etc/mtab -> /proc/mounts
arwen:~# cat /proc/mounts
//10.0.0.150/builds /mnt/150/builds cifs rw,mand,unc=\\10.0.0.150\builds,username=root,rsize=16384,wsize=57344 0 0
//10.0.0.150/repositories /mnt/150/repositories cifs rw,mand,unc=\\10.0.0.150\repositories,username=root,rsize=16384,wsize=57344 0 0
arwen:~# umount /mnt/150/builds
arwen:~# ls -l /etc/mtab
-rw-r--r-- 1 root root 1281 2007-01-25 17:39 /etc/mtab
Thanks.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (990, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968)
Versions of packages smbfs depends on:
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libcomer 1.39+1.40-WIP-2006.11.14+dfsg-1 common error description library
ii libkrb53 1.4.4-6 MIT Kerberos runtime libraries
ii libldap2 2.1.30-13.2 OpenLDAP libraries
ii netbase 4.28 Basic TCP/IP networking system
ii samba-co 3.0.23d-4 Samba common files used by both th
smbfs recommends no packages.
-- no debconf information
More information about the Pkg-samba-maint
mailing list