in default config ivman after remove usb flash drive called "pumount /dev/sdb1" (in example), but udev remove /dev/sdb1 before and "pumount /dev/sdb1" not work Reproducible: Always Steps to Reproduce: 1.connect-disconnect flash drive 2.connect-disconnect flash drive 3.connect-disconnect flash drive Actual Results: many /dev/sd[d..z]1 mounted device Expected Results: not any /dev/sd[d..z]1 mounted device maybe make change in default /etc/ivman/IvmConfigBase.xml something like this <ivm:Option name="mountcommand" value="/usr/bin/pmount '$hal.block.device$'" /> <ivm:Option name="umountcommand" value="/usr/bin/sudo /bin/umount '$hal.block.device$'" /> and in /etc/sudoers add ivman ALL = NOPASSWD: /bin/umount
> <ivm:Option name="mountcommand" value="/usr/bin/pmount '$hal.block.device$'" /> change to <ivm:Option name="mountcommand" value="/usr/bin/pmount -u 002 '$hal.block.device$'" />
(In reply to comment #0) > <ivm:Option name="umountcommand" value="/usr/bin/sudo /bin/umount > '$hal.block.device$'" /> change to <ivm:Option name="umountcommand" value="/usr/bin/sudo /bin/umount -l '$hal.block.device$'" />
dont think its possible for an ebuild to modify sudoers. Also sounds highly risky to allow umount .. Can we not use pumount instead?
(In reply to comment #3) > dont think its possible for an ebuild to modify sudoers. Also sounds highly > risky to allow umount .. Can we not use pumount instead? > you are right, sudo and umount is bad idea for ebuild I try make this umount through udev rules, and add /etc/udev/rules.d/10-local.rules ACTION=="remove", BUS=="usb", KERNEL=="sd*", SUBSYSTEM=="block", RUN+="/bin/umount %p" but is don't workw I think way via udev more correct (while developer pmount not allow option not only /dev/*)
add Feature Requests in developer pmount http://alioth.debian.org/tracker/index.php?func=detail&aid=306696&group_id=31157&atid=412982
ivman has been masked for removal bug #257058