[redhat-lspp] Unable to ssh in after certain system usage
Michael C Thompson
mcthomps at us.ibm.com
Thu Mar 9 22:31:13 UTC 2006
redhat-lspp-bounces at redhat.com wrote on 03/09/2006 02:28:40 PM:
>
> Hey all,
>
> The subject is rather vague, but so is my understanding of the
> problem. I've been playing around with various MLS policy
> "features", and I have been using setenforce 0/1 very often to
> resolve/investigate some of these, however, I have encountered an
> issue with ssh after doing this, and what happens is that I have
> existing ssh sessions open, but I am unable to open new sessions.
> This is not an issue that I can tell with booting into enforcing
> mode (or the inital set to enforcing), I boot into permissive then
> setenforce 1. I've done this and then logged in successfully through
> ssh. In order to create this bug, I have just done the following:
>
> Boot system with LSPP.10 kernel (not updated yet, but I will shortly
> and reply to see if this is still an issue).
> Have /etc/selinux/config set to be Permissive mode be default.
> ssh in as root, newrole -r secadm_r -l SystemHigh
> ssh in as root, do nothing
> ssh in as root and get this error:
> login as: root
> root at 9.41.41.107's password:
> Server refused to allocate pty
> -bash: /root/.bash_profile: Permission denied
>
> Any idea where I should start?
Looking in /var/log/messages, I get the following dump when I exit from an
ssh session:
idr_remove called for id=0 which is not allocated.
[<c01c4677>] idr_remove+0xd4/0x137
[<c0209fe4>] release_dev+0x632/0x649 [<c02e0f94>]
_spin_lock_irqsave+0x9/0xd
[<c0116b00>] __wake_up+0x2a/0x3d [<c0206e18>]
tty_ldisc_deref+0x50/0x5f
[<c0176cea>] inotify_dentry_parent_queue_event+0x2b/0x90 [<c020a002>]
tty_release+0x7/0xa
[<c0156664>] __fput+0xb1/0x14e [<c0154137>] filp_close+0x4e/0x54
[<c0102bc1>] syscall_call+0x7/0xb Mar 9 07:30:40 dyn94141107 kernel:
[<c0102c52>] work_notifysig+0x13/0x19 idr_remove called for id=0 which
is not allocated.
Mar 9 07:30:40 dyn94141107 kernel: [<c01c4677>] idr_remove+0xd4/0x137
Mar 9 07:30:40 dyn94141107 kernel: [<c0209fe4>] release_dev+0x632/0x649
[<c02e0f94>] _spin_lock_irqsave+0x9/0xd
Mar 9 07:30:40 dyn94141107 kernel: [<c0116b00>] __wake_up+0x2a/0x3d
[<c0206e18>] tty_ldisc_deref+0x50/0x5f
Mar 9 07:30:40 dyn94141107 kernel: [<c0176cea>]
inotify_dentry_parent_queue_event+0x2b/0x90 [<c020a002>]
tty_release+0x7/0xa
Mar 9 07:30:40 dyn94141107 kernel: [<c0156664>] __fput+0xb1/0x14e
[<c0154137>] filp_close+0x4e/0x54
This happens every time I end an ssh session.
> Mike--
> redhat-lspp mailing list
> redhat-lspp at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-lspp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-lspp/attachments/20060309/e6f0d939/attachment.htm>
More information about the redhat-lspp
mailing list