Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1481454

Summary: Tracker: denials after introducing of 'map' permission
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 28CC: bruno, dominick.grift, dustymabe, dwalsh, ingvar, lsm5, lvrabec, mgrepl, pbrobinson, plautrba, poc, pwhalen, samuel-rhbugs, ssekidde, stuart
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.13.1-272.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1442372, 1480910, 1480911, 1480912, 1480913, 1480914, 1480915, 1480916, 1480917, 1480918, 1480919, 1480920, 1480929, 1481356, 1481376, 1481453, 1481455, 1481456, 1481457, 1481458, 1481459, 1481460, 1481552, 1481553, 1481554, 1481555, 1481556, 1481558, 1481559, 1481560, 1481563, 1481566, 1481567, 1481568, 1481569, 1481572, 1482149, 1482153, 1483169, 1483170, 1485050, 1487984, 1513704, 1514592, 1518027, 1572369    
Bug Blocks:    

Description Adam Williamson 2017-08-14 23:32:39 UTC
selinux-policy 3.13.1-269 introduced a new permission, 'map', and immediately there have been dozens of reports of denials for this permission. This is a tracker for them.

Comment 1 Jan Kurik 2017-08-15 09:17:57 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 2 Bruno Wolff III 2017-08-16 03:18:05 UTC
It looks like postgresql and httpd are affected by this as well.

Comment 3 Lukas Vrabec 2017-09-13 06:50:34 UTC
Together with Petr Lautrbach we created github issue with map perms AVCs: https://github.com/fedora-selinux/selinux-policy/issues/201

Feel free to add more AVCs, I'm doing builds every day. 

Lukas.

Comment 4 Adam Williamson 2017-09-13 06:54:03 UTC
Thanks. I think we've got all the really big ones that just show up in a default install, or break things in the release criteria, but I'll keep this open a bit longer just in case there are any we've overlooked.

Comment 5 Patrick O'Callaghan 2017-11-22 12:05:42 UTC
I recently reported https://bugzilla.redhat.com/show_bug.cgi?id=1514538 which may be related to this. Despite being marked CLOSED/NOTABUG, the problem persists.

Comment 6 Stuart D Gathman 2017-12-05 23:26:39 UTC
Will need to add the map permission to cjdns-selinux for f27.

Comment 7 Ingvar Hagelund 2018-02-05 08:43:27 UTC
I get this with selinux-policy-3.13.1-283.21.fc27.noarch :

SELinux is preventing colord from map access on the file /home/username/.local/share/icc/edid-[32 character hash].icc.

like 

SELinux is preventing colord from map access on the file /home/myuser/.local/share/icc/edid-ab2ff9c090dd91985c56ae02eb85058f.icc.

This is with /home on NFS.

Ingvar

Comment 8 Fedora End Of Life 2018-02-20 15:27:17 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.