Bug 1250645 - selinux prevented Kerberos authentication to SSH
Summary: selinux prevented Kerberos authentication to SSH
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-05 16:15 UTC by David Woodhouse
Modified: 2016-07-19 17:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 17:22:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Woodhouse 2015-08-05 16:15:02 UTC
27769 lstat("/var/tmp/ssh_0", {st_mode=S_IFREG|0600, st_size=1308, ...}) = 0
27769 open("/var/tmp/ssh_0", O_RDWR)    = -1 EACCES (Permission denied)
27769 unlink("/var/tmp/ssh_0")          = -1 EACCES (Permission denied)

type=AVC msg=audit(1438790777.382:18470): avc:  denied  { write } for  pid=26352 comm="sshd" name="ssh_0" dev="sda3" ino=404 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tmp_t:s0 tclass=file permissive=0
type=AVC msg=audit(1438790777.382:18471): avc:  denied  { unlink } for  pid=26352 comm="sshd" name="ssh_0" dev="sda3" ino=404 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tmp_t:s0 tclass=file permissive=0

# ls -lZ /var/tmp/ssh_0
-rw-------. 1 root root system_u:object_r:tmp_t:s0 1308 Aug  5 09:05 /var/tmp/ssh_0
# restorecon /var/tmp/ssh_0
restorecon:  Warning no default label for /var/tmp/ssh_0

Removing it worked, and it got recreated as

-rw-------. 1 root root system_u:object_r:user_tmp_t:s0 223 Aug  5 09:11 /var/tmp/ssh_0

Comment 1 Fedora End Of Life 2016-07-19 17:22:17 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.