Bug 1465031 - init denied to read modprobe.d [NEEDINFO]
init denied to read modprobe.d
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: iptables (Show other bugs)
Unspecified Linux
medium Severity medium
: rc
: ---
Assigned To: Eric Garver
Depends On:
Blocks: 1470965 1472751
  Show dependency treegraph
Reported: 2017-06-26 08:56 EDT by Karel Volný
Modified: 2017-08-17 09:59 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
twoerner: needinfo? (kvolny)

Attachments (Terms of Use)

  None (edit)
Description Karel Volný 2017-06-26 08:56:37 EDT
Filed from caserun https://tcms.engineering.redhat.com/run/309346/#caserun_15657288

Version-Release number of selected component (if applicable):

Steps to Reproduce: 
run the test

Actual results: 
type=PROCTITLE msg=audit(1498229041.232:88): proctitle=2F62696E2F62617368002F7573722F6C6962657865632F69707461626C65732F6970367461626C65732E696E6974007374617274
type=SYSCALL msg=audit(1498229041.232:88): arch=c00000b7 syscall=56 success=no exit=-13 a0=ffffffffffffff9c a1=235460a0 a2=84800 a3=0 items=0 ppid=1 pid=19208 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ip6tables.init" exe="/usr/bin/bash" subj=system_u:system_r:iptables_t:s0 key=(null)
type=AVC msg=audit(1498229041.232:88): avc:  denied  { read } for  pid=19208 comm="ip6tables.init" name="modprobe.d" dev="dm-0" ino=100912890 scontext=system_u:system_r:iptables_t:s0 tcontext=system_u:object_r:modules_conf_t:s0 tclass=dir permissive=0

Expected results:
Comment 2 Thomas Woerner 2017-07-06 11:41:08 EDT
Have you tried to relabel modprobe.d with "restorecon -rvF /etc/modprobe.d"?
Comment 4 Tomas Dolezal 2017-08-08 05:40:54 EDT
granting qa_ack for 7.5; RPL

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