Bug#569745: internal LVM device names exposed in symlinks

Bastian Blank waldi at debian.org
Sun Feb 14 00:06:40 UTC 2010

On Sat, Feb 13, 2010 at 02:28:12PM -0800, Kees Cook wrote:
> In debian/tree/lvm2/lib/udev/rules.d/56-lvm.rules, several internal LVM
> names are checked so that they will be skipped for symlinks.  I think that
> _mlog (for the mirror log) and -cow & -real (for snapshots) are missing
> from the list.

_mlog maybe possible. -cow and -real are excluded already by the next

> Additionally, is it intentional to create dm-name and dm-uuid symlinks for
> these internal devices?

These are normal devices and dm-name/dm-uuid symlinks are just fancy
names for the contents of /dev/mapper.

>                          Nothing should be using /dev/disk/by-id to access
> them, so I think it makes sense to move the check in
> debian/tree/dmsetup/lib/udev/rules.d/60-persistent-storage-dm.rules
> above those symlinks too.

No, they have the same state as the backend devices of a raid.


I'm a soldier, not a diplomat.  I can only tell the truth.
		-- Kirk, "Errand of Mercy", stardate 3198.9

More information about the pkg-lvm-maintainers mailing list