misc/114398: /etc/ttys not parsed properly if last line does not
end with \n
Tim Daneliuk
tundra at tundraware.com
Sun Jul 8 06:30:08 UTC 2007
>Number: 114398
>Category: misc
>Synopsis: /etc/ttys not parsed properly if last line does not end with \n
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 08 06:30:07 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Tim Daneliuk
>Release: 6.2-STABLE
>Organization:
TundraWare Inc.
>Environment:
FreeBSD ozzie.tundraware.com 6.2-STABLE FreeBSD 6.2-STABLE #11: Sat Jul 7 12:38:43 CDT 2007 toor at ozzie.tundraware.com:/usr/obj/usr/src/sys/OZZIE i386
>Description:
Added this to the end of /etc/ttys:
ttyd0 "/usr/libexec/getty dial.115200" unknown on insecure
This was unrecognized when a 'kill -HUP 1' was subsequently done.
The problem turns out to occur only when the last line of the file
(the line above) is not newline terminated. Adding the newline
made the problem go away.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list