recently I got new machine at work, on which I decided to try some stuff
new to me, and some not so new but not used together. So I got my
machine running on uefi/gpt/softraid1/lvm/systemd in preparation to get
xen on it (buckets of fun, and quite pleasant ride after all - at least
it was better than I expected). Anyway - after some time spent on
experimenting in virtualbox I decided to try on living thing, and it
mostly works now, but I seem to be unable to get it to automatically set
fonts in tty[1-6].
During startup, the fonts change for a while, but as soon as getty is
run, fonts return to default. If I login into tty[1-6] and call
systemd-vconsole-setup manually, fonts are loaded correctly. I don't see
anything bad in journal or on screen during boot, at least nothing that
got my attention. Also, it works when not using systemd, so I guess that
config file is OK. This machine will not have X on it, so I boot it into
multi-user.target. Only things I did to systemd was write config files
the usual way and enable few services - sshd, ntpd, lvm and network (one
from wiki, the static ethernet config).
Systemd is quite new to me, have I missed something obvious? At the
first look, the issue seems to be similar to
https://bugzilla.novell.com/show_bug.cgi?id=744108 but I don't like idea
of only solution present there, with replacing config file with
hardcoded version (
https://bugzilla.novell.com/show_bug.cgi?id=744108#c26 ), so I decided
to ask - anyone had similar issue and solved it already, preferably in
nicer way? Maybe service that will be run "After" getty@*.service?
09-11-2012, 03:13 PM
On Tue, Sep 11, 2012 at 3:11 PM, Andrzej Giniewicz <email@example.com> wrote:
> During startup, the fonts change for a while, but as soon as getty is
> run, fonts return to default. If I login into tty[1-6] and call
> systemd-vconsole-setup manually, fonts are loaded correctly. I don't see
> anything bad in journal or on screen during boot, at least nothing that
> got my attention. Also, it works when not using systemd, so I guess that
> config file is OK.
What is the output of:
#systemctl status systemd-vconsole-setup.service
And if you are into it you can also post the output of:
#systemctl show systemd-vconsole-setup.service
Just in case.
09-12-2012, 08:29 AM
On 11.09.2012 17:13, Rodrigo Rivas wrote:
> What is the output of: #systemctl status systemd-vconsole-setup.service ?
> And if you are into it you can also post the output of: #systemctl
> show systemd-vconsole-setup.service Just in case.
here you go. The service is started and exits with success, which can be
seen on screen for like 1 second. The reset of fonts is I believe
connected to console switch, in log first I have:
Console: switching to colour dummy device 80x25
... (it's not logged, but I'm 99% sure that
systemd-vconsole-setup.service is called now)
Console: switching to colour frame buffer device 180x56
... (starting from this, system falls back to default font)
Is it possible to make the systemd service run twice or only after
second console switch?