Bug 1507191 - SELinux is preventing gssproxy from 'read' accesses on the file unix.
Summary: SELinux is preventing gssproxy from 'read' accesses on the file unix.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 26
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2753a26ce236b7cf3695cdb02a7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-28 04:29 UTC by Dan Callaghan
Modified: 2017-12-19 21:32 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.13.1-260.17.fc26
Clone Of:
Environment:
Last Closed: 2017-12-19 21:32:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dan Callaghan 2017-10-28 04:29:31 UTC
Description of problem:
Using NFSv4 with kerberos (automounted by systemd in case that makes any difference). The AVC denial appeared as soon as I touched something on the NFS filesystem.
SELinux is preventing gssproxy from 'read' accesses on the file unix.

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

If you believe that gssproxy should be allowed read access on the unix file 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:
# ausearch -c 'gssproxy' --raw | audit2allow -M my-gssproxy
# semodule -X 300 -i my-gssproxy.pp

Additional Information:
Source Context                system_u:system_r:gssproxy_t:s0
Target Context                system_u:object_r:proc_net_t:s0
Target Objects                unix [ file ]
Source                        gssproxy
Source Path                   gssproxy
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-260.13.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.13.9-200.fc26.x86_64 #1 SMP Mon
                              Oct 23 13:52:45 UTC 2017 x86_64 x86_64
Alert Count                   1
First Seen                    2017-10-28 14:27:55 AEST
Last Seen                     2017-10-28 14:27:55 AEST
Local ID                      18620ea6-62dc-4d99-ac66-c8d398f7e14c

Raw Audit Messages
type=AVC msg=audit(1509164875.536:201): avc:  denied  { read } for  pid=684 comm="gssproxy" name="unix" dev="proc" ino=4026532065 scontext=system_u:system_r:gssproxy_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file permissive=1


Hash: gssproxy,gssproxy_t,proc_net_t,file,read

Version-Release number of selected component:
selinux-policy-3.13.1-260.13.fc26.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.13.9-200.fc26.x86_64
type:           libreport

Comment 1 Fedora Update System 2017-11-16 21:09:32 UTC
selinux-policy-3.13.1-260.16.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-39e6a2f7e7

Comment 2 Fedora Update System 2017-11-18 01:45:42 UTC
selinux-policy-3.13.1-260.16.fc26 has been pushed to the Fedora 26 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-39e6a2f7e7

Comment 3 Fedora Update System 2017-11-21 16:22:54 UTC
selinux-policy-3.13.1-260.17.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-39e6a2f7e7

Comment 4 Fedora Update System 2017-11-22 11:07:44 UTC
selinux-policy-3.13.1-260.17.fc26 has been pushed to the Fedora 26 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-39e6a2f7e7

Comment 5 Fedora Update System 2017-12-19 21:32:42 UTC
selinux-policy-3.13.1-260.17.fc26 has been pushed to the Fedora 26 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.