umount.cifs doesn't exist in maverick - pyNeighborhood isn't able to unmount share
Bug #607702 reported by
Linus Hoppe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyneighborhood |
Fix Released
|
Low
|
Unassigned |
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:/
Because of this, pyNeighborhood isn't able to unmount a share.
Solution: When umount.cifs is not available, use /bin/umount.
Changed in pyneighborhood: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → pyNeighborhood (pyneighborhood) |
milestone: | none → 0.5.1 |
status: | Confirmed → In Progress |
Changed in pyneighborhood: | |
assignee: | pyNeighborhood (pyneighborhood) → Betz Stefan (encbladexp) |
importance: | High → Low |
status: | In Progress → Fix Committed |
Changed in pyneighborhood: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Testing revision 437:
linus@virtualbo x-maverick: ~/Desktop/ pyneighborhood$ ./pyNeighborhood register_ sinkfunc is deprecated (GtkWindow) register_ sinkfunc is deprecated (GtkInvisible) register_ sinkfunc is deprecated (GtkObject) mainwindow import MainWindow linus/Desktop/ pyneighborhood/ pyneighborhood/ __init_ _.py", line 94, in <module> set('CIFS' ,'utility' ,'/sbin/ %s.cifs' ('mount' if utility == 'mount' else 'umount'))
** Message: pygobject_
** Message: pygobject_
** Message: pygobject_
Traceback (most recent call last):
File "./pyNeighborhood", line 23, in <module>
from pyneighborhood.
File "/home/
config.
TypeError: 'str' object is not callable
linus@virtualbo x-maverick: ~/Desktop/ pyneighborhood$ ./pyNeighborhood --trace register_ sinkfunc is deprecated (GtkWindow) register_ sinkfunc is deprecated (GtkInvisible) register_ sinkfunc is deprecated (GtkObject) mainwindow import MainWindow linus/Desktop/ pyneighborhood/ pyneighborhood/ __init_ _.py", line 94, in <module> set('CIFS' ,'utility' ,'/sbin/ %s.cifs' ('mount' if utility == 'mount' else 'umount'))
** Message: pygobject_
** Message: pygobject_
** Message: pygobject_
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.
File "/home/
config.
TypeError: 'str' object is not callable
linus@virtualbo x-maverick: ~/Desktop/ pyneighborhood$ ./pyNeighborhood --debug register_ sinkfunc is deprecated (GtkWindow) register_ sinkfunc is deprecated (GtkInvisible) register_ sinkfunc is deprecated (GtkObject) mainwindow import MainWindow linus/Desktop/ pyneighborhood/ pyneighborhood/ __init_ _.py", line 94, in <module> set('CIFS' ,'utility' ,'/sbin/ %s.cifs' ('mount' if utility == 'mount' else 'umount'))
** Message: pygobject_
** Message: pygobject_
** Message: pygobject_
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.
File "/home/
config.
TypeError: 'str' object is not callable