[Bug 175527] Re: umount.cifs doesn't remove entry from /etc/mtab
** Changed in: samba Importance: Unknown = Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. https://bugs.launchpad.net/bugs/175527 Title: umount.cifs doesn't remove entry from /etc/mtab -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 175527] Re: umount.cifs doesn't remove entry from /etc/mtab
?? Maverick $ sudo mount -o username=user,workgroup=company,umask=000,iocharset=utf8,uid=user,gid=user //netapp/public /media/public/ $ sudo umount /media/public $ cat /etc/mtab | grep public //netapp/public/ /media/public cifs rw,mand 0 0 Regression? Was never fixed in the first place? I've tried it now and then since 7.04 and EACH time it was 100% reproducible. -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 175527] Re: umount.cifs doesn't remove entry from /etc/mtab
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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 175527] Re: umount.cifs doesn't remove entry from /etc/mtab
Aha, it does unmount correctly after a lot of time inside oldumount() This never happens when mounting with no trailing slash. -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 175527] Re: umount.cifs doesn't remove entry from /etc/mtab
Fixed in 3.2.9 and 3.3.2, so this should be fixed in Jaunty release. ** Changed in: samba (Ubuntu) Status: Triaged = Fix Released -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 175527] Re: umount.cifs doesn't remove entry from /etc/mtab
** Changed in: samba Status: Confirmed = Fix Released -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 175527] Re: umount.cifs doesn't remove entry from /etc/mtab
I can confirm this occurs when there is a symlink in the mountpoint path as well, in Hardy with the latest updates. a...@fuzzy:/home/SODAPOP$ ls -l total 104K lrwxrwxrwx 1 rootroot 23 2009-01-07 10:15 agottschalk - ../AUTOHOME/agottschalk/ a...@fuzzy:~/scripts$ mount.cifs //grapeape/Users/AGottschalk /home/AUTOHOME/alex/winhome Password: a...@fuzzy:~/scripts$ cat /etc/mtab [...] automount(pid5177) /home/AUTOHOME autofs rw,fd=4,pgrp=5177,minproto=2,maxproto=4 0 0 //grapeape/Users /home/AUTOHOME/alex/winhome cifs rw,mand,nosuid,nodev,user=alex 0 0 a...@fuzzy:~/scripts$ umount.cifs /home/AUTOHOME/alex/winhome a...@fuzzy:~/scripts$ cat /etc/mtab [...] automount(pid5177) /home/AUTOHOME autofs rw,fd=4,pgrp=5177,minproto=2,maxproto=4 0 0 peaches:/srv/autohomes/alex /home/AUTOHOME/alex nfs rw,nosuid,soft,addr=10.10.1.31 0 0 a...@fuzzy:~/scripts$ mount.cifs //grapeape/Users/AGottschalk /home/SODAPOP/alex/winhome Password: a...@fuzzy:~/scripts$ umount.cifs /home/SODAPOP/alex/winhome a...@fuzzy:~/scripts$ cat /etc/mtab [...] automount(pid5177) /home/AUTOHOME autofs rw,fd=4,pgrp=5177,minproto=2,maxproto=4 0 0 peaches:/srv/autohomes/alex /home/AUTOHOME/alex nfs rw,nosuid,soft,addr=10.10.1.31 0 0 //grapeape/Users /home/AUTOHOME/alex/winhome cifs rw,mand,nosuid,nodev,user=alex 0 0 -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 175527] Re: umount.cifs doesn't remove entry from /etc/mtab
** Changed in: samba Status: Unknown = Confirmed -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 175527] Re: umount.cifs doesn't remove entry from /etc/mtab
** Also affects: samba via https://bugzilla.samba.org/show_bug.cgi?id=4370 Importance: Unknown Status: Unknown -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 175527] Re: umount.cifs doesn't remove entry from /etc/mtab
This problem still appears in 8.10. There's a bug at samba's bugzilla about it https://bugzilla.samba.org/show_bug.cgi?id=4370 . -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs