Bug 131083
Summary: | sshd does not permit SE Linux logins | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Russell Coker <russell> |
Component: | openssh | Assignee: | Nalin Dahyabhai <nalin> |
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | dwalsh, sdsmall |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 3.9p1-2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-09-03 21:00:48 UTC | Type: | --- |
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: | 130887 |
Description
Russell Coker
2004-08-27 12:17:07 UTC
The above occurs when using the "strict" policy. Using "targeted" it is likely to work without problems although I have not yet tested this. In any case using "targeted" will give different symptoms if it fails. Looks like the openssh-selinux.patch wasn't properly updated for openssh-3.9p1, and unfortunately it happened to compile nonetheless. In sshpty.c, the -selinux patch is referencing "ttyname" whereas the function parameter is now named "tty". It happens to compile (albeit with warnings) because ttyname is defined in global scope for ttyname(3), so I guess we are passing a _function pointer_ here rather than the tty name. s/ttyname/tty/g please in the openssh-selinux.patch. This should be fixed in 3.9p1-2 and later. Please reopen if you find that this is not the case. Thanks! |