Bug#569745: internal LVM device names exposed in symlinks

Kees Cook kees at debian.org
Sat Feb 13 22:28:12 UTC 2010


Package: lvm2
Version: 2.02.54-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu lucid ubuntu-patch

Hello,

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.

Additionally, is it intentional to create dm-name and dm-uuid symlinks for
these internal devices?  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.

Thoughts?

-Kees

-- 
Kees Cook                                            @debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: symlinks.patch
Type: text/x-diff
Size: 1952 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20100213/ac3c9ba3/attachment.patch>


More information about the pkg-lvm-maintainers mailing list