Bug 274706

Summary: The option flush is not allowed for uid=1000
Product: [openSUSE] openSUSE 10.3 Reporter: Forgotten User 5jFyFBvk-I <forgotten_5jFyFBvk-I>
Component: HotplugAssignee: Danny Al-Gaaf <dalgaaf>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: aduffeck, al4321, behlert, coolo, forgotten_QFh0D9oMPg, forgotten_Si7ddX0wxG, forgotten_TCoG5wn8dE, holler, j.reitsma, rastislav.krupansky, william.gen, wstephenson
Version: Alpha 5plus   
Target Milestone: ---   
Hardware: 32bit   
OS: Other   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: The message it self
And with the parent window
Output of dmesg after connecting my SE K800i with card inside to USB.
error1
error2
you can see, that external disk is mounted, but usb key and cd/dvd-rom(inserted in dvd rom)are not.

Description Forgotten User 5jFyFBvk-I 2007-05-15 12:28:04 UTC
When trying to open devices like iPod and USB key I get the above error. My external disk attached via USB works fine though
Comment 1 Cyril Hrubis 2007-05-15 18:17:22 UTC
Please attach screen shot showing this message.
Comment 2 Forgotten User 5jFyFBvk-I 2007-05-15 20:32:13 UTC
Ok, here they are
Comment 3 Forgotten User 5jFyFBvk-I 2007-05-15 20:33:05 UTC
Created attachment 140227 [details]
The message it self
Comment 4 Forgotten User 5jFyFBvk-I 2007-05-15 20:33:27 UTC
Created attachment 140228 [details]
And with the parent window
Comment 5 Rafał Miłecki 2007-05-17 17:11:57 UTC
I confirm this bug. When I connect my Sony Ericsson K800i openSUSE informs me about 2 new devices (phone + card inside) and asks what I want to do.

I check opening device in new window and then I get this error.

I attach my dmesg with hope this will be helpfully.

P.S.
When I try to open device as root (kdesu konqueror sysinfo:/) I get this same error. The only difference is that I see "The option 'flush' is not allowed for uid=0".
Comment 6 Rafał Miłecki 2007-05-17 17:13:15 UTC
Created attachment 140840 [details]
Output of dmesg after connecting my SE K800i with card inside to USB.
Comment 7 Andre Duffeck 2007-05-18 13:15:31 UTC
Same problem here with an usb stick.

The interesting parts from .xsession-errors:
kded: ERROR: mount failed for /org/freedesktop/Hal/devices/volume_uuid_4627_5E2F: org.freedesktop.Hal.Device.Volume.InvalidMountOption - The option 'flush' is not allowed for uid=1000
kded: ERROR: mounting /org/freedesktop/Hal/devices/volume_uuid_4627_5E2F returned The option 'flush' is not allowed for uid=1000
Comment 8 Matej Horvath 2007-05-21 13:13:32 UTC
*** Bug 276131 has been marked as a duplicate of this bug. ***
Comment 9 Matej Horvath 2007-05-21 14:30:31 UTC
*** Bug 276477 has been marked as a duplicate of this bug. ***
Comment 10 Dusan Peterc 2007-05-22 10:18:40 UTC
I confirm this but for Alpha4, tested with several different
USB memory keys. For me, it is a showstopper, since Linux with
a broken USB memory subsystem is useless to me. But in respect
of even more serious bugs, I only raise the priority only to high.
Comment 11 Hans-Peter Holler 2007-05-23 13:30:04 UTC
Summary should read: The option flush is not allowed for uid=*
Even root can't mount FAT-formatted USB-Sticks.
Guess hal-0.5.8_git200704021230 is causing this.
Last changelog:
* Fr Mai 11 2007 - dkukawka@suse.de
- added new patches:
  - hal-fix-SetPowerSave.diff: fix SetPowerSave() return type
  - hal-update-libparted_check.diff: allow also libparted 1.8.7
  - hal-fix-acpi_on_battery_discharging.diff: fix broken ACPI
  batteries from b.n.c #258755
  - hal-fix-acpiIBM_brightness_up.diff: disable forward brightness
  up key event since this now also work via input-layer
  - hal-allow_uid_gid_on_hfs_v2.diff: allow gid=/uid= for removable
  media volumes with hfs filesystems, see b.n.c#232235
  - hal-fix-mount_options_vfat.diff: allow -o flush for vfat see
  b.n.c #230737
Comment 12 Danny Al-Gaaf 2007-05-23 16:00:20 UTC
could you change this line in /usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi from:

<append key="volume.mount.valid_options" type="strlist">flush=</append>

to
<append key="volume.mount.valid_options" type="strlist">flush</append>
Comment 13 Hans-Peter Holler 2007-05-23 16:23:21 UTC
Great! Works with this change.
THX
Comment 14 Hans-Peter Holler 2007-05-29 08:31:16 UTC
Factory's hal-0.5.8_git200704021230-23 (Build Date: Sun May 27 23:36:19 2007) still shows the "="-character in
/usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi.
Please update the package.
Thanks.
Comment 15 Danny Al-Gaaf 2007-05-30 08:41:11 UTC
(In reply to comment #14)
> Factory's hal-0.5.8_git200704021230-23 (Build Date: Sun May 27 23:36:19 2007)

And? Did someone say this bug get fixed? Remember this is factory, you know the solution and there was no new release.

Comment 16 Hans-Peter Holler 2007-05-30 15:51:12 UTC
This is factory, indeed. So you can fix a bug when the solution is known, put it in the buildservice and hopefully it will appear in factory automagically.

BTW: 20-storage-methods.fdi in gitweb.freedesktop.org doesn't show the "=" and there's no diff that it was there since the flush option was committed.

But you are the maintainer, not me. I will wait. :-)
Comment 17 Hans-Peter Holler 2007-05-30 16:07:52 UTC
Didn't read #279084 before writing comment #16. So I think the fix is on the way.
Thanks.
Comment 18 Felix Möller 2007-06-09 12:58:26 UTC
*** Bug 282637 has been marked as a duplicate of this bug. ***
Comment 19 Silviu Marin-Caea 2007-06-12 09:36:36 UTC
The automagic hasn't happened yet in hal-0.5.8_git200704021230-32.  It's no problem waiting, just as long as you're sure the magic is still processing and has not malfunctioned.
Comment 20 Hans-Peter Holler 2007-06-16 21:45:17 UTC
Just to see it on top of the list :-)

*** This bug has been marked as a duplicate of bug 284924 ***
Comment 21 Danny Al-Gaaf 2007-06-17 10:00:27 UTC
This is not the duplicate ... the new bug is a duplicate of this one
Comment 22 Danny Al-Gaaf 2007-06-17 10:00:46 UTC
*** Bug 284924 has been marked as a duplicate of this bug. ***
Comment 23 Rastislav Krupansky 2007-06-17 11:39:44 UTC
Hello.
I dont want to write a new bug, but mounting still doesn't work.External hard disk attached via usb works fine, but usb key and cd/dvd-rom doesn't work.
Btw, i have installed openSUSE 10.3 aplha5, 1 KDE cd install.
Regards, Rasto
Comment 24 Rastislav Krupansky 2007-06-17 11:41:21 UTC
Created attachment 146656 [details]
error1
Comment 25 Rastislav Krupansky 2007-06-17 11:42:12 UTC
Created attachment 146657 [details]
error2
Comment 26 Rastislav Krupansky 2007-06-17 11:43:58 UTC
Created attachment 146658 [details]
you can see, that external disk is mounted, but usb key and cd/dvd-rom(inserted in dvd rom)are not.
Comment 27 Matej Horvath 2007-06-20 07:39:00 UTC
*** Bug 280689 has been marked as a duplicate of this bug. ***
Comment 28 Hans-Peter Holler 2007-06-26 19:53:28 UTC
as time goes by ...
Comment 29 Will Stephenson 2007-06-29 12:38:36 UTC
Danny, I just tested your suggested fix and this works.  I'm sitting ~2.5 metres away from you if you want to check it out.
Comment 30 Will Stephenson 2007-06-29 13:15:59 UTC
Danny tells me he is waiting for a general hal update to fix this and this is blocked on policykit, but it is going to happen soon
Comment 31 Jogchum Reitsma 2007-07-10 19:28:19 UTC
*** Bug 290823 has been marked as a duplicate of this bug. ***
Comment 32 Silviu Marin-Caea 2007-07-17 11:38:32 UTC
Someone kill this bug!  Must.. not.. let it.. escape.. to beta..
Comment 33 Felix Möller 2007-07-21 07:31:03 UTC
*** Bug 293682 has been marked as a duplicate of this bug. ***
Comment 34 Rastislav Krupansky 2007-07-21 11:59:48 UTC
I've installed aplha 6 and mounting of usb keys doesn't work.Still the same problem.
Comment 35 Rastislav Krupansky 2007-07-21 13:11:35 UTC
And mounting of cd/dvd rom doesn't work too.So i can't try for example "Online Update Configuration" via YaST, because i get error "No package source defined".This message i got during installation too.So i can't add cd/dvd rom as installation source.
1 KDE cd installation medium, Aplha6
Regards
Comment 36 Forgotten User QFh0D9oMPg 2007-07-24 07:19:43 UTC
I don't want to appear impatient - I know this is factory, alpha, I paid nothing for it, and all that ;) ... 

But this (serious) bug lingers for quite some time now...
Comment 37 Silviu Marin-Caea 2007-07-24 12:57:39 UTC
Inserting the flash stick now gives the error

A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")



:-( who sent what to whom and who didn't let who see what?


I confirm that CD/DVDs are not mounted anymore, with the same confusing error message appearing.

Comment 38 Stephan Kulow 2007-07-24 16:01:24 UTC
Now that the solution of the problem celebrates its second monthersary, Danny agreed to fix this on friday the one way or the other (still hoping he sees a new hal version for alpha7)
Comment 39 Rastislav Krupansky 2007-07-24 20:08:57 UTC
I tried alpha6 from dvd install medium today and cd/dvd mounting worked.How is that possible that mounting of cd/dvd rom from 1KDE cd doesn't work, but from dvd install works?
Strange.
Comment 40 Stephan Kulow 2007-07-25 06:09:13 UTC
that's a different bug. File one - this bug is about USB and fat file systems.
Comment 41 Danny Al-Gaaf 2007-07-27 15:40:20 UTC
submitted fixed patch
Comment 42 Danny Al-Gaaf 2007-07-27 15:46:38 UTC
close bug as FIXED