[Xfce-bugs] [XFCE 0000063]: xffm-4.0.2 hangs when trying to mount devices

xfce-bugs at xfce.org xfce-bugs at xfce.org
Mon Jan 5 16:45:46 CET 2004


The following bug requires your FEEDBACK.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000063
=======================================================================
Reporter:                   tassilo
Handler:                    
=======================================================================
Project:                    XFCE
Bug ID:                     0000063
Category:                   xffm
Reproducibility:            always
Severity:                   tweak
Priority:                   none
Status:                     feedback
=======================================================================
Date Submitted:             2004-01-04 23:48 GMT
Last Modified:              2004-01-05 15:45 GMT
=======================================================================
Summary:                    xffm-4.0.2 hangs when trying to mount devices
Description: 
Hi,

xffm-4.0.2 hangs when mounting floppys/cdroms/USB-MassStorage. I say mount
in the right click menu and then it hangs. When I close xffm and restart
it the device is correctly mounted.
When I try to mount devices I don't have permissions for xffm hangs till I
click on the "brush"-button in the bottom-right of xffm. Then it displays
the correct error message ("mount: only root..." and "child process
interrupted, pid=6057").
=======================================================================

-----------------------------------------------------------------------
 tassilo - 2004-01-04 23:54 GMT 
-----------------------------------------------------------------------
It also hangs when umounting devices till I click the brush button. Then
xffm reacts again and the device is successfully umounted.

-----------------------------------------------------------------------
 edscott - 2004-01-05 01:38 GMT 
-----------------------------------------------------------------------
The xffm mount/unmount function for 4.0.x version will only work if you
have the appropriate permissions to mount/unmount, by uid or by fstab
settings. If you set the environment variable XFFM_USE_SUDO, then you can
do the mount/unmount by sudo. But if sudo is configured to ask for
password, xffm will again stall. In version 4.1, xffm will always use sudo
to mount/unmount and if a password is required, you will be queried for
it. I'm afraid that this feature will not be backported to the 4.0.x
branch. If you choose to upgrade to 4.1 (CVS HEAD), remember that
xffm-icons need be upgraded too (if installed).

-----------------------------------------------------------------------
 tassilo - 2004-01-05 11:12 GMT 
-----------------------------------------------------------------------
As I said above the mount/umount also hangs with devices I have the
permission for (by option "users" in /etc/fstab).
What? xffm-4.1 will only use mounting with sudo? I don't see the
advantages...

-----------------------------------------------------------------------
 edscott - 2004-01-05 15:45 GMT 
-----------------------------------------------------------------------
4.1 is not yet stable, so that using sudo or not will finally depend on
whether sudo is installed and whether the user wants to use sudo (probably
keep using the env var XFFM_USE_SUDO).

The futher information you provide make me believe the bug is a problem
with file tubo.c which caused other bugs as well. Please replace
libs/tubo.c with the uploaded file and check whether the bug is gone.



More information about the Xfce-bugs mailing list