[Top][All Lists]

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

Re: the watchdog of login program

From: ogi
Subject: Re: the watchdog of login program
Date: Thu, 26 Aug 2004 07:51:53 +0300 (E. Europe Daylight Time)
User-agent: SquirrelMail/1.4.0

> login forks the watchdog process and what it does is wake up and check if
> the main login process has an owner.  If you've logged in, it should have
> one.  What you should do is attach gdb to the watchdog process, and set a
> breakpoint in check_login.  Then watch it talk to the proc server and see
> what it gets back and what it does.  The watchdog process ought to see
> that
> the main process has an owner now and just exit.

Even without debugging it's obvious that main process doesn't get owner
(looking with ps, etc).  I tried to investigate why, but I didn't succeed.
 As I said, this happens only when login is run as non-root or from
inetutils-telnetd (as root).

Is it possible that this has some relation with
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=251863 ?  Perhaps both
bugs creeped simultaneously some months ago.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]