bin/177229: /etc/motd overflows 24 lines after login from live media

Julian Stacey jhs at
Fri Mar 22 11:20:03 UTC 2013

>Number:         177229
>Category:       bin
>Synopsis:       /etc/motd overflows 24 lines after login from live media
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 22 11:20:01 UTC 2013
>Originator:     Julian Stacey <jhs at>
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization: BSD Linux Unix Consultancy, Munich/Muenchen.
System: FreeBSD 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Tue Feb 26 15:21:57 CET 2013 jhs at amd64

	/etc/motd overflows 24 lines after login from live media
	Boot off live media or simulate with:
	cp /usr/src/etc/motd /etc/motd
	xterm -geometry 80x24
	rlogin localhost
	Discard all blank lines (except first, needed for script).
	Whoever bloated this file, probably in a long xterm, forgot 
		- 80x24 boot terminals,
		- emitting surplus blank lines prevents seeing:
			- trailing errors/info from boot sequence,
			- version from top line, confirming
		  	  which system/ media version we'd booted


	Strip junk blank lines. While there
	also shrink flabby verbose text throughout, eg

	If you are unfamiliar with FreeBSD's directory layout,
	please refer to the hier(7) manual page.

	If unfamiliar with directories type: man hier.

More examples:	

/please take the output/take the output/
/email it/mail it/
/to the questions at mailing list/to list questions at
/If you are not familiar with manual pages/If not familiar with manual/
/Welcome to FreeBSD!/Welcome to FreeBSD!	From /etc/motd/

More information about the freebsd-bugs mailing list