Re: 2.4.12 ... 2.4.16, /dev/tty

From: Dominik Mierzejewski (dominik@aaf16.warszawa.sdi.tpnet.pl)
Date: Tue Nov 27 2001 - 12:06:22 EST


On Tuesday, 27 November 2001, Yaroslav Popovitch wrote:
>
>
> I also tested my 2.4.10-17 for tty bug,it was there.And I found that bug
> exists if I do the full installation of our distributive.
>
> > Hi,
> >
> > still having problems (starting with kernel 2.4.12) with
> > the /dev/tty device:
> >
> > When logging in on the console and trying the "ps" command,
> > is will list _all_ processes and not only those which are
> > attached to the controlling terminal. This seemed a little
> > bit suspicious.
[snip]
> > -----------------------------------------------------
> >
> > The above described problem first appeared with Kernel 2.4.12,
> > I tried the following kernels (now 2.4.16), BUT WITH NO SUCCESS.
> > Kernel 2.4.10 was _not buggy_.
> >
> > Additionally, the problem does not arise on all my LINUX workstations,
> > but only on some. And it does not depend on the harware platform.
> > And is does not depend on the distribution. Both on RedHat 7.1 ans
> > Redhat 7.2 having the problem.

I believe it's a problem with /bin/login, which has a race condition
preventing it from opening /dev/tty. It is fixed in rawhide, upgrading
util-linux to at least 2.11f-6 solved this for me.
So it's not a kernel issue.

-- 
"The Universe doesn't give you any points for doing things that are easy."
        -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
Dominik 'Rathann' Mierzejewski <rathann(at)we.are.one.pl>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:27 EST