Bug 1228594 - SELinux is preventing radvd from using the 'dac_override' capabilities.
Summary: SELinux is preventing radvd from using the 'dac_override' capabilities.
Keywords:
Status: CLOSED DUPLICATE of bug 1224403
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4c8b7e40033701df1d5fb881021...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-05 09:49 UTC by Pavel Šimerda (pavlix)
Modified: 2015-06-05 09:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-05 09:55:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pavel Šimerda (pavlix) 2015-06-05 09:49:11 UTC
Description of problem:
systemctl start/restart radvd
SELinux is preventing radvd from using the 'dac_override' capabilities.

*****  Plugin dac_override (91.4 confidence) suggests   **********************

If you want to help identify if domain needs this access or you have a file with the wrong permissions on your system
Then turn on full auditing to get path information about the offending file and generate the error again.
Do

Turn on full auditing
# auditctl -w /etc/shadow -p w
Try to recreate AVC. Then execute
# ausearch -m avc -ts recent
If you see PATH record check ownership/permissions on file, and fix it, 
otherwise report as a bugzilla.

*****  Plugin catchall (9.59 confidence) suggests   **************************

If you believe that radvd should have the dac_override capability by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep radvd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:radvd_t:s0
Target Context                system_u:system_r:radvd_t:s0
Target Objects                Unknown [ capability ]
Source                        radvd
Source Path                   radvd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-126.fc22.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.0.4-303.fc22.x86_64 #1 SMP Thu
                              May 28 12:37:06 UTC 2015 x86_64 x86_64
Alert Count                   8
First Seen                    2015-06-05 11:45:37 CEST
Last Seen                     2015-06-05 11:46:09 CEST
Local ID                      21702222-d1b0-47c4-bf96-371c710ce272

Raw Audit Messages
type=AVC msg=audit(1433497569.896:760): avc:  denied  { dac_override } for  pid=3156 comm="radvd" capability=1  scontext=system_u:system_r:radvd_t:s0 tcontext=system_u:system_r:radvd_t:s0 tclass=capability permissive=0


Hash: radvd,radvd_t,radvd_t,capability,dac_override

Version-Release number of selected component:
selinux-policy-3.13.1-126.fc22.noarch

Additional info:
reporter:       libreport-2.5.1
hashmarkername: setroubleshoot
kernel:         4.0.4-303.fc22.x86_64
type:           libreport

Comment 1 Pavel Šimerda (pavlix) 2015-06-05 09:55:10 UTC

*** This bug has been marked as a duplicate of bug 1224403 ***


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