Bug#759657: console-setup w/ systemd forgets font setting

Michael Biebl biebl at debian.org
Wed Dec 16 14:31:49 GMT 2015


Am 16.12.2015 um 15:28 schrieb Anton Zinoviev:
> On Wed, Dec 16, 2015 at 03:21:22PM +0100, Michael Biebl wrote:

>> I don't see why this check would make it init system dependend or
>> dependend on Debian specifics.
> 
> I was talking about the following check: whether initrd has configured 
> the console yet or not.  I haven't figured out how exactly to 
> communicate this information from the initrd to the main init scripts, 
> but however I implement it, I suppose this will be Debian-specific.

/run is guaranteed to be transitioned over from the initramfs to the
running system. So you could just write a flag file to /run and check
for that.
The other guarantee you get from /run is that it is cleaned on reboot
(it's a tmpfs after all).
So it should have all the semantics you need.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20151216/0a094fb8/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list