Bug 1534111

Summary: New tmux AVC on F27
Product: [Fedora] Fedora Reporter: Robin Powell <rlpowell>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: dwalsh, lvrabec, mgrepl, plautrba, pmoore
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: selinux-policy-3.13.1-283.28.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-20 18:16:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robin Powell 2018-01-13 08:06:29 UTC
Getting this; I know it's something to do with tmux but I can't figure out what operation is causing it:

type=AVC msg=audit(1515830685.813:46233191): avc:  denied  { ioctl } for  pid=1718 comm="sh" path="socket:[299739088]" dev="sockfs" ino=299739088 ioctlcmd=0x5401 scontext=user_u:user_r:user_t:s0 tcontext=user_u:user_r:user_screen_t:s0 tclass=unix_stream_socket permissive=1

I have unconfined disabled.

Comment 1 Fedora Update System 2018-03-07 17:11:37 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:22:00 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:18:06 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:35:06 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 Robin Powell 2018-03-19 04:43:12 UTC
Doesn't look better to me, but maybe these aren't the same?

type=AVC msg=audit(1521434252.957:58540105): avc:  denied  { read write } for  pid=2285 comm="sh" path="socket:[358680040]" dev="sockfs" ino=358680040 scontext=user_u:user_r:user_t:s0 tcontext=user_u:user_r:user_screen_t:s0 tclass=unix_stream_socket permissive=1
type=AVC msg=audit(1521434252.961:58540106): avc:  denied  { ioctl } for  pid=2285 comm="sh" path="socket:[358680040]" dev="sockfs" ino=358680040 ioctlcmd=0x5401 scontext=user_u:user_r:user_t:s0 tcontext=user_u:user_r:user_screen_t:s0 tclass=unix_stream_socket permissive=1
type=AVC msg=audit(1521434297.961:58540302): avc:  denied  { read write } for  pid=2558 comm="sh" path="socket:[358680169]" dev="sockfs" ino=358680169 scontext=user_u:user_r:user_t:s0 tcontext=user_u:user_r:user_screen_t:s0 tclass=unix_stream_socket permissive=1
type=AVC msg=audit(1521434297.966:58540303): avc:  denied  { ioctl } for  pid=2558 comm="sh" path="socket:[358680169]" dev="sockfs" ino=358680169 ioctlcmd=0x5401 scontext=user_u:user_r:user_t:s0 tcontext=user_u:user_r:user_screen_t:s0 tclass=unix_stream_socket permissive=1
type=AVC msg=audit(1521434372.970:58541041): avc:  denied  { ioctl } for  pid=3541 comm="sh" path="socket:[358683731]" dev="sockfs" ino=358683731 ioctlcmd=0x5401 scontext=user_u:user_r:user_t:s0 tcontext=user_u:user_r:user_screen_t:s0 tclass=unix_stream_socket permissive=1
type=AVC msg=audit(1521434372.971:58541043): avc:  denied  { write } for  pid=3541 comm="hostname" path="socket:[358683731]" dev="sockfs" ino=358683731 scontext=user_u:user_r:user_t:s0 tcontext=user_u:user_r:user_screen_t:s0 tclass=unix_stream_socket permissive=1
type=AVC msg=audit(1521434387.967:58541080): avc:  denied  { read } for  pid=3585 comm="sh" path="socket:[358683740]" dev="sockfs" ino=358683740 scontext=user_u:user_r:user_t:s0 tcontext=user_u:user_r:user_screen_t:s0 tclass=unix_stream_socket permissive=1

Comment 6 Fedora Update System 2018-03-20 18:16:35 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.

Comment 7 Robin Powell 2018-05-27 21:23:50 UTC
These appear to be gone, thanks!