[Bug 786714] New: systemd documentation issue: serial console
https://bugzilla.novell.com/show_bug.cgi?id=786714 https://bugzilla.novell.com/show_bug.cgi?id=786714#c0 Summary: systemd documentation issue: serial console Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 0 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: aj@suse.com ReportedBy: ro@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- as we just talked about it: up to now I still have not seen a machine/VM running with systemd that has a serial console properly set up, so it's either incredibly hard or not documented in a way that people do it ... sysvinit case: - you do it for the bootloader and probably in the same file for the kernel commandline - you probably adapt etc/sysconfig/bootloader to match the above - you modify inittab to properly set the serial console getty - you configure etc/securetty adding ttyS0 (or xvc0 in xen) to allow root login on the serial console which steps are needed in a factory (or future sles12 environment) ? -- 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=786714 https://bugzilla.novell.com/show_bug.cgi?id=786714#c1 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj@suse.com, fs@suse.com AssignedTo|aj@suse.com |fcrozat@suse.com --- Comment #1 from Andreas Jaeger <aj@suse.com> 2012-10-26 09:39:22 UTC --- Frederic, can you help Rudi to setup serial console on one system next week (in person), please? And then document it and ask Frank to add this documentation to the manual? -- 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=786714 https://bugzilla.novell.com/show_bug.cgi?id=786714#c4 --- Comment #4 from Ruediger Oertel <ro@suse.com> 2012-10-26 10:28:41 UTC --- the article on http://0pointer.de/blog/projects/serial-console.html is definitely a good read. what it does not answer is: - etc/securetty still needs to be modified manually (I assume, and I think this makes sense) - how is a config like this parsed by systemd (the de-facto standard for all our internal servers): "console=tty0 console=ttyS0,115200n8" which tells the kernel tty0 is a console but ttyS0 is the primary one (and should get a getty if there is an automatic) are all "console=" entries on the kernel commandline checked for serial devices ? This config does also start the "sulogin" for maintenance mode on _both_ consoles so that getting the system to boot is possible from VGA and serial console. -- 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=786714 https://bugzilla.novell.com/show_bug.cgi?id=786714#c5 --- Comment #5 from Frederic Crozat <fcrozat@suse.com> 2012-10-26 14:18:47 UTC --- - /etc/securetty is only used by pam_securetty module, so it is not related to systemd at all. - systemd is reading "/sys/class/tty/console/active" (so the kernel is the one doing the parsing of cmdline) and for each non virtual console, it will start a serial-getty (doing an instance of serial-getty@.service). The logic is at http://cgit.freedesktop.org/systemd/systemd/tree/src/getty-generator/getty-g... - if you want to start "non standard" (ie not getty) on a specific console, you should create a file in /etc/systemd/system/, named the same way the autogenerated one (which is stored in /run/systemd/generator ), so something like /etc/systemd/system/serial-getty@ttyS0.service where you would start sulogin (you might want to look at /lib/systemd/system/rescue.service as an example). -- 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=786714 https://bugzilla.novell.com/show_bug.cgi?id=786714#c6 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |ro@suse.com --- Comment #6 from Frederic Crozat <fcrozat@suse.com> 2013-03-12 14:31:29 UTC --- should we close this bug report ? -- 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=786714 https://bugzilla.novell.com/show_bug.cgi?id=786714#c7 Ruediger Oertel <ro@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|ro@suse.com | Resolution| |WORKSFORME --- Comment #7 from Ruediger Oertel <ro@suse.com> 2013-11-07 14:33:40 UTC --- yes -- 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