Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
allowing users to unmount drives mounted by ivman 0.6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
halfgaar
l33t
l33t


Joined: 22 Feb 2004
Posts: 781
Location: Netherlands

PostPosted: Sun Mar 19, 2006 6:42 pm    Post subject: allowing users to unmount drives mounted by ivman 0.6 Reply with quote

Hi,

Using ivman to automount drives has the very anoying property that you can't unmount the device when you're not root. The ivman wiki article has a workaround for that by modifying hal policies, but that doesn't work for ivman 0.6.x. It doesn't only say that, but I've tried it, and it really doesn't work. I've even tried to add the option in the /usr/share/hal/fdi/policy/10osvendor/10-storage-policy.fdi file, but that didn't work either.

So, how do I get the "users" options to be passed to pmount-hal which is called by ivman?

Any insight into how the options are passed to pmount-hal would be welcome as well. Zip disks for example get mounted with the options "rw,noexec,nosuid,nodev,quiet,shortname=winnt,uid=106,gid=446,umask=007", but I can't find most of those options in either ivman or hal config files or policies. In fact, the hal policies often specify the exact oposite. The only options I could identify are the uid, gid and umask, which are set in /etc/ivman/IvmConfigBase.xml.

As a last note, running ivman as normal user is not the solution I'm looking for, since it feels like a kludge.

Any help would be appreciated.
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Tue Mar 21, 2006 12:10 pm    Post subject: Reply with quote

Couldn't you accomplish that by adding 'users' to the options list? That would allow anyone to unmount the /dev node though, unfortunately...
Back to top
View user's profile Send private message
halfgaar
l33t
l33t


Joined: 22 Feb 2004
Posts: 781
Location: Netherlands

PostPosted: Tue Mar 21, 2006 12:15 pm    Post subject: Reply with quote

That's exactly what I'm trying to do:

halfgaar, being me, wrote:
So, how do I get the "users" options to be passed to pmount-hal which is called by ivman?


Any suggestions as to how?

BTW, why would that allow anyone to unmount /dev? /dev is not mounted by ivman, therefore ivman's or hal's options are not passed to it when it's mounted.
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Tue Mar 21, 2006 12:24 pm    Post subject: Reply with quote

Nevermind... I'm just being a tard because it's so late here (4:24 am).
Back to top
View user's profile Send private message
halfgaar
l33t
l33t


Joined: 22 Feb 2004
Posts: 781
Location: Netherlands

PostPosted: Thu Mar 23, 2006 11:30 pm    Post subject: Reply with quote

Bump. Noone got any ideas?
Back to top
View user's profile Send private message
halfgaar
l33t
l33t


Joined: 22 Feb 2004
Posts: 781
Location: Netherlands

PostPosted: Fri Mar 24, 2006 12:06 pm    Post subject: Reply with quote

I've just discovered another very annoying thing about ivman. When ejecting a cdrom (with the eject button) when it's in use, by Konquerer for exapmle, it remains mounted. This means that any new cd's you insert, don't get mounted automaticly, and you have to become root to unmount the stale mount...

Why was fstab-sync substituted for ivman? Ivman is nothing but trouble.
Back to top
View user's profile Send private message
halfgaar
l33t
l33t


Joined: 22 Feb 2004
Posts: 781
Location: Netherlands

PostPosted: Tue Mar 28, 2006 6:14 pm    Post subject: Reply with quote

More problems. When ejecting the cd and the unmount doesn't happen cleanly, you often see filenames on any new cd's you insert as jibberish. And, I've been getting IO errors which cleared up when I forced an unmount and remounted.

Is there noone else with such problems?
Back to top
View user's profile Send private message
urcindalo
l33t
l33t


Joined: 08 Feb 2005
Posts: 623
Location: Almeria, Spain

PostPosted: Tue May 09, 2006 2:39 pm    Post subject: Reply with quote

There are some of us with a similar user-can't-unmount problem.

Read my posts (urcindalo) in this thread: umounting usb, yet again.
Especially, note I explain after fresh installations everything's working fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum