console shows ààààààààà on startup soon after starting sshd & cron
Polytropon
freebsd at edvax.de
Fri Sep 13 04:30:58 UTC 2019
On Thu, 12 Sep 2019 20:16:19 +0000, Dave Cottlehuber wrote:
> On Fri, 26 Jul 2019, at 13:07, Dave Cottlehuber wrote:
> > Anybody seen this before? Over ipmi, soon after ssh and other daemons
> > start, with
> > normal text output, text is garbled:
> >
> > Mounting late filesystems:.
> > Starting sendmail_submit.
> > Configuring vt: blanktime.
> > Performing sanity check on sshd configuration.
> > Starting sshd.
> > Starting cron.
> > Starting
> > backgroàààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààà
> >
> > is displayed on the console.
> >
> > Immediately after shutting the system down, normal text resumes. I'm
> > guessing it
> > is some misconfiguration of some lconsole or terminal settings, but I
> > have no idea
> > what that might be?
> >
> > A+
> > Dave
>
> I'm no tty* expert but after vacation, I realised /etc/ttys has been modified.
>
> diff /etc/ttys:
>
> @@ -13,10 +13,13 @@ ttyv6 "/usr/libexec/getty Pc" cons25 off secure
> ttyv7 "/usr/libexec/getty Pc" cons25 off secure
> ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure
> # Serial terminals
> -ttyu0 "/usr/libexec/getty std.19200" dialup on secure
> -ttyu1 "/usr/libexec/getty std.19200" dialup on secure
> -ttyu2 "/usr/libexec/getty std.9600" dialup off secure
> -ttyu3 "/usr/libexec/getty std.9600" dialup off secure
> +# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
> +# NB these are required for IPMI SoL to function after kernel loads
> +ttyu0 "/usr/libexec/getty 3wire" vt100 onifconsole secure
> +ttyu1 "/usr/libexec/getty 3wire" vt100 onifconsole secure
> +ttyu2 "/usr/libexec/getty 3wire" vt100 onifconsole secure
> +ttyu3 "/usr/libexec/getty 3wire" vt100 onifconsole secure
>
> I have no idea why somebody would have set these differently for 10.x
> vs 12.0R but maybe
> this will help future users.
What FreeBSD version is this? For some time now, the type for the
virtual consoles is "xterm", not "cons25" or "cons25l1".
Example:
ttyv6 "/usr/libexec/getty Pc" xterm onifexists secure
Maybe this file has somehow been excluded from an upgrade process?
I don't have access to a 10.x system at the moment, but I think this
change happened somewhere in 10.x due to sc -> vt...
> I did try editing this manually and then `pkill -HUP 1` in case that
> fixed it interactively,
> but no such luck, a reboot was required.
And it now works? With that (nondefault) /etc/ttys file?
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list