Description of problem: In RHEL3 my logical volumes looked like: ls -l /dev/Volume00/ total 0 brw-rw---- 1 root disk 58, 5 Dec 18 11:14 LogVol00 brw-rw---- 1 root disk 58, 0 Dec 18 11:14 LogVol01 brw-rw---- 1 root disk 58, 2 Dec 18 11:14 LogVol02 brw-rw---- 1 root disk 58, 3 Dec 18 11:14 LogVol03 brw-rw---- 1 root disk 58, 4 Dec 18 11:14 LogVol04 brw-rw---- 1 root disk 58, 1 Dec 18 11:14 LogVol05 crw-r----- 1 root disk 109, 0 Dec 18 11:14 group Now on a RHEL 4 system: # ls -l /dev/mapper/ total 0 crw------- 1 root root 10, 63 Feb 23 09:55 control brw------- 1 root root 253, 4 Feb 23 09:55 VolGroup00-LogVol00 brw------- 1 root root 253, 0 Feb 23 09:55 VolGroup00-LogVol01 brw------- 1 root root 253, 2 Feb 23 09:55 VolGroup00-LogVol02 brw------- 1 root root 253, 3 Feb 23 09:55 VolGroup00-LogVol03 brw------- 1 root root 253, 1 Feb 23 09:55 VolGroup00-LogVol04 This has the effect of breaking amanda as it its gid is disk and it needs at least read permissions on the filesystem to use dump as uid/gid amanda/disk. Version-Release number of selected component (if applicable): lvm2-2.00.31-1.0.RHEL4 I'm filing this against lvm2 although perhaps anaconda would be better How reproducible: Always Steps to Reproduce: 1. Install a new system with logical volumes 2. ls -l /dev/mapper 3. Actual results: ls -l /dev/mapper total 0 crw------- 1 root root 10, 63 Feb 23 09:55 control brw------- 1 root root 253, 4 Feb 23 09:55 VolGroup00-LogVol00 brw------- 1 root root 253, 0 Feb 23 09:55 VolGroup00-LogVol01 brw------- 1 root root 253, 2 Feb 23 09:55 VolGroup00-LogVol02 brw------- 1 root root 253, 3 Feb 23 09:55 VolGroup00-LogVol03 brw------- 1 root root 253, 1 Feb 23 09:55 VolGroup00-LogVol04 Expected results: Something like RHEL3's: ls -l /dev/Volume00/ total 0 brw-rw---- 1 root disk 58, 5 Dec 18 11:14 LogVol00 brw-rw---- 1 root disk 58, 0 Dec 18 11:14 LogVol01 brw-rw---- 1 root disk 58, 2 Dec 18 11:14 LogVol02 brw-rw---- 1 root disk 58, 3 Dec 18 11:14 LogVol03 brw-rw---- 1 root disk 58, 4 Dec 18 11:14 LogVol04 brw-rw---- 1 root disk 58, 1 Dec 18 11:14 LogVol05 crw-r----- 1 root disk 109, 0 Dec 18 11:14 group Additional info: Is there any risk in me chgrp-ing/chmod-ing the devices by hand on RHEL4 so that amanda will work again?
Fixed by new device-mapper package in update 1. Yes, until then, you can add commands to /etc/rc.local to chgrp/chmod them. 'control' is OK as it is - only root ever uses it. *** This bug has been marked as a duplicate of 141050 ***