[Bug 727236] New: switching the runlevel kills session
https://bugzilla.novell.com/show_bug.cgi?id=727236 https://bugzilla.novell.com/show_bug.cgi?id=727236#c0 Summary: switching the runlevel kills session Classification: openSUSE Product: openSUSE 12.1 Version: RC 1 Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: fcrozat@suse.com ReportedBy: lmuelle@suse.com QAContact: qa@suse.de Found By: Development Blocker: No I had a session running on tty 6 in runlevel 5. Calling init 3 killed the running bash. The system makes use systemd. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727236 https://bugzilla.novell.com/show_bug.cgi?id=727236#c1 --- Comment #1 from Frederic Crozat <fcrozat@suse.com> 2011-10-31 12:57:00 UTC --- just tested here and I couldn't reproduce. Can you reproduce consistently ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727236 https://bugzilla.novell.com/show_bug.cgi?id=727236#c2 --- Comment #2 from Lars Müller <lmuelle@suse.com> 2011-10-31 15:03:53 CET --- Yes. I've tested it two times now. Calling init 3 leads to a maybe 5 seconds delay till I get more than one login prompt. Firt I only get one on tty 1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727236 https://bugzilla.novell.com/show_bug.cgi?id=727236#c3 --- Comment #3 from Frederic Crozat <fcrozat@suse.com> 2011-10-31 14:11:11 UTC --- could you give me output of ls /etc/systemd/system/getty.target.wants ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727236 https://bugzilla.novell.com/show_bug.cgi?id=727236#c4 --- Comment #4 from Lars Müller <lmuelle@suse.com> 2011-10-31 21:44:58 CET --- lmuelle@giles:~> LC_ALL=POSIX ls -l /etc/systemd/system/getty.target.wants/ total 0 lrwxrwxrwx 1 root root 34 Oct 21 19:49 getty@tty1.service -> /lib/systemd/system/getty@.service lmuelle@giles:~> runlevel N 5 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727236 https://bugzilla.novell.com/show_bug.cgi?id=727236#c5 --- Comment #5 from Frederic Crozat <fcrozat@suse.com> 2011-11-04 14:58:18 UTC --- ok, I had "old" configuration around. This is a "know" upstream bug (causing also https://bugzilla.redhat.com/show_bug.cgi?id=708537 ) , because gettys (except the one on tty1) are started on demand and get killed when switching runlevel, not having RemainAfterExit flag (and they can't have this flag, since we want them to be restarted in normal conditions). Until this is fixed, you can run : for tty in tty2 tty3 tty4 tty5 tty6 ; do ln -s /lib/systemd/system/getty@.service /etc/systemd/system/getty@$tty.service done to make sure the tty will be always started. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727236 https://bugzilla.novell.com/show_bug.cgi?id=727236#c6 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #6 from Frederic Crozat <fcrozat@suse.com> 2013-03-11 15:17:20 UTC --- Bug has been fixed upstream for some time now, and pushed to 12.1 and later. closing as fixed. *** This bug has been marked as a duplicate of bug 746594 *** http://bugzilla.novell.com/show_bug.cgi?id=746594 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com