pyneighborhood team mailing list archive
-
pyneighborhood team
-
Mailing list archive
-
Message #00016
[Bug 607702] Re: umount.cifs doesn't exist in maverick - pyNeighborhood isn't able to unmount share
Testing Revision 438:
linus@virtualbox-maverick:~/Desktop/pyneighborhood$ ./pyNeighborhood --trace
** Message: pygobject_register_sinkfunc is deprecated (GtkWindow)
** Message: pygobject_register_sinkfunc is deprecated (GtkInvisible)
** Message: pygobject_register_sinkfunc is deprecated (GtkObject)
In __init__.py at Line 45:
Creating Default Config...
In __init__.py at Line 92:
Checking for /sbin/mount.cifs
In __init__.py at Line 95:
Checking for /sbin/mount.cifs
In __init__.py at Line 92:
Checking for /sbin/umount.cifs
In __init__.py at Line 95:
Checking for /sbin/umount.cifs
In __init__.py at Line 98:
Using /sbin/umount.cifs for future operations.
In browsing.py at Line 43:
Starting Browsing Engine...
In browsing.py at Line 51:
Found Master Browser: 192.168.2.100
In nmblookup.py at Line 51:
DELL-LAPTOP <20>
In nmblookup.py at Line 51:
WORKGROUP <1e>
In browsing.py at Line 53:
Master Browser 192.168.2.100 has Workgroup WORKGROUP
In nmblookup.py at Line 120:
Querying Host 10.0.2.15...
In nmblookup.py at Line 132:
...looking up Hostname & IP...
In nmblookup.py at Line 51:
VIRTUALBOX-MAVE <20>
In nmblookup.py at Line 51:
WORKGROUP <1e>
In nmblookup.py at Line 142:
... Workgroup = WORKGROUP, Hostname = virtualbox-maverick.local, Name = VIRTUALBOX-MAVE...
In nmblookup.py at Line 146:
...done
In nmblookup.py at Line 120:
Querying Host 192.168.2.100...
In nmblookup.py at Line 132:
...looking up Hostname & IP...
In nmblookup.py at Line 51:
DELL-LAPTOP <20>
In nmblookup.py at Line 51:
WORKGROUP <1e>
In nmblookup.py at Line 142:
... Workgroup = WORKGROUP, Hostname = dell_laptop.speedport.ip, Name = DELL-LAPTOP...
In nmblookup.py at Line 146:
...done
In browsing.py at Line 59:
Found workgroup: WORKGROUP
In browsing.py at Line 62:
Scanning host VIRTUALBOX-MAVE for shares...
In smbclient.py at Line 30:
Scanning for Shares: 10.0.2.15
In smbclient.py at Line 40, the command '['/usr/bin/smbclient', '-N', '-L', u'10.0.2.15']' returns:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.4]
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.4]
Anonymous login successful
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
IPC$ IPC IPC Service (virtualbox-maverick server (Samba, Ubuntu))
dokumente Disk
Anonymous login successful
Server Comment
--------- -------
VIRTUALBOX-MAVER virtualbox-maverick server (Samba, Ubuntu)
Workgroup Master
--------- -------
WORKGROUP
In browsing.py at Line 66:
Found share: (1, u'print$', 1, None, None, None, None, u'Printer Drivers', None, 0, 0)
In browsing.py at Line 66:
Found share: (2, u'dokumente', 1, None, None, None, None, u'', None, 0, 0)
In browsing.py at Line 62:
Scanning host DELL-LAPTOP for shares...
In smbclient.py at Line 30:
Scanning for Shares: 192.168.2.100
In smbclient.py at Line 40, the command '['/usr/bin/smbclient', '-N', '-L', u'192.168.2.100']' returns:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.0]
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.0]
Anonymous login successful
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
IPC$ IPC IPC Service (dell-laptop server (Samba, Ubuntu))
freigabe Disk
Anonymous login successful
Server Comment
--------- -------
DELL-LAPTOP dell-laptop server (Samba, Ubuntu)
VIRTUALBOX-MAVE virtualbox-maverick server (Samba, Ubuntu)
Workgroup Master
--------- -------
WORKGROUP DELL-LAPTOP
In browsing.py at Line 66:
Found share: (3, u'print$', 2, None, None, None, None, u'Printer Drivers', None, 0, 0)
In browsing.py at Line 66:
Found share: (4, u'freigabe', 2, None, None, None, None, u'', None, 0, 0)
In mainwindow.py at Line 133:
Executing Unmount Command: ['/usr/bin/gksu', '/sbin/umount.cifs', '/home/linus/pyNeighborhood/WORKGROUP/DELL-LAPTOP/freigabe']
--
umount.cifs doesn't exist in maverick - pyNeighborhood isn't able to unmount share
https://bugs.launchpad.net/bugs/607702
You received this bug notification because you are a member of
pyNeighborhood, which is subscribed to pyneighborhood.
Status in pyNeighborhood: Fix Committed
Bug description:
* umount.cifs (and by extension, smbumount) no longer exists upstream,
because mount.cifs no longer permits non-root users to mount except by
way of the standard /etc/fstab arguments.
Since cifs-utils 2:4.5-1 (see changelog https://launchpad.net/ubuntu/+source/cifs-utils/2:4.5-1), umount.cifs does no longer exist.
Because of this, pyNeighborhood isn't able to unmount a share.
Solution: When umount.cifs is not available, use /bin/umount.
References