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