Bug 1430963

Summary: rpc.gssd fails to call into gssproxy
Product: [Fedora] Fedora Reporter: Robbie Harwood <rharwood>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 25CC: bcodding, bfields, chunwang, dominick.grift, dwalsh, jiyin, jlayton, lvrabec, mgrepl, plautrba, pmoore, rharwood, rob.verduijn, smayhew, ssekidde, ssorce, steved
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: selinux-policy-3.13.1-225.13.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1438036 (view as bug list) Environment:
Last Closed: 2017-04-25 02:23:53 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:
Bug Depends On:    
Bug Blocks: 1438036    
Attachments:
Description Flags
reproducer none

Description Robbie Harwood 2017-03-10 01:11:42 UTC
Created attachment 1261763 [details]
reproducer

gssproxy checks the contents of the GSS_USE_PROXY envvar in order to determine whether it should be used.  rpc.gssd is causing secure_getenv() to return NULL on this variable, which breaks gssproxy.

Comment 1 Robbie Harwood 2017-03-10 01:17:41 UTC
Attached is a Vagrantfile helpfully provided by the original reporter on the gssproxy mailing list.  To see the problem, break on gss_mech_interposer() and observe the return value from gp_getenv() (which wraps secure_getenv()).

Comment 2 Simo Sorce 2017-03-31 16:59:20 UTC
Ok apparently this turns out to be a similar problem to https://bugzilla.redhat.com/show_bug.cgi?id=1174915
So reassigning to SELinuc Policy

Comment 3 Simo Sorce 2017-04-03 18:24:17 UTC
Other similar bug: https://bugzilla.redhat.com/show_bug.cgi?id=1358476
Do we have a systemic issue ?

Comment 5 Fedora Update System 2017-04-19 20:36:43 UTC
selinux-policy-3.13.1-225.13.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0af0456dcc

Comment 6 Fedora Update System 2017-04-20 18:25:13 UTC
selinux-policy-3.13.1-225.13.fc25 has been pushed to the Fedora 25 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-0af0456dcc

Comment 7 Fedora Update System 2017-04-25 02:23:53 UTC
selinux-policy-3.13.1-225.13.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.