Bug#518361: [lvm2] lvm2 device nodes created in /dev/mapper do not belong to group disk anymore
C. Dominik Bodi
dominik.bodi at gmx.de
Thu Mar 5 17:29:53 UTC 2009
--- Please enter the report below this line. ---
devices nodes created by lvm2 in /dev/mapper do not belong to the group "disk"
anymore. This makes it impossible for non-root users belonging to the disk
group to manipulate any of the logical volumes.
My particular use case is virtualbox-ose. I use lvm2 logical volumes to store
raw disk images for virtualbox. virtualbox doesn't run as root, so I added
the user running virtualbox-ose to the disk group. This used to work fine
until recently. I can't tell which version of lvm2 caused this to go wrong,
though, as I hadn't used virtualbox on this machine for a few weeks.
I set the umask to 022 in /etc/lvm/lvm.conf, ran update-initramfs and rebooted
the system, to no avail. I checked the updated initramfs, it did contain the
updated lvm.conf with umask set to 022.
--- System information. ---
Kernel: Linux 184.108.40.206-hirsch-1
Debian Release: squeeze/sid
--- Package information. ---
Depends (Version) | Installed
libc6 (>= 2.3) | 2.9-4
libdevmapper1.02.1 (>= 2:1.02.30) | 2:1.02.30-2
libreadline5 (>= 5.2) | 5.2-4
lsb-base | 3.2-20
More information about the pkg-lvm-maintainers