[Bug 175527] Re: umount.cifs doesn't remove entry from /etc/mtab
P.Constantine
175527 at bugs.launchpad.net
Tue Nov 2 15:02:30 GMT 2010
Let's see, strace on umount gives us this:
2969 fstat64(3, {st_mode=S_IFREG|0644, st_size=754, ...}) = 0
2969 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb775f000
2969 read(3, "/dev/sda1 / ext3 rw,errors=remou"..., 4096) = 754
2969 read(3, "", 4096) = 0
2969 close(3) = 0
2969 munmap(0xb775f000, 4096) = 0
2969 stat64("/sbin/umount.cifs", 0xbfdaeb60) = -1 ENOENT (No such file or directory)
2969 oldumount("/media/public" <<<<--- it hangs here!
Let's see:
$ dpkg --search `which mount.cifs`
cifs-utils: /sbin/mount.cifs
$ # dpkg -L cifs-utils
/.
/sbin
/sbin/mount.cifs
/usr
/usr/sbin
/usr/sbin/cifs.upcall
/usr/share
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/mount.cifs.8.gz
/usr/share/man/man8/cifs.upcall.8.gz
/usr/share/doc
/usr/share/doc/cifs-utils
/usr/share/doc/cifs-utils/copyright
/usr/share/doc/cifs-utils/NEWS.Debian.gz
/usr/share/doc/cifs-utils/changelog.gz
/usr/share/doc/cifs-utils/changelog.Debian.gz
$ dpkg -L smbfs
/.
/sbin
/sbin/mount.smbfs
/usr
/usr/share
/usr/share/doc
/usr/share/doc/smbfs
/usr/share/doc/smbfs/copyright
/usr/share/doc/smbfs/changelog.gz
/usr/share/doc/smbfs/changelog.Debian.gz
/usr/share/man
/usr/share/man/man8
/usr/bin
/usr/share/man/man8/mount.smbfs.8.gz
/usr/share/man/man8/smbmount.8.gz
/usr/bin/smbmount
As you can see 'umount.cifs' is indeed nowhere to be found.
--
umount.cifs doesn't remove entry from /etc/mtab
https://bugs.launchpad.net/bugs/175527
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