lkml.org 
[lkml]   [2008]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.25.3: su gets stuck for root
On Tue, May 20, 2008 at 10:26:16PM +0200, Harald Dunkel wrote:
> david@lang.hm wrote:
> >
> >try killing syslog and then see if you continue to have the problem.
> >It's possible that what's happening is syslog is getting stuck and su is
> >sitting waiting for syslog to process the log entry.
> >
>
> No improvement: I killed syslogd, and yet stty gets stuck.
>
> But surely it was a smart idea.

have you checked in /proc/$(pidof stty)/fd/ to see if stty is bound to
any particular file descriptor ? Maybe you'll find the source of the
blocking operation here. You can find a unix socket attached to
another process, it may be a tty, a pipe, or even a device (eg:
/dev/random when there is no entropy left). Same for "su" BTW.

Regards,
willy



\
 
 \ /
  Last update: 2008-05-20 22:41    [W:2.481 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site