Comment 7 for bug 224802

Revision history for this message
Guido Jäkel (guido-jaekel) wrote :

I'm also don't observe this currently on my Unbutu workstations, but with "su -" on some of my Gentoo Server's, too. And this type of problem is also reported by users of other distributions!

After switching to another user via "su - foo" i eithter get kicked out immediately (the shell writes "exit" or "logout") or just after the first keypress, if this isn't CR. Pressing CR will proceed to the next prompt, any other will act like receiving a SIGHUP from somewhere. Note that the pressed key is displayed before logout.

But sometime after leaving the system alone for a while or after rebooting, all will work fine as expected for one try. With the next try, the problem occurs again.

And more, sometime it will work with user account a, but not with b and othertimes vice versa.

In addition, one of two nominal nearly-cloned boxes of one of my clusters show the problem, the other one works flawless.

Some other guys wrote, that this only will happen with bash -- i don't check it. But i don't think it's realy related to bash, su or sudo in core.

I also try to get a hint from 'strace su - foo'. But using this type of invocation, everythink works well, again! From this, i think it's some very strange kind of a race condition. Maybe on slow hardware, maybe just -- as another one reports -- on *single* (non-HT) CPU systems.

I observe it on my test boxes, which holds simple 1.6GHz P4 boards.