[Bug 416956] New: Mounting and umount of external USB drive as non-root user does not work
https://bugzilla.novell.com/show_bug.cgi?id=416956 Summary: Mounting and umount of external USB drive as non-root user does not work Product: openSUSE 11.0 Version: Final Platform: x86 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: digital_tank@hotmail.com QAContact: qa@suse.de Found By: Community User Hello, mounting and unmounting of external USB drives as non-root user does not work. Fixed it by editing: /usr/share/PolicyKit/policy/org.freedesktop.hal.storage.policy <action id="org.freedesktop.hal.storage.mount-removable"> => <allow_inactive>no</allow_inactive> to <allow_inactive>yes</allow_inactive> <action id="org.freedesktop.hal.storage.eject"> => <allow_inactive>no</allow_inactive> to <allow_inactive>yes</allow_inactive> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |dkukawka@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User digital_tank@hotmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c1 --- Comment #1 from Bulawa Akula <digital_tank@hotmail.com> 2008-08-15 09:00:55 MDT --- In Reply to: Cyril Hrubis <chrubis@novell.com> changed: What|Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |dkukawka@novell.com <action id="org.freedesktop.hal.storage.mount-removable"> <description>Mount file systems from removable drives.</description> <message>System policy prevents mounting removable media</message> <defaults> <allow_inactive>no</allow_inactive> Changed to: <allow_inactive>yes</allow_inactive> <allow_active>yes</allow_active> </defaults> </action> <action id="org.freedesktop.hal.storage.eject"> <description>Eject removable media.</description> <message>System policy prevents ejecting removable media</message> <defaults> <allow_inactive>no</allow_inactive> Changed to: <allow_inactive>yes</allow_inative> <allow_active>yes</allow_active> </defaults> </action> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User dkukawka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c2 Danny Kukawka <dkukawka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |digital_tank@hotmail.com --- Comment #2 from Danny Kukawka <dkukawka@novell.com> 2008-08-18 05:41:42 MDT --- Please check if you have ConsoleKit (rcconsolekit status) running and check what 'env | grep COOK' prints. Did you try to eject/umount the device from a active desktop session or e.g. from a remote session. Which desktop (KDE or GNOME) do you use? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User digital_tank@hotmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c3 --- Comment #3 from Bulawa Akula <digital_tank@hotmail.com> 2008-08-18 10:15:45 MDT --- Hello, I use XFCE and tried to mount it there. Before this hack I mounted it in a terminal as root. At the moment I have no access to this machine but I will let you know what above command will print out. It's a vanilla opensuse netinstall and the only thing which is different is that I use XFCE not KDE or Gnome. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User d@vidsolbach.de added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c4 --- Comment #4 from David Solbach <d@vidsolbach.de> 2008-08-28 11:33:56 MDT --- Created an attachment (id=236073) --> (https://bugzilla.novell.com/attachment.cgi?id=236073) list of installed packages -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User d@vidsolbach.de added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c5 David Solbach <d@vidsolbach.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |d@vidsolbach.de --- Comment #5 from David Solbach <d@vidsolbach.de> 2008-08-28 11:34:35 MDT --- I can reproduce the bug. same error message when trying to mount removable devices in dolphin. @danny here are the results for your question: --- linux-pngl:/home/david # rcconsolekit status Checking for service ConsoleKit daemon running linux-pngl:/home/david # env | grep COOK linux-pngl:/home/david # --- additionally I attach a list of installed packages since I'm using the kde4 unstable repos. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User dkukawka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c6 --- Comment #6 from Danny Kukawka <dkukawka@novell.com> 2008-08-28 11:38:36 MDT --- You have to run the 'env | grep COOK' within a session of the user. Did you? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User d@vidsolbach.de added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c7 --- Comment #7 from David Solbach <d@vidsolbach.de> 2008-08-28 14:41:05 MDT --- oh, I ran it as root. Now i ran it as user, same result... (no env variable set that matches "COOK"). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User dkukawka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c8 Danny Kukawka <dkukawka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dkukawka@novell.com |bnc-team-xfce@forge.provo.novell.com Status|NEEDINFO |NEW Component|Other |Xfce Info Provider|digital_tank@hotmail.com | --- Comment #8 from Danny Kukawka <dkukawka@novell.com> 2008-08-29 04:32:11 MDT --- It's then a XFCE bug. XFCE need to register a active session/new user to ConsoleKit. By this it should get a XDG_SESSION_COOKIE which identifiy the user/session. Otherwise the user is marked as inactive which prevents the needed privileges to do e.g. mount/umount. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User d@vidsolbach.de added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c9 --- Comment #9 from David Solbach <d@vidsolbach.de> 2008-08-29 08:31:22 MDT --- XFCE? Am I using XFCE If I run KDE4 with it's Kwin? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User dpbasti@wp.pl added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c10 Sebastian Turzański <dpbasti@wp.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dpbasti@wp.pl --- Comment #10 from Sebastian Turzański <dpbasti@wp.pl> 2008-09-13 16:35:24 MDT --- Well i confirm this bug in the Factory repo on my desktop which uses kde4 factory I have this bug that XDG_SESSION_COOKIE is not set resulting in no posiblitiy to mount removable drives no matter what you put in policies. In kde4 without factory repo on my laptop mounting works ok and XDG_SESSION_COOKIE is set IMHO this bug is critical -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User prusnak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c11 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |prusnak@novell.com, sndirsch@novell.com AssignedTo|bnc-team-xfce@forge.provo.novell.com |dkukawka@novell.com --- Comment #11 from Pavol Rusnak <prusnak@novell.com> 2008-09-17 07:38:55 MDT --- David is not using Xfce and encounters the same bug. Reassigning back to Danny. Adding Stefan Dirsch to CC as this is similar to bug 410817. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c12 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|sndirsch@novell.com | --- Comment #12 from Stefan Dirsch <sndirsch@novell.com> 2008-09-17 09:53:09 MDT --- I'm afraid I can't help here. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User dkukawka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c13 Danny Kukawka <dkukawka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dkukawka@novell.com |kde-maintainers@suse.de Component|Xfce |KDE4 Workspace --- Comment #13 from Danny Kukawka <dkukawka@novell.com> 2008-09-17 11:10:00 MDT --- If you are using KDE, it's a KDE bug. Reassign to KDE guys -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User jpr@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c14 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |digital_tank@hotmail.com --- Comment #14 from JP Rosevear <jpr@novell.com> 2008-09-18 10:02:38 MDT --- Please get the output of ck-list-sessions on the command line. Do you have your own .xsession file? And is this 4.0 or 4.1 from the repos (for the 11.0 user). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User dpbasti@wp.pl added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c15 --- Comment #15 from Sebastian Turzański <dpbasti@wp.pl> 2008-09-18 10:16:34 MDT --- I'm using KDE 4.1++ (4.1.66) which is 4.1 with Factory repo enbled. My windowmanager is XGL with compiz polrus@linuxatemki:~> ck-list-sessions Session1: uid = '0' realname = 'root' seat = 'Seat1' session-type = '' active = FALSE x11-display = '' x11-display-device = '' display-device = '/dev/tty2' remote-host-name = '' is-local = TRUE on-since = '2008-09-18T15:56:58Z' idle-since-hint = '2008-09-18T15:59:32Z' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User d@vidsolbach.de added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c16 --- Comment #16 from David Solbach <d@vidsolbach.de> 2008-10-12 11:19:35 MDT --- Running -- sudo polkit-auth --user username --grant org.freedesktop.hal.storage.mount-removable -- solves the problem for me. There is also a Forum post about this: http://forums.opensuse.org/applications/multimedia/394901-usb-mass-storage-u... ck-list sessions returns nothing: -- david@localhost:~> ck-list-sessions david@localhost:~> -- I'm running OpenSUSE 11 with the KDE4 Unstable repo enabled. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User jpr@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c17 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kde-maintainers@suse.de |llunak@novell.com Status|NEEDINFO |NEW Info Provider|digital_tank@hotmail.com | Priority|P5 - None |P2 - High --- Comment #17 from JP Rosevear <jpr@novell.com> 2008-10-15 06:55:45 MDT --- The active=FALSE part is a problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User llunak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c18 Lubos Lunak <llunak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |digital_tank@hotmail.com --- Comment #18 from Lubos Lunak <llunak@novell.com> 2008-11-21 09:46:48 MST --- Mounting/unmounting USB stick works fine for me on openSUSE11.1? Is this problem specific only to the KDE4:/UNSTABLE repo? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User d@vidsolbach.de added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c19 --- Comment #19 from David Solbach <d@vidsolbach.de> 2008-12-14 09:43:42 MST --- Might be specific to KDE4:/UNSTABLE repo. At least I don't have the bug after several updates. I'm now on openSUSE 11.1 with KDE4:/UNSTABLE and everithing works fine. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 David Solbach <d@vidsolbach.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|digital_tank@hotmail.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User jcs@piments.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c20 Jaques Chitte <jcs@piments.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jcs@piments.com --- Comment #20 from Jaques Chitte <jcs@piments.com> 2009-01-09 10:52:18 MST --- No it's not specific to kde4 ! See above it was reported with xfce. I have just installed from opensuse11.1 dvd using xfce desktop option and have the same issue. The c/no/yes/ hack suggested by OP did no change anything neither after rchal restart nor after reboot. /usr/share/PolicyKit/policy/org.freedesktop.hal.storage.policy It still shows an error message indicating it is reading a value of "no" for this. The above file does not seem to be beind read. using polkit-auth worked once but after adding the equivalent for eject it opens an emply filemanager window and the contents are not seen. I am disappointed to see a release goes out this this sort mess on a major feature. Seems like getting out for Christmas is more important than getting it working. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User behlert@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c23 --- Comment #23 from Stefan Behlert <behlert@novell.com> 2009-01-28 07:03:19 MST --- I tested SLED 11 RC3-candidate with GNOME and KDE4. Both 'default' configured as they came out of the box. GNOME was able to mount all, and even asked for a password on an encrypted partition. KDE4 showed the partitions in sysinfo:/ but it was not possible to access the content of the partitions. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User behlert@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c24 --- Comment #24 from Stefan Behlert <behlert@novell.com> 2009-01-28 07:07:58 MST --- For KDE4 a slight add-on: The partitions are accessible if one clicks on the partition name in the pop-up window that pops up for a second when plugging in the hard-disk. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User llunak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c25 Lubos Lunak <llunak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |llunak@novell.com Component|KDE4 Workspace |Xfce AssignedTo|llunak@novell.com |bnc-team-xfce@forge.provo.n | |ovell.com --- Comment #25 from Lubos Lunak <llunak@novell.com> 2009-01-30 11:18:41 MST --- This bugreport is several different issues messed together: - original issue is for Xfce - reassigning - some of the followup comments are for KDE4 unstable packages, which is completely unrelated and should not be a problem anymore - the SLED issues - this is again unrelated to the original issue, and I cannot reproduce - does the problem exist with an USB-stick too? If so, please open a new bugreport for this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User prusnak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c26 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |INVALID --- Comment #26 from Pavol Rusnak <prusnak@novell.com> 2009-03-05 06:29:47 MST --- Updated Xfce 4.6 packages are ready in BuildService - see http://stick.gk2.sk/blog/2009/02/xfce-4-6-0-released-and-ready-for-testing/ for instructions. I am able to mount/unmount the USB drive as non-root user, thus I'm closing this bug due to previous comment. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User jcs@piments.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c27 --- Comment #27 from Jaques Chitte <jcs@piments.com> 2009-03-08 19:08:02 MST --- How can you seriously close this as invalid? The bug as reported was / is VALID. It exists in the current release. If some irrelevant comments were added that does not invalidate the bug. Saying you have not found it in the pre-release test build means it MAY BE fixed. It does not make it invalid. Until suse releases fix it is neither INVALIS nor FIXED . -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User prusnak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c28 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #28 from Pavol Rusnak <prusnak@novell.com> 2009-03-23 04:22:47 MST --- reopening -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=416956 User info@tristanhoffmann.de added comment https://bugzilla.novell.com/show_bug.cgi?id=416956#c29 Tristan Hoffmann <info@tristanhoffmann.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |info@tristanhoffmann.de --- Comment #29 from Tristan Hoffmann <info@tristanhoffmann.de> 2009-03-29 05:02:37 MDT --- I have the same problem with openSUSE 11.1 (fully updated). The changes proposed in the description of this bug fixed the problem for me too, but since I use an external esata hdd that is considered internal I also had to change <action id="org.freedesktop.hal.storage.mount-fixed"> => <allow_inactive>no</allow_inactive> to <allow_inactive>yes</allow_inactive> => <allow_active>auth_admin_keep_always</allow_active> to <allow_active>yes</allow_active> PERMISSION_SECURITY is easy, local in /etc/sysconfig/security, so I think this bug could be easily fixed for most users by setting the values as proposed in the description and in my comment (see above) by default for this security level. This should work perfectly for normal end users. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com