Bug 335499 - hal-storage-mount-removable no <-- (action, result)
Summary: hal-storage-mount-removable no <-- (action, result)
Status: RESOLVED DUPLICATE of bug 331002
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Hotplug (show other bugs)
Version: Final
Hardware: x86 openSUSE 10.3
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Kay Sievers
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-20 21:50 UTC by Rastislav Krupansky
Modified: 2007-10-31 01:47 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
otput lshal (119.93 KB, text/plain)
2007-10-20 21:50 UTC, Rastislav Krupansky
Details
output lshal -m (1.43 KB, text/plain)
2007-10-20 21:51 UTC, Rastislav Krupansky
Details
output udevmonitor (16.00 KB, text/plain)
2007-10-20 21:52 UTC, Rastislav Krupansky
Details
output dmesg (77.90 KB, text/plain)
2007-10-20 21:52 UTC, Rastislav Krupansky
Details
var/log/messages (519.29 KB, text/plain)
2007-10-20 21:59 UTC, Rastislav Krupansky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rastislav Krupansky 2007-10-20 21:50:19 UTC
problem with mounting of removables media has appeared again, like bugs 297548 or 298998.
when i insert cd/dvd, usb key or external hdd, i'll get message:

Error-Konqueror
hal-storage-mount-removable no <-- (action, result)

it isn't regularly.sometimes, i have to restart system and then it starts working.
Comment 1 Rastislav Krupansky 2007-10-20 21:50:58 UTC
Created attachment 179574 [details]
otput lshal
Comment 2 Rastislav Krupansky 2007-10-20 21:51:42 UTC
Created attachment 179575 [details]
output lshal -m
Comment 3 Rastislav Krupansky 2007-10-20 21:52:19 UTC
Created attachment 179576 [details]
output udevmonitor
Comment 4 Rastislav Krupansky 2007-10-20 21:52:48 UTC
Created attachment 179577 [details]
output dmesg
Comment 5 Rastislav Krupansky 2007-10-20 21:59:32 UTC
Created attachment 179578 [details]
var/log/messages
Comment 9 Ingo Wichmann 2007-10-24 15:42:37 UTC
I got this error too when trying to access CD/DVD:

Error-Konqueror
hal-storage-mount-removable no <-- (action, result)

Solved it for me by adding 

<config version="0.1">
  <match action="hal-storage-mount-removable">
    <return result="yes"/>
  </match>
</config>

to /etc/PolicyKit/PolicyKit.conf and then executing
polkit-reload-config

Didn't try to reproduce it yet. 

Comment 10 Andreas Heinlein 2007-10-24 17:08:37 UTC
I had this error since updating from 10.2 to 10.3 and can confirm that the fix from Ingo Wichmann worked for me, too.
I still get an error on unmounting (from kio_sysinfo), though - don't know if this is related. kio_media_mounthelper says something like "The volume was successfully unmounted but cannot be ejected" (my own translation back from german) Would really like to see opensuse ejecting my USB drive :-D
Comment 11 Dirk Mueller 2007-10-24 18:34:43 UTC
comment #9 can't be a fix. It might be that this is a duplicate of bug 333735, could you please look there if comment #12 fixes it for you?

Comment 12 Ingo Wichmann 2007-10-25 09:34:30 UTC
I wouldn't call it fix, but its a workaround ;-) ... and reproducable:

# cp -a PolicyKit.conf.orig PolicyKit.conf
# polkit-reload-config

now I get the error message again

# cp -a PolicyKit.conf.new PolicyKit.conf
# diff PolicyKit.conf PolicyKit.conf.new
8a9,14
>   <match action="hal-storage-mount-removable">
>     <return result="yes"/>
>   </match>
>   <match action="hal-power-suspend">
>     <return result="yes"/>
>   </match>
# polkit-reload-config

now it works again



And yes, the same workaround works for me in behalf of 'powersave -u' :

# cp -a PolicyKit.conf.orig PolicyKit.conf
# polkit-reload-config

$ powersave -u
User is not allowed for hal-power-suspend according to PolicyKit.

# cp -a PolicyKit.conf.new PolicyKit.conf
# polkit-reload-config

$ powersave -u
works again ;-)



But 
https://bugzilla.novell.com/show_bug.cgi?id=333735#c12
didn't solve the problem for me, though i didn't reboot yet:

# cp -a dbus dbus.orig
# vi dbus
# diff dbus dbus.orig
71c71
<       $DBUS_DAEMON_BIN $DBUS_DAEMON_PARAMETER
---
>       startproc -f -p $DBUS_DAEMON_PID $DBUS_DAEMON_BIN $DBUS_DAEMON_PARAMETER
# /etc/init.d/dbus restart
Shutting down D-Bus daemon                                           done
Starting D-Bus daemonUnknown username "gdm" in message bus configuration file
                                                                     done

the gdm error message is probably unrelated ...
now i can't eject my dvd by pressing the button on the dvd-drive?!

# eject

eject works. putting the dvd in again: no reaction, no error message

try to revert the change:

# cp -a dbus dbus.new
# cp -a dbus.orig dbus
# /etc/init.d/dbus restart
Shutting down D-Bus daemon                                           done
Starting D-Bus daemonUnknown username "gdm" in message bus configuration file
                                                                     done
again no reaction, no error message
my workaround doesn't work either ... will reboot now and hope for the best

Comment 13 Kay Sievers 2007-10-30 15:11:13 UTC
Any news? Does the D-Bus init-script fix solve the issue?
Comment 14 Rastislav Krupansky 2007-10-30 18:12:15 UTC
I've been trying it for five days and it seems it works for me.(comment #12 of bug 333735)
But sometimes problem is when i have enabled compiz-fusion, so i had to disable compiz-fusion.
Comment 15 Kay Sievers 2007-10-31 01:47:40 UTC

*** This bug has been marked as a duplicate of bug 331002 ***