Re: Failed to Create Symlinks ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sonntag, 29. November 2009, Kay Sievers wrote:
> On Sun, Nov 29, 2009 at 20:15, Matthias Schwarzott <zzam@xxxxxxxxxx> wrote:
> > I have a similar issue.
> > the lvm2 package on gentoo installs this udev rule:
> > KERNEL=="device-mapper", SYMLINK+="mapper/control"
> >
> > Now udev-147 cries about not being able to create the symlink as
> > kernel-provided name is already set to "mapper/control".
>
> Yes, this is expected, mapper/control is the primary name, and not a
> symlink.
I suggested lvm2 maintainers to change the rule to
KERNEL=="device-mapper", NAME="mapper/control"

>
> > So is the only possibility to surpress this warning to adjust the rule to
> > this?
> > KERNEL=="device-mapper", NAME="mapper/control"
>
> Looks like, yes. Recent kernels/udev though should not have any rule
> for this. We removed all such rules from the udev default rule set.
>
Sure, but gentoo does aim to support at least not only the newest kernels, but 
udev for now still supports 2.6.27 or even older versions with older udev 
versions.

Is there a way to conditionalize these rules besides shell tricks at boot 
checking kernel versions and discarding some rules/rule files on some 
conditions.

Matthias
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux