Bug 1527173 - SELinux is preventing certutil from 'map' accesses on the fichier /etc/pki/ca-trust/source/README.
Summary: SELinux is preventing certutil from 'map' accesses on the fichier /etc/pki/ca...
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:11f115396cc4b16394557a644cd...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-18 17:43 UTC by BRARD
Modified: 2018-01-02 16:49 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.13.1-283.19.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-02 16:49:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description BRARD 2017-12-18 17:43:56 UTC
Description of problem:
SELinux is preventing certutil from 'map' accesses on the fichier /etc/pki/ca-trust/source/README.

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

Si vous pensez que certutil devrait être autorisé à accéder map sur README file par défaut.
Then vous devriez rapporter ceci en tant qu'anomalie.
Vous pouvez générer un module de stratégie local pour autoriser cet accès.
Do
autoriser cet accès pour le moment en exécutant :
# ausearch -c "certutil" --raw | audit2allow -M my-certutil
# semodule -X 300 -i my-certutil.pp

Additional Information:
Source Context                system_u:system_r:certwatch_t:s0-s0:c0.c1023
Target Context                system_u:object_r:cert_t:s0
Target Objects                /etc/pki/ca-trust/source/README [ file ]
Source                        certutil
Source Path                   certutil
Port                          <Inconnu>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    <Inconnu>
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.13.13-300.fc27.x86_64 #1 SMP Wed
                              Nov 15 15:47:50 UTC 2017 x86_64 x86_64
Alert Count                   1
First Seen                    2017-11-24 12:41:08 CET
Last Seen                     2017-11-24 12:41:08 CET
Local ID                      89318797-af82-4ce0-9579-3df7de02f5e2

Raw Audit Messages
type=AVC msg=audit(1511523668.454:248): avc:  denied  { map } for  pid=3408 comm="certutil" path="/etc/pki/ca-trust/source/README" dev="dm-1" ino=2624520 scontext=system_u:system_r:certwatch_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cert_t:s0 tclass=file permissive=0


Hash: certutil,certwatch_t,cert_t,file,map


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

Comment 1 Fedora Update System 2017-12-20 11:20:53 UTC
selinux-policy-3.13.1-283.19.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8225c4e502

Comment 2 Fedora Update System 2017-12-20 11:27:46 UTC
selinux-policy-3.13.1-283.19.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8225c4e502

Comment 3 Fedora Update System 2017-12-21 20:22:51 UTC
selinux-policy-3.13.1-283.19.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-2017-8225c4e502

Comment 4 Fedora Update System 2018-01-02 16:49:48 UTC
selinux-policy-3.13.1-283.19.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.