GNOME Bugzilla – Bug 628645
enable serial on all servers
Last modified: 2013-11-21 14:57:20 UTC
We have all the servers hooked up to a Cyclades that I have access to (unfortunately, not any of the other sysadmins, but it's something) However, many of the servers don't have serial enabled in grub or in inittab, or both. All servers should have: - Serial enabled for grub itself - Serial enabled on kernel command line in /etc/grub.conf - Serial enabled in /etc/inittab - Magic-SysRq enabled I'm guessing we need 9600 8n1 for the serial settings. 9600 baud is definitely right, since it works for getty on window.
Hints from window /etc/grub.conf: serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1 terminal --timeout=10 serial console kernel /vmlinuz-2.6.18-194.11.3.el5PAE ro root=/dev/md2 console=tty0 console=ttyS0,9600n8 /etc/inittab: s0:2345:respawn:/sbin/agetty ttyS0 9600 vt100 /etc/sysctl.conf: kernel.sysrq = 1 Would be nice to put this in Puppet.
I've got an inittab module that I can import from what I use at my office. It's really simple. The grub.conf is trickier though. Currently I'll volunteer to just manually update the grub.conf to include the serial, terminal and kernel additions. I haven't yet figured out how to puppetize a grub.conf (perhaps I haven't looked hard enough), but in the meantime I'll just do it.
For kernels it is easy, you could do it with grubby on RHEL boxes. The proper way is to use an Augeas type and let augeas edit the grub.conf for you. I can give you pointers if you need them.
The GNOME Infrastructure Team is currently migrating its bug / issue tracker away from Bugzilla to Request Tracker and therefore all the currently open bugs have been closed and marked as OBSOLETE. The following move will also act as a cleanup for very old and ancient tickets that were still living on Bugzilla. If your issue still hasn't been fixed as of today please report it again on the relevant RT queue. More details about the available queues you can report the bug against can be found at https://wiki.gnome.org/Sysadmin/RequestTracker. Thanks for your patience, the GNOME Infrastructure Team