Bug 1547057 - SELinux is preventing pool from 'read' accesses on the Datei resolv.conf.
Summary: SELinux is preventing pool from 'read' accesses on the Datei resolv.conf.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 27
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:898835f71453fe9fdb1d80f0503...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-20 12:45 UTC by marcel
Modified: 2018-03-20 18:14 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.13.1-283.28.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-20 18:14:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description marcel 2018-02-20 12:45:02 UTC
Description of problem:
SELinux is preventing pool from 'read' accesses on the Datei resolv.conf.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that pool should be allowed read access on the resolv.conf file by default.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
allow this access for now by executing:
# ausearch -c 'pool' --raw | audit2allow -M my-pool
# semodule -X 300 -i my-pool.pp

Additional Information:
Source Context                system_u:system_r:geoclue_t:s0
Target Context                system_u:object_r:systemd_resolved_var_run_t:s0
Target Objects                resolv.conf [ file ]
Source                        pool
Source Path                   pool
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    <Unbekannt>
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.14.18-300.fc27.x86_64 #1 SMP Thu
                              Feb 8 01:35:31 UTC 2018 x86_64 x86_64
Alert Count                   4
First Seen                    2018-01-16 11:21:15 CET
Last Seen                     2018-02-15 12:53:38 CET
Local ID                      4ed4d3f8-a1f9-4bab-9c33-a666be4a278b

Raw Audit Messages
type=AVC msg=audit(1518695618.191:281): avc:  denied  { read } for  pid=2035 comm="pool" name="resolv.conf" dev="tmpfs" ino=35313 scontext=system_u:system_r:geoclue_t:s0 tcontext=system_u:object_r:systemd_resolved_var_run_t:s0 tclass=file permissive=0


Hash: pool,geoclue_t,systemd_resolved_var_run_t,file,read


Additional info:
component:      selinux-policy
reporter:       libreport-2.9.3
hashmarkername: setroubleshoot
kernel:         4.15.3-300.fc27.x86_64
type:           libreport

Comment 1 Fedora Update System 2018-03-07 17:08:43 UTC
selinux-policy-3.13.1-283.27.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-32ebae3424

Comment 2 Fedora Update System 2018-03-08 16:20:20 UTC
selinux-policy-3.13.1-283.27.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-32ebae3424

Comment 3 Fedora Update System 2018-03-12 18:15:04 UTC
selinux-policy-3.13.1-283.28.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-32ebae3424

Comment 4 Fedora Update System 2018-03-14 01:33:27 UTC
selinux-policy-3.13.1-283.28.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-32ebae3424

Comment 5 Fedora Update System 2018-03-20 18:14:45 UTC
selinux-policy-3.13.1-283.28.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


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