Bug 769530 - SELinux prevents ssh-keygen to access public ssh key
Summary: SELinux prevents ssh-keygen to access public ssh key
Keywords:
Status: CLOSED DUPLICATE of bug 755877
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: selinux-policy
Version: 6.2
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: Miroslav Vadkerti
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-21 08:40 UTC by Marko Myllynen
Modified: 2012-01-11 14:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-11 13:38:32 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Marko Myllynen 2011-12-21 08:40:48 UTC
Description of problem:
After upgrading to RHEL 6.2 I started to see this issue on NFS mounted home:

$ sudo getenforce
Enforcing
$ ssh-keygen -l -f /home/testuser/.ssh/id_dsa.pub
/home/testuser/.ssh/id_dsa.pub: Permission denied
$ sudo setenforce 0
$ ssh-keygen -l -f /home/testuser/.ssh/id_dsa.pub
1024 .... /home/testuser/.ssh/id_dsa.pub (DSA)

While enforcing and running ssh-keygen nothing is being printed to /var/log/secure / /var/log/messages / /var/log/audit/audit.log. This used to work all ok on RHEL 6.0 / RHEL 6.1.

Version-Release number of selected component (if applicable):
selinux-policy-3.7.19-126.el6

Comment 3 Miroslav Grepl 2012-01-11 13:38:32 UTC

*** This bug has been marked as a duplicate of bug 755877 ***


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