Bug 689736
Summary: | MLS in single-user mode: /var/lock/lvm: setfscreatecon failed: Permission denied | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Milos Malik <mmalik> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.7 | CC: | dwalsh |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-2.4.6-304.el5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 680388 | Environment: | |
Last Closed: | 2011-07-21 09:19:50 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 680388 | ||
Bug Blocks: |
Description
Milos Malik
2011-03-22 10:18:32 UTC
Relevant part of the boot-up messages seen in console: failed to stat() /dev/mapper/no failed to stat() /dev/mapper/block failed to stat() /dev/mapper/devices failed to stat() /dev/mapper/found Setting up Logical Volume Management: /var/lock/lvm: setfscreatecon failed: Permission denied (null): setfscreatecon failed: Permission denied No volume groups found [ OK ] Checking filesystems Checking all file systems. The same AVCs but printed by ausearch: ---- time->Tue Mar 22 06:25:07 2011 type=SYSCALL msg=audit(1300789507.470:14): arch=c0000032 syscall=1027 success=no exit=-13 a0=3 a1=6000000000bc3800 a2=20 a3=c00000000000038b items=0 ppid=2462 pid=2463 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="vgs" exe="/usr/sbin/lvm" subj=system_u:system_r:lvm_t:s0-s15:c0.c1023 key=(null) type=AVC msg=audit(1300789507.470:14): avc: denied { setfscreate } for pid=2463 comm="vgs" scontext=system_u:system_r:lvm_t:s0-s15:c0.c1023 tcontext=system_u:system_r:lvm_t:s0-s15:c0.c1023 tclass=process ---- time->Tue Mar 22 06:25:07 2011 type=SYSCALL msg=audit(1300789507.471:15): arch=c0000032 syscall=1027 success=no exit=-13 a0=3 a1=0 a2=0 a3=c00000000000038b items=0 ppid=2462 pid=2463 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="vgs" exe="/usr/sbin/lvm" subj=system_u:system_r:lvm_t:s0-s15:c0.c1023 key=(null) type=AVC msg=audit(1300789507.471:15): avc: denied { setfscreate } for pid=2463 comm="vgs" scontext=system_u:system_r:lvm_t:s0-s15:c0.c1023 tcontext=system_u:system_r:lvm_t:s0-s15:c0.c1023 tclass=process ---- I will backport from RHEL6. Fixed in selinux-policy-2.4.6-304.el5 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-1069.html An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-1069.html |