FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 09-11-2012, 01:11 PM
Andrzej Giniewicz
 
Default with systemd

Hi all,

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?

Cheers,
Andrzej.
 
Old 09-11-2012, 03:13 PM
Rodrigo Rivas
 
Default with systemd

On Tue, Sep 11, 2012 at 3:11 PM, Andrzej Giniewicz <gginiu@gmail.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.

Regards.
--
Rodrigo
 
Old 09-12-2012, 08:29 AM
Andrzej Giniewicz
 
Default with systemd

On 11.09.2012 17:13, Rodrigo Rivas wrote:
> What is the output of: #systemctl status systemd-vconsole-setup.service ?
http://pastie.org/private/phhozort7vuasmeo1yw4a
> And if you are into it you can also post the output of: #systemctl
> show systemd-vconsole-setup.service Just in case.
http://pastie.org/private/b67hafbx5tmxo3qfvt64ta

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?

Cheers,
Andrzej.
 

Thread Tools




All times are GMT. The time now is 11:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org