Talk:Ivman

From Gentoo Linux Wiki

(Redirected from Talk:HOWTO ivman)
Jump to: navigation, search

I feel the article is missing something still. I couldn't get my usb stick to automatically mount by following this article. The kioslaves/pmount/ivman/udev rules/etc issue and automounting feature should definately be merged into one article.

Read the last part of the article. This problem don't come from udev but from hal not reporting USB disks as mountable by default.

Contents

[edit] ivman won't emerge

Does anybody else get this message?

Code: Error

sys-fs/udev-115-r1 (is blocking sys-fs/device-mapper-1.02.22-r5)

In these situations I usually just uninstall the blocking package, but I'm hesitant to do that when it's a critical part of my system.

      • I got also this message when trying to emerge wine ... Workaround is to do a "emerge udev" during the same sync cycle ***
      • I got also this message when trying to emerge gnome on x86_64 ... ***

Solution: http://forums.gentoo.org/viewtopic-t-632786-highlight-device+mapper+udev.html

[edit] USB disks wont mount

With the current stable release of HAL (0.5.7.1-r5) the folder /etc/hal/fdi/policy/ does not exist. Not sure if it works when just creating it. It works with HAL 0.5.9-r1

[edit] mounting memory sticks on a multi user system

My desktop system is running two simultanuous KDE sessions for two different users. Both users have their own USB memory stick. By using udev's uuid to the memory stick in the fstab entry, I'm able to automatically mount each memory stick to the correct user's mount point, with correct permissions. So far so good.

However trying to unmount my own memory stick, either: - when running ivman as root I need root priviledges to unmount, which is a potential security hazard; - every now and then due to a race condition the wrong user mounted the other user's memory stick (with the stick's correct permissions), however the other user (or root) will need to issue the unmount command.

When using sudo to unmount, all otherwise unpriviledged users are allowed to unmount *any* filesystem. Either that or /etc/sudoers must include an extensive specification on all possible mount points that are allowed to be unmounted.

[edit] FVWM-Crystal

I removed the following because it is not needed. Recent ivman versions just work on FVWM-Crystal.

    • Fvwm-crystal: Edit your startup file and add:
File: ~/.fvwm-crystal/preferences/Startup
#Launch ivman
+ I Test (x ivman) Exec pidof ivman || exec ivman

--Dominique 71 19:12, 12 May 2007 (UTC)

[edit] coldplug

DualG4 ~ # emerge -pv coldplug

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] sys-apps/hotplug-base-20040401  41 kB
[ebuild  N    ] sys-apps/hotplug-20040923-r2  44 kB
[ebuild  N    ] sys-apps/coldplug-20040920-r1  0 kB
[blocks B     ] >=sys-fs/udev-089 (is blocking sys-apps/coldplug-20040920-r1)
[blocks B     ] sys-apps/coldplug (is blocking sys-fs/udev-115-r1)

Total: 3 packages (3 new, 2 blocks), Size of downloads: 85 kB

I assume that udev-115-r1 supersedes coldplug and therefore coldplug is no longer required. If this is correct, then the statement, that HAL may require coldplug, should be removed.

--Andreas 12:26, 24 February 2008 (UTC)

Personal tools