Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 206042 - lvm_t disallowed write/getattr for lvm_etc_t
Summary: lvm_t disallowed write/getattr for lvm_etc_t
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Alasdair Kergon
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC6Blocker
TreeView+ depends on / blocked
 
Reported: 2006-09-11 17:34 UTC by Jeremy Katz
Modified: 2008-10-20 14:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-11 20:35:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jeremy Katz 2006-09-11 17:34:30 UTC
The lvm tools aren't being allowed write or getattr perms for lvm_etc_t -- I
expect that we probably do want to allow this (or alternately, /etc/lvm/.cache
should be labeled differently)

This leads to SELinux avcs on kernel upgrades

Comment 1 Daniel Walsh 2006-09-11 20:26:31 UTC
This should be labeled lvm_medata_t

ls -lZ /etc/lvm/.cache 
-rw-------  root root system_u:object_r:lvm_metadata_t /etc/lvm/.cache

Any idea how this got mislabeled?  Did you recreate the file without using lvm
tools?

Comment 2 Jeremy Katz 2006-09-11 20:35:05 UTC
Not that I know of.  But since I've only seen it on my laptop, I'm willing to
believe it's something spurious to do with how I go through rawhide daily ;)


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