halevt-dev
[Top][All Lists]
Advanced

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

Re: [Halevt-dev] wrong message about fstab


From: nb
Subject: Re: [Halevt-dev] wrong message about fstab
Date: Mon, 06 Jul 2009 18:11:47 +0200

Le samedi 04 juillet 2009 à 20:46 +0200, DoubleHP a écrit :
> reference: http://bugs.gentoo.org/show_bug.cgi?id=276097
> 
> when I plug my USB drive (120G formated ext3), i got the message
> 
> Mount error for
> /org/freedesktop/Hal/devices/volume_uuid_ba10196b_ce79_4026_a04f_a18dc8829474:
> DBus Error org.freedesktop.Hal.Device.Volume.PermissionDenied: Device
> /dev/sdb1
> is listed in /etc/fstab. Refusing to mount.
> 
> when in fact my fstab contained:
> 
> LABEL=arch_longtime /mnt/arch_longtime ext3 defaults,noauto 0 0
> 
> Message says: "/dev/sdb1 is listed in /etc/fstab" but searching the
> patern with vim or grep gave no result. So, the way the message is
> phrased is wrong.
> 
> furthermore, after commenting the line, it still refused to mount my
> volume automatically:
> 
> Jul  1 21:33:05 moon-gen-3 logger: Mount error for
> /org/freedesktop/Hal/devices/volume_uuid_ba10196b_ce79_4026_a04f_a18dc8829474:
> Jul  1 21:33:05 moon-gen-3 logger: DBus Error
> org.freedesktop.Hal.Device.Volume.InvalidMountOption: The option
> 'umask=000' is
> not allowed for uid=0

user halevt *must* be in groups disk, audio end fuse, check the
file /etc/groups

What is the content of your /etc/fstab file?

> Jul  1 21:33:05 moon-gen-3 kjournald starting.  Commit interval 5 seconds
> Jul  1 21:33:05 moon-gen-3 EXT3-fs warning: mounting fs with errors, running
> e2fsck is recommended
> Jul  1 21:33:05 moon-gen-3 EXT3 FS on sdb1, internal journal
> Jul  1 21:33:05 moon-gen-3 EXT3-fs: mounted filesystem with ordered data
> mode.
> Jul  1 21:33:05 moon-gen-3 halevt: Running: halevt-mount -s
> Jul  1 21:33:05 moon-gen-3 logger: Mounted with manual mount
> Jul  1 21:33:05 moon-gen-3 logger: Type of volume detected: ext3
> 
> But without the mask "000", FAT usb keys mounted by halevt are not
> writable for user (what renders halevt useless to me).
> 
> please:
> - change the error message when the device is mentioned in fstab by his
> label
> - make halevt more "user writable"
> - document this feature a better in example/squeleton files
> - provide the URL of a full ducomentation in each conf file (and not
> just the URL of the XML format itself: it's missing all hal specific
> available variables).
> 
> I think the usable variables are the names given by lshal, but i am not
> sure at all. This is not stated anywhere. Furthermore, the syntax to use
> variables is no more the same as used to be with ivman. Confusing.
> 

I use the mask "000" and in fact I did this because I'm the only one to
use my laptop

> NB: I will *not* subscribe to the ML.
> 
> Good luck.
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]