[Pkg-samba-maint] Bug#583508: Bug#583508: smbfs: smbumount does not umount from win2k server

Leonardo Boselli leo at dicea.unifi.it
Sun May 30 16:02:14 UTC 2010


I tried on another host: this is the reply:

leo at student:~$ mkdir loc
leo at student:~$ smbmount \\\\unione\\home loc
**** (normal dialogue, i can read the remote directory)
leo at student:~$ mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/sdb4 on /home type ext3 (rw)
/dev/sdb3 on /tmp type ext2 (rw)
/dev/sda3 on /usr/local type ext3 (rw)
/dev/sda2 on /var type ext3 (rw)
/dev/sdc1 on /var/cache type ext2 (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc 
(rw,noexec,nosuid,nodev)
/dev/sdb1 on /media/disk type ext3 (rw,nosuid,nodev,uhelper=hal)
//unione/home on /home/leo/loc type cifs (rw,mand,nosuid,nodev,user=leo)
leo at student:~$ umount loc
umount: /home/leo/loc is not in the fstab (and you are not root)
leo at student:~$
leo at student:~$ smbumount \\\\unione\\home
This utility only unmounts cifs filesystems.

exactly the same thing .....and this host has the 32 bit version.
then I su to root and surprise:
student:/home/leo# umount loc
student:/home/leo# ls loc

this time has worked !
It is not enought however, since in unacceptabele tha one user can mount a 
remote share but is unable to umount !!!!

After this test i tried again on the same 64 bit machine :  exactly the 
same result: i can mount as an user, i cannot umount by the same user.
I still consider this an important bug.

I thried again on another "expendable" server and i was never able to 
umount by the same user that mounted, but always i succeeded as root

also: i can mount two times on th seme mount point, an mount command show 
me two times the same mount.
when I rebooted i had two os suc mounts. this could be the reason for the 
lock ?


--
Leonardo Boselli

On Sun, 30 May 2010, Steve Langasek wrote:

> On Sun, May 30, 2010 at 08:45:33AM +0200, Leonardo Boselli wrote:
>> On Sat, 29 May 2010, Steve Langasek wrote:
>
>>> On Sat, May 29, 2010 at 11:50:49PM +0200, Leonardo Boselli wrote:
>
>>>>> Is the volume mounted as smbfs or cifs?
>>>> smbfs
>
>>> Then you're not doing it with the Debian packages.  Debian stopped
>>> supporting smbfs mounts in samba 3.0.27a-2, which predates Lenny by a year.
>
>>> Please show the output of 'mount' on this system.
>
>> i cannot, since i do not want absolutely make such a test on
>> production server, when i know that likely it will not be unmounted.
>> anyway the package that i have for smbmount is:
>
>> Package: smbfs
>> Status: install ok installed
>> Priority: optional
>> Section: otherosfs
>> Installed-Size: 4112
>> Maintainer: Debian Samba Maintainers
>> <pkg-samba-maint at lists.alioth.debian.org>
>> Architecture: amd64
>> Source: samba
>> Version: 2:3.2.5-4lenny11
>> Replaces: smbfsx
>
> And that package does not support the smbfs filesystem, so either your mount
> is actually cifs, or you're using an smbmount command not from the Debian
> package.  If you're not able to help debug this bug, which no one else has
> reported seeing, we would have to assume that the problem is the second one.
>
> -- 
> Steve Langasek                   Give me a lever long enough and a Free OS
> Debian Developer                   to set it on, and I can move the world.
> Ubuntu Developer                                    http://www.debian.org/
> slangasek at ubuntu.com                                     vorlon at debian.org
>





More information about the Pkg-samba-maint mailing list