[dm-crypt] Problem with udev and dmcrpyt
Milan Broz
mbroz at redhat.com
Fri Jul 16 09:42:07 CEST 2010
On 07/16/2010 04:44 AM, Aaron Lewis wrote:
> udevd-work[7416]: kernel-provided name 'dm-2' and NAME= 'mapper/crypt_0'
> disagree, please use SYMLINK+= or change the kernel to provide the
> proper name
>
>
> So i put udev rules like this:
>
> KERNEL=="dm-0",NAME="dm-0",SYMLINK+="mapper/home"
> KERNEL=="dm-1",NAME="dm-1",SYMLINK+="mapper/code"
This is completely wrong, never do that. dm-X names are dynamic.
No need to worry about the warning above if it works.
> How can i get rid of that together ?
Update package which provides DM new rules. Yor distro should provide
it if they update udev.
Milan
More information about the dm-crypt
mailing list