Red Hat Bugzilla – Bug 119263
sshd logs message containing garbage
Last modified: 2007-11-30 17:10:39 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312
Description of problem:
When I ssh into a box as a user whose home dir is not labeled as such
(or something like that), openssh logs a message like this to
Warning! Could not relabel [garbage] with
system_u:object_r:sshd_devpts_t, not relabeling.
Sometimes [garbage] is just an empty string; sometimes it's actual
I can't tell for sure whether this has to do with the directory
labeling or with logging as a user other than root (it seems to never
happen for root, and always when logging in as myself, and my home dir
is not in /home so it's not labeled properly).
Oh, SELinux is enabled, but in permissive mode.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.ssh into a box (localhost, for example) as a non-root user (that has
a homedir that's not labeled as such)
2.check the last few lines of /var/log/messages
Actual Results: The warning above, with garbage instead of the pathname
Expected Results: The pathname instead of garbage
I'm not sure this is a security issue, but I'm making it as such just
in case. Garbage in such applications always gets me worried.
This isnt in 3.8.1
I've inspected the 3.8.1 SELinux changes and the all appear correct
and in order. Can you duplicate this with FC2, or close it ?
No response - closing, please reopen if still appears.