Rawhide: selinux: "Unable to get valid context for <username>"
Jim Meyering
jim at meyering.net
Sun Jun 19 16:42:34 UTC 2011
Richard W.M. Jones wrote:
> Anyone seeing this error? Unless I boot with enforcing=0, I see
> this error when I try to log in as any user:
>
> Unable to get valid context for <username>
>
> It seems like it's just started happening, since I upgraded something
> within the last 1-2 weeks.
Hi Rich,
I'm using 3.0-0.rc3.git5.1.fc16.x86_64 in enforcing mode (of course ;-)
and don't see any problem when logging in via ssh:
h$ ssh r date
Sun Jun 19 18:34:32 CEST 2011
h$ ssh r
Last login: Sun Jun 19 18:33:11 2011 from 192.168.122.1
r$ :
Everything is up to date, at least wrt whatever mirror I'm using.
My shell on that system is zsh; but I got the same result when
temporarily switching it to bash.
> Is there any way to debug this error further?
If you're seeing it on a console, strace agetty or whatever
you're using as the server. If via ssh, strace sshd.
More information about the devel
mailing list