RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1148594 - Updating rhel7 VM causes various prelink and alsactl avcs
Summary: Updating rhel7 VM causes various prelink and alsactl avcs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.1
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-01 19:51 UTC by Avesh Agarwal
Modified: 2015-03-05 10:45 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.13.1-4.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-05 10:45:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0458 0 normal SHIPPED_LIVE selinux-policy bug fix and enhancement update 2015-03-05 15:17:00 UTC

Description Avesh Agarwal 2014-10-01 19:51:56 UTC
Description of problem:
Updating rhel7 VM causes various prelink and alsactl avcs

Version-Release number of selected component (if applicable):
selinux-policy-3.12.1-153.el7_0.11.noarch

How reproducible:
always

Steps to Reproduce:
1. updated rhel7 vm to latest packages
2. Rebooted the VM and avcs appears.
3.

Actual results:
time->Wed Oct  1 14:30:01 2014
type=SYSCALL msg=audit(1412188201.944:955): arch=c000003e syscall=93 success=no exit=-13 a0=1 a1=0 a2=0 a3=2 items=0 ppid=16251 pid=16252 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1412188201.944:955): avc:  denied  { setattr } for  pid=16252 comm="prelink" name="" dev="pipefs" ino=326474 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=fifo_file
----
time->Wed Oct  1 14:30:24 2014
type=SYSCALL msg=audit(1412188224.776:12): arch=c000003e syscall=2 success=no exit=-13 a0=41262f a1=2 a2=7fffc971a5fb a3=7fffc971a2b0 items=0 ppid=1 pid=563 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="alsactl" exe="/usr/sbin/alsactl" subj=system_u:system_r:alsa_t:s0 key=(null)
type=AVC msg=audit(1412188224.776:12): avc:  denied  { read } for  pid=563 comm="alsactl" name="lock" dev="dm-0" ino=392490 scontext=system_u:system_r:alsa_t:s0 tcontext=system_u:object_r:var_lock_t:s0 tclass=lnk_file
----
time->Wed Oct  1 14:30:24 2014
type=SYSCALL msg=audit(1412188224.777:13): arch=c000003e syscall=2 success=no exit=-13 a0=41262f a1=c2 a2=1a4 a3=7fffc971a2b0 items=0 ppid=1 pid=563 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="alsactl" exe="/usr/sbin/alsactl" subj=system_u:system_r:alsa_t:s0 key=(null)
type=AVC msg=audit(1412188224.777:13): avc:  denied  { read } for  pid=563 comm="alsactl" name="lock" dev="dm-0" ino=392490 scontext=system_u:system_r:alsa_t:s0 tcontext=system_u:object_r:var_lock_t:s0 tclass=lnk_file
----
time->Wed Oct  1 14:30:25 2014
type=SYSCALL msg=audit(1412188225.905:85): arch=c000003e syscall=93 success=no exit=-13 a0=1 a1=0 a2=0 a3=2 items=0 ppid=744 pid=771 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0 key=(null)
type=AVC msg=audit(1412188225.905:85): avc:  denied  { setattr } for  pid=771 comm="prelink" name="" dev="pipefs" ino=18283 scontext=system_u:system_r:prelink_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=fifo_file
----
time->Wed Oct  1 14:30:28 2014
type=SYSCALL msg=audit(1412188228.572:353): arch=c000003e syscall=93 success=no exit=-13 a0=1 a1=0 a2=0 a3=2 items=0 ppid=1255 pid=1256 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0 key=(null)
type=AVC msg=audit(1412188228.572:353): avc:  denied  { setattr } for  pid=1256 comm="prelink" name="" dev="pipefs" ino=20909 scontext=system_u:system_r:prelink_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=fifo_file
----
time->Wed Oct  1 14:34:46 2014
type=SYSCALL msg=audit(1412188486.721:385): arch=c000003e syscall=93 success=no exit=-13 a0=1 a1=0 a2=0 a3=2 items=0 ppid=2285 pid=2286 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1412188486.721:385): avc:  denied  { setattr } for  pid=2286 comm="prelink" name="" dev="pipefs" ino=48038 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:initrc_t:s0-s0:c0.c1023 tclass=fifo_file
----
time->Wed Oct  1 14:34:46 2014
type=SYSCALL msg=audit(1412188486.736:386): arch=c000003e syscall=93 success=no exit=-13 a0=1 a1=0 a2=0 a3=2 items=0 ppid=2285 pid=2289 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1412188486.736:386): avc:  denied  { setattr } for  pid=2289 comm="prelink" name="" dev="pipefs" ino=48047 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:initrc_t:s0-s0:c0.c1023 tclass=fifo_file
----
time->Wed Oct  1 14:35:30 2014
type=SYSCALL msg=audit(1412188530.011:388): arch=c000003e syscall=2 success=no exit=-13 a0=41262f a1=c2 a2=1a4 a3=0 items=0 ppid=1 pid=563 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="alsactl" exe="/usr/sbin/alsactl" subj=system_u:system_r:alsa_t:s0 key=(null)
type=AVC msg=audit(1412188530.011:388): avc:  denied  { read } for  pid=563 comm="alsactl" name="lock" dev="dm-0" ino=392490 scontext=system_u:system_r:alsa_t:s0 tcontext=system_u:object_r:var_lock_t:s0 tclass=lnk_file
----
time->Wed Oct  1 14:35:30 2014
type=SYSCALL msg=audit(1412188530.010:387): arch=c000003e syscall=2 success=no exit=-13 a0=41262f a1=2 a2=7fffc971a55b a3=0 items=0 ppid=1 pid=563 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="alsactl" exe="/usr/sbin/alsactl" subj=system_u:system_r:alsa_t:s0 key=(null)
type=AVC msg=audit(1412188530.010:387): avc:  denied  { read } for  pid=563 comm="alsactl" name="lock" dev="dm-0" ino=392490 scontext=system_u:system_r:alsa_t:s0 tcontext=system_u:object_r:var_lock_t:s0 tclass=lnk_file
----
time->Wed Oct  1 14:40:01 2014
type=SYSCALL msg=audit(1412188801.767:391): arch=c000003e syscall=93 success=no exit=-13 a0=1 a1=0 a2=0 a3=2 items=0 ppid=2392 pid=2393 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1412188801.767:391): avc:  denied  { setattr } for  pid=2393 comm="prelink" name="" dev="pipefs" ino=57655 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=fifo_file
----
time->Wed Oct  1 14:50:01 2014
type=SYSCALL msg=audit(1412189401.935:401): arch=c000003e syscall=93 success=no exit=-13 a0=1 a1=0 a2=0 a3=2 items=0 ppid=2535 pid=2536 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1412189401.935:401): avc:  denied  { setattr } for  pid=2536 comm="prelink" name="" dev="pipefs" ino=60066 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=fifo_file
----
time->Wed Oct  1 15:00:01 2014
type=SYSCALL msg=audit(1412190001.048:448): arch=c000003e syscall=93 success=no exit=-13 a0=1 a1=0 a2=0 a3=2 items=0 ppid=3317 pid=3318 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1412190001.048:448): avc:  denied  { setattr } for  pid=3318 comm="prelink" name="" dev="pipefs" ino=95255 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=fifo_file
----
time->Wed Oct  1 15:01:01 2014
type=SYSCALL msg=audit(1412190061.146:456): arch=c000003e syscall=93 success=no exit=-13 a0=1 a1=0 a2=0 a3=2 items=0 ppid=3428 pid=3429 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1412190061.146:456): avc:  denied  { setattr } for  pid=3429 comm="prelink" name="" dev="pipefs" ino=96467 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=fifo_file
----
time->Wed Oct  1 15:10:01 2014
type=SYSCALL msg=audit(1412190601.308:484): arch=c000003e syscall=93 success=no exit=-13 a0=1 a1=0 a2=0 a3=2 items=0 ppid=3947 pid=3948 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1412190601.308:484): avc:  denied  { setattr } for  pid=3948 comm="prelink" name="" dev="pipefs" ino=117005 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=fifo_file
----
time->Wed Oct  1 15:20:01 2014
type=SYSCALL msg=audit(1412191201.437:503): arch=c000003e syscall=93 success=yes exit=0 a0=1 a1=0 a2=0 a3=2 items=0 ppid=4405 pid=4406 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1412191201.437:503): avc:  denied  { setattr } for  pid=4406 comm="prelink" name="" dev="pipefs" ino=125023 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=fifo_file
----
time->Wed Oct  1 15:30:01 2014
type=SYSCALL msg=audit(1412191801.552:516): arch=c000003e syscall=93 success=yes exit=0 a0=1 a1=0 a2=0 a3=2 items=0 ppid=4537 pid=4538 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1412191801.552:516): avc:  denied  { setattr } for  pid=4538 comm="prelink" name="" dev="pipefs" ino=127024 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=fifo_file
----
time->Wed Oct  1 15:40:01 2014
type=SYSCALL msg=audit(1412192401.663:524): arch=c000003e syscall=93 success=yes exit=0 a0=1 a1=0 a2=0 a3=2 items=0 ppid=4740 pid=4741 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1412192401.663:524): avc:  denied  { setattr } for  pid=4741 comm="prelink" name="" dev="pipefs" ino=129645 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=fifo_file
----
time->Wed Oct  1 15:50:01 2014
type=SYSCALL msg=audit(1412193001.804:534): arch=c000003e syscall=93 success=yes exit=0 a0=1 a1=0 a2=0 a3=2 items=0 ppid=4891 pid=4892 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1412193001.804:534): avc:  denied  { setattr } for  pid=4892 comm="prelink" name="" dev="pipefs" ino=131551 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=fifo_file



Expected results:
no avc

Additional info:

Comment 2 Miroslav Grepl 2014-10-02 08:54:37 UTC
Any chance to use the latest 7.1 policy builds? We should have some fixes in these 7.1 builds.

Comment 3 Avesh Agarwal 2014-10-03 19:07:58 UTC
I upgraded to selinux-policy-3.13.1-2.el7.noarch, and it seems prelink avcs still exists but alsactl avcs are gone. 


time->Fri Oct  3 14:40:01 2014
type=SYSCALL msg=audit(1412361601.215:431): arch=c000003e syscall=93 success=no exit=-13 a0=1 a1=0 a2=0 a3=2 items=0 ppid=12019 pid=12020 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1412361601.215:431): avc:  denied  { setattr } for  pid=12020 comm="prelink" name="" dev="pipefs" ino=50901 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=fifo_file
----
time->Fri Oct  3 14:50:01 2014
type=SYSCALL msg=audit(1412362201.289:441): arch=c000003e syscall=93 success=no exit=-13 a0=1 a1=0 a2=0 a3=2 items=0 ppid=12118 pid=12119 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1412362201.289:441): avc:  denied  { setattr } for  pid=12119 comm="prelink" name="" dev="pipefs" ino=52338 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=fifo_file
----
time->Fri Oct  3 15:00:01 2014
type=SYSCALL msg=audit(1412362801.380:468): arch=c000003e syscall=93 success=no exit=-13 a0=1 a1=0 a2=0 a3=2 items=0 ppid=12251 pid=12252 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1412362801.380:468): avc:  denied  { setattr } for  pid=12252 comm="prelink" name="" dev="pipefs" ino=54190 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=fifo_file
----
time->Fri Oct  3 15:01:01 2014
type=SYSCALL msg=audit(1412362861.489:476): arch=c000003e syscall=93 success=no exit=-13 a0=1 a1=0 a2=0 a3=2 items=0 ppid=12328 pid=12329 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1412362861.489:476): avc:  denied  { setattr } for  pid=12329 comm="prelink" name="" dev="pipefs" ino=54976 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=fifo_file
----
time->Fri Oct  3 15:03:54 2014
type=SYSCALL msg=audit(1412363034.136:348): arch=c000003e syscall=93 success=no exit=-13 a0=1 a1=0 a2=0 a3=2 items=0 ppid=1207 pid=1208 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0 key=(null)
type=AVC msg=audit(1412363034.136:348): avc:  denied  { setattr } for  pid=1208 comm="prelink" name="" dev="pipefs" ino=20675 scontext=system_u:system_r:prelink_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=fifo_file
----
time->Fri Oct  3 15:05:10 2014
type=SYSCALL msg=audit(1412363110.249:347): arch=c000003e syscall=93 success=no exit=-13 a0=1 a1=0 a2=0 a3=2 items=0 ppid=1205 pid=1206 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0 key=(null)
type=AVC msg=audit(1412363110.249:347): avc:  denied  { setattr } for  pid=1206 comm="prelink" name="" dev="pipefs" ino=20771 scontext=system_u:system_r:prelink_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=fifo_file
----
time->Fri Oct  3 15:06:23 2014
type=SYSCALL msg=audit(1412363183.186:347): arch=c000003e syscall=93 success=no exit=-13 a0=1 a1=0 a2=0 a3=2 items=0 ppid=1207 pid=1208 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="prelink" exe="/usr/sbin/prelink" subj=system_u:system_r:prelink_t:s0 key=(null)
type=AVC msg=audit(1412363183.186:347): avc:  denied  { setattr } for  pid=1208 comm="prelink" name="" dev="pipefs" ino=20827 scontext=system_u:system_r:prelink_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=fifo_file

Comment 4 Avesh Agarwal 2014-10-03 19:10:20 UTC
Also when I upgraded selinux-policy from 3.12.1-153.el7_0.11.noarch to selinux-policy-3.13.1-2.el7.noarch, I see following warning that shows removing file pkcsslotd.pp failed. 


Total size: 9.8 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : selinux-policy-3.13.1-2.el7.noarch                                                                                                                                    1/4 
  Updating   : selinux-policy-targeted-3.13.1-2.el7.noarch                                                                                                                           2/4 
151k
  Cleanup    : selinux-policy-targeted-3.12.1-153.el7_0.11.noarch                                                                                                                    3/4 
warning: file /etc/selinux/targeted/modules/active/modules/pkcsslotd.pp: remove failed: No such file or directory
  Cleanup    : selinux-policy-3.12.1-153.el7_0.11.noarch                                                                                                                             4/4 
  Verifying  : selinux-policy-targeted-3.13.1-2.el7.noarch                                                                                                                           1/4 
  Verifying  : selinux-policy-3.13.1-2.el7.noarch                                                                                                                                    2/4 
  Verifying  : selinux-policy-3.12.1-153.el7_0.11.noarch                                                                                                                             3/4 
  Verifying  : selinux-policy-targeted-3.12.1-153.el7_0.11.noarch                                                                                                                    4/4 

Updated:
  selinux-policy.noarch 0:3.13.1-2.el7                                                   selinux-policy-targeted.noarch 0:3.13.1-2.el7                                                  

Complete!

Comment 5 Miroslav Grepl 2014-10-15 11:10:51 UTC
Milos,
could we open a new bug for these cron AVCS?

Comment 6 Milos Malik 2014-10-15 12:26:06 UTC
Let's focus on prelink_t { setattr } AVCs here. The alsa_t { read } AVCs are already addressed in BZ#1149130.

Comment 7 Milos Malik 2014-10-15 12:31:57 UTC
Following AVCs appeared on my VM after prelink installation and crond restart:
----
type=PATH msg=audit(10/15/2014 14:25:01.927:1106) : item=0 name=(null) inode=310567 dev=00:08 mode=fifo,600 ouid=root ogid=root rdev=00:00 obj=system_u:system_r:crond_t:s0-s0:c0.c1023 objtype=NORMAL 
type=SYSCALL msg=audit(10/15/2014 14:25:01.927:1106) : arch=x86_64 syscall=fchown success=no exit=-13(Permission denied) a0=0x1 a1=0x0 a2=0x0 a3=0x2 items=1 ppid=16810 pid=16811 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=prelink exe=/usr/sbin/prelink subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null) 
type=AVC msg=audit(10/15/2014 14:25:01.927:1106) : avc:  denied  { setattr } for  pid=16811 comm=prelink name= dev="pipefs" ino=310567 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=fifo_file 
----
type=PATH msg=audit(10/15/2014 14:25:02.010:1112) : item=0 name=(null) inode=310662 dev=00:08 mode=fifo,600 ouid=pcp ogid=pcp rdev=00:00 obj=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 objtype=NORMAL 
type=SYSCALL msg=audit(10/15/2014 14:25:02.010:1112) : arch=x86_64 syscall=fchown success=no exit=-13(Permission denied) a0=0x1 a1=0x0 a2=0x0 a3=0x2 items=1 ppid=16834 pid=16835 auid=pcp uid=pcp gid=pcp euid=pcp suid=pcp fsuid=pcp egid=pcp sgid=pcp fsgid=pcp tty=(none) ses=63 comm=prelink exe=/usr/sbin/prelink subj=system_u:system_r:prelink_t:s0-s0:c0.c1023 key=(null) 
type=AVC msg=audit(10/15/2014 14:25:02.010:1112) : avc:  denied  { setattr } for  pid=16835 comm=prelink name= dev="pipefs" ino=310662 scontext=system_u:system_r:prelink_t:s0-s0:c0.c1023 tcontext=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 tclass=fifo_file 
----

Comment 11 errata-xmlrpc 2015-03-05 10:45:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0458.html


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