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.

-- 
after sudo su (su -), gnome-terminal [or a virtual terminal "-bash"] "exit"s 
("logout"s) with any single keypress
https://bugs.launchpad.net/bugs/224802
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to