Bug 149943 - lvm2 device permissions wrong
Summary: lvm2 device permissions wrong
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: device-mapper
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Alasdair Kergon
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-28 21:48 UTC by David Carlson
Modified: 2010-01-12 02:14 UTC (History)
0 users

Fixed In Version: 1.00.20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-03-01 15:10:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Carlson 2005-02-28 21:48:21 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0

Description of problem:
The permissions on the default volume groups are 600 root:root, and should really IMHO) mirror sd* permissions: 660 root:disk.  Specifically, this makes amanda-client die and causes amanda-based backups not to run.

Version-Release number of selected component (if applicable):
udev-039-10.8.EL4

How reproducible:
Always

Steps to Reproduce:
1. Set up a RHEL 4 host with LVM (the default)
2. Set up a backup set including a RHEL 4 host (make sure a hole is in the fw)
3. Run amcheck


Actual Results:  Amanda Backup Client Hosts Check
--------------------------------
ERROR: <somewhere>.math.umn.edu: [could not access /dev/mapper/VolGroup00-LogVol00 (root): Permission denied]
Client check: 3 hosts checked in 0.024 seconds, 1 problem found

Expected Results:  Amanda Backup Client Hosts Check
--------------------------------
Client check: 3 hosts checked in 0.024 seconds, 0 problems found

Additional info:

I don't know if it's udev that sets the permission (lvm might?), but it's been the culprit for other things, so I might as well.

Comment 1 Harald Hoyer 2005-03-01 11:11:52 UTC
$ udevinfo -q all -n /dev/mapper/Vol1-lvol0
device not found in database

lvm devices do not seem to be created by udev.

Comment 2 Alasdair Kergon 2005-03-01 15:10:18 UTC
Indeed, doesn't use udev.
Already addressed in 1.00.20 which should be included in U1.


Note You need to log in before you can comment on or make changes to this bug.