Re: USB stick

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2008-02-12 at 14:02 -0500, Tom Holroyd wrote:
> On Tue, 2008-02-12 at 10:25 -0600, Mikkel L. Ellertson wrote:
> > I believe the message is generated when HAL tries to run as a user 
> > other then the one that "owns" the console.
> 
> Hmm. Hal is running as user 68 (haldaemon). hald-runner and hald-addon-
> storage: polling /dev/sr0 (every 2 sec) are running as root.
> 
> Do I need to give hal some permisions somehow? I have selinux disabled.

More info.

The command that is run is gnome-mount, I can issue the command myself
from the command line, and add -v -nt for better diagnostics.

	/usr/bin/gnome-mount -v -nt --hal-
udi=/org/freedesktop/Hal/devices/volume_uuid_6161_3263

I get:

gnome-mount 0.6
** (gnome-mount:11405): DEBUG:
Mounting /org/freedesktop/Hal/devices/volume_uuid_6161_3263
** (gnome-mount:11405): DEBUG: read mount point '/media/razr' from gconf
string key
'/system/storage/volumes/_org_freedesktop_Hal_devices_volume_uuid_6161_3263/mount_point'
** (gnome-mount:11405): DEBUG: read default option 'shortname=lower'
from gconf strlist
key /system/storage/default_options/vfat/mount_options
** (gnome-mount:11405): DEBUG: read default option 'uid=' from gconf
strlist key /system/storage/default_options/vfat/mount_options
** (gnome-mount:11405): DEBUG:
Mounting /org/freedesktop/Hal/devices/volume_uuid_6161_3263 with
mount_point='/media/razr', fstype='', num_options=2
** (gnome-mount:11405): DEBUG:   option='shortname=lower'
** (gnome-mount:11405): DEBUG:   option='uid=500'

** (gnome-mount:11405): WARNING **: Mount failed
for /org/freedesktop/Hal/devices/volume_uuid_6161_3263
org.freedesktop.Hal.PermissionDenied : Permission denied: Not in active
session

If I run this command as root, it works. I didn't initially have a mount
point, it was defaulting to '', but adding one didn't help. Should I
make gnome-mount set-uid-root? Should I force haldaemon to run as root
instead of user 68? Perhaps these problems happened because I disabled
SELinux.

Dr. Tom
--
And "he who cannot bless shall learn to curse!"- this clear teaching
dropt to me from the clear heaven; this star stands in my heaven even in
dark nights. Thus spoke Zarathustra.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux