Bug 13738

Summary: [PATCH] sysinstall incorrectly writes loader.conf
Product: Base System Reporter: nathan <nathan>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description nathan 1999-09-13 20:40:01 UTC
	When you install the system over a serial console, sysinstall
	records this with a line in /boot/loader.conf on the installed
	system:

	console="serial"

	Unfortunately, this is wrong. It should be:

	console="comconsole"

	The impact is that when the newly installed system is rebooted,
	it will not use the serial console, until this line is changed
	(or the -h boot flag is used).

	(P.S. - it would also be nice if either the console="comconsole"
	line or sysinstall itself would spawn a getty on the serial
	console; currently it locks you out of your new system if you
	have not used sysinstall's interface to add a non-root user
	before booting the new system).

How-To-Repeat: 
	Unplug the keyboard, connect a console to COM1, and install the
	OS (the boot floppy will detect and use the comconsole). Afterwards,
	reboot the newly installed system -- the line in /boot/loader.conf
	will be incorrect and the serial console will not be used.
Comment 1 cpiazza freebsd_committer freebsd_triage 1999-09-13 23:30:47 UTC
State Changed
From-To: open->closed

jkh fixed this in rev 1.249 of sysinstall/install.c