On Thu, 2008-08-14 at 13:56 +0000, Orus wrote:

>  I've typed "sudo udevadm test /block/dm-8 > udev_test.log" because
> i've got an error permission error and my partition is dm-8.
> 
That's fine; exactly what you should have done :-)

>   My rules is 99-vg-vxp.rules, if I use a number lesser than 85 it
> doesn't work, because of the rule 85-lvm2.rules (I presume).
> 
>   For your information, here is the content of 85-lvm2.rules :
> 
> SUBSYSTEM=="block", ACTION=="add|change", ENV{ID_FS_TYPE}=="lvm*|LVM*", \
>         RUN+="watershed sh -c '/sbin/lvm vgscan; /sbin/lvm vgchange -a y'"
> 
Actually, this doesn't matter.

This is run for the underlying block device (e.g. sda1) and is what
results in a further udev pass for dm-8.

You would need to run it after the dmsetup rules (25-dmsetup I think).

> By default, watershed is not installed, so I installed the package
> "chiark-utils-bin" and then "libnettle2". The dependencies are missing,
> but it is an other bug. ;-)
> 
Watershed should be in /lib/udev by default - it's part of the udev
package.


Could you attach your /var/log/udev and /var/log/dmesg files?

Scott
-- 
Scott James Remnant
[EMAIL PROTECTED]

-- 
Not possible to change permissions of a LVM partition using udev
https://bugs.launchpad.net/bugs/257638
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to