Login funny in 2.5.70

From: Peter Bornemann (eduard.epi@t-online.de)
Date: Fri May 30 2003 - 12:43:57 EST


Hi

When logging as normal user to my system, I get all the usual messages
and then when /etc/profile tries to read /proc/$$/exe to determine the
running shell I get (most of the time):

/bin/ls: cannot read symbolic link /proc/###/exe: Permission denied

When I start "bash -l", everything works as expected, but no idea why
it does work this time and not when starting from the login: prompt.
Permissions of the link /proc/$$/exe are always 777, so I cannot see
any problem.

All this does not appear all the time and never to root. It seems to be a
matter of timing or something like that, but I do not have any idea as to
what is happening in kernel. 2.5.69 is working, 2.5.70 is funny. When
the first read did fail, it will fail always afterwards and vice versa.

This is on Debian testing, bash version is 2.05b.0, gcc is 3.3
(Debian), arch is i386/Athlon 700.

Every help will be greatly appreciated.

Peter B


. .
|\_-^^^-_/|
/ (|)_(|) \
( === X === )
\ ._|_. /
^-_ _-^
°°°

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/