pyneighborhood team mailing list archive
-
pyneighborhood team
-
Mailing list archive
-
Message #00015
[Bug 607702] Re: umount.cifs doesn't exist in maverick - pyNeighborhood isn't able to unmount share
Testing revision 437:
linus@virtualbox-maverick:~/Desktop/pyneighborhood$ ./pyNeighborhood
** Message: pygobject_register_sinkfunc is deprecated (GtkWindow)
** Message: pygobject_register_sinkfunc is deprecated (GtkInvisible)
** Message: pygobject_register_sinkfunc is deprecated (GtkObject)
Traceback (most recent call last):
File "./pyNeighborhood", line 23, in <module>
from pyneighborhood.mainwindow import MainWindow
File "/home/linus/Desktop/pyneighborhood/pyneighborhood/__init__.py", line 94, in <module>
config.set('CIFS','utility','/sbin/%s.cifs' ('mount' if utility == 'mount' else 'umount'))
TypeError: 'str' object is not callable
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 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
Traceback (most recent call last):
File "./pyNeighborhood", line 23, in <module>
from pyneighborhood.mainwindow import MainWindow
File "/home/linus/Desktop/pyneighborhood/pyneighborhood/__init__.py", line 94, in <module>
config.set('CIFS','utility','/sbin/%s.cifs' ('mount' if utility == 'mount' else 'umount'))
TypeError: 'str' object is not callable
linus@virtualbox-maverick:~/Desktop/pyneighborhood$ ./pyNeighborhood --debug
** Message: pygobject_register_sinkfunc is deprecated (GtkWindow)
** Message: pygobject_register_sinkfunc is deprecated (GtkInvisible)
** Message: pygobject_register_sinkfunc is deprecated (GtkObject)
Debug: Checking for /sbin/mount.cifs
Debug: Checking for /sbin/mount.cifs
Debug: Checking for /sbin/umount.cifs
Traceback (most recent call last):
File "./pyNeighborhood", line 23, in <module>
from pyneighborhood.mainwindow import MainWindow
File "/home/linus/Desktop/pyneighborhood/pyneighborhood/__init__.py", line 94, in <module>
config.set('CIFS','utility','/sbin/%s.cifs' ('mount' if utility == 'mount' else 'umount'))
TypeError: 'str' object is not callable
--
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