DragonFly bugs List (threaded) for 2009-04
DragonFly BSD
DragonFly bugs List (threaded) for 2009-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: panic: lockmgr: locking against myself


From: Hasso Tepper <hasso@xxxxxxxxx>
Date: Sun, 26 Apr 2009 06:45:44 +0300

Matthew Dillon wrote:
>     I think I see what's going on here.  It's double-closing the
>     tty vnode.  It looks like the case can occur if the process doing
>     it is in the background and all other references have gone away.
>
>     Please try this patch and tell me if it solves the problem.

It solves the problem with panic and makes kdesu actually work as well, 
but it breaks other things like sh and ssh (and probably more :):

$ su
Password:
sh: can't access tty; job control turned off
#

$ ssh host
ssh_askpass: exec(/usr/X11R6/bin/ssh-askpass): No such file or directory
ssh_askpass: exec(/usr/X11R6/bin/ssh-askpass): No such file or directory
ssh_askpass: exec(/usr/X11R6/bin/ssh-askpass): No such file or directory
Permission denied (publickey,keyboard-interactive).
$

Verbose output of the ssh session gives the probable point as well:

debug1: read_passphrase: can't open /dev/tty: Device not configured


-- 
Hasso Tepper



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]