[systemd-devel] [PATCH] rules: rerun vconsole-setup when switching from vgacon to fbcon

Lennart Poettering lennart at poettering.net
Mon Dec 1 09:42:28 PST 2014


On Mon, 01.12.14 17:25, Ivan Shapovalov (intelfx100 at gmail.com) wrote:

> > To me it appears to be quite OK to be run inside a udev rule.
> 
> Well, maybe it is OK to be run from an udev rule, but it is still an
> inconsistency between running that binary on boot (via a unit) and
> running the same binary when a framebuffer console is added (directly)...

Yeah, we do that a couple of times however. For example the alsa
volume restor tools are both run from an udev rule and as unit. The
latter is important since /var (where they store their data) is not
available when udev starts probing things...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list