[Bug 929856] New: Shell crashes on /bin/login
http://bugzilla.opensuse.org/show_bug.cgi?id=929856 Bug ID: 929856 Summary: Shell crashes on /bin/login Classification: openSUSE Product: openSUSE Factory Version: 201503* Hardware: x86-64 OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: werner-meier@gmx.ch QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 633405 --> http://bugzilla.opensuse.org/attachment.cgi?id=633405&action=edit strace log of /bin/login as root Environment: I'm using OpenSUSE Tumbleweed 20150503. (I'm sorry if this is the wrong association, I couldn’t select that exact version.) Description: The command "/bin/login" issued as root causes the shell to crash. As far as I could determine it doesn't matter which shell. I use bash. I know it would be pointless to issue /bin/login as a already logged in user. But I found this bug as I want to test an old serial terminal with agetty. I can see the login prompt on the terminal and I can enter my name. But after that, the shell crashes on the host system. Reproducible: always - open a shell and log in as root - call the command "login". - see the shell crashing - (My locale settings are de_DE.UTF-8 if that matters) Expected Result: - something better than a crashing shell :-) I've attached a strace log. I hope this helps to find the bug. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=929856 http://bugzilla.opensuse.org/show_bug.cgi?id=929856#c1 Karl Cheng <qantas94heavy@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED CC| |qantas94heavy@gmail.com Version|201503* |Current --- Comment #1 from Karl Cheng <qantas94heavy@gmail.com> --- Can reproduce with bash running in Konsole. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=929856 http://bugzilla.opensuse.org/show_bug.cgi?id=929856#c2 Stanislav Brabec <sbrabec@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(qantas94heavy@gma | |il.com) --- Comment #2 from Stanislav Brabec <sbrabec@suse.com> --- Karl Cheng: Which SUSE version are you using? Which util-linux version? Regarding the strace: It does not provide any insight. As login has a special nature, strace does not work properly with it. I am getting exactly the same strace ending by SIGTTOU, even if the crash is not reproduced (signal sent when the process attempts to access the terminal when it is in the background; it is actually not a crash, but a stop signal suspending it). Bactrace or core would be more helpful. (use ulimit -c unlimited to get a core file) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com