[systemd-devel] How to set `InitRDTimestampMonotonic` from console?

Lennart Poettering lennart at poettering.net
Wed Jul 4 09:22:29 UTC 2018


On Mi, 04.07.18 07:24, Paul Menzel (pmenzel+systemd-devel at molgen.mpg.de) wrote:

> Dear systemd folks,
> 
> 
> Debian uses a shell script as `/init` in initrd, and I like to extend that,
> to set the time stamps for the initrd execution.

This is part of the data that is serialized during the transition from
the systemd instance in the initrd to the systemd instance on the
host. The serialization is internal to systemd, and this is unlikely
to change, as it contains numerous bits of information that are
fragile and sensitive as the serialization really contains the full
service manager state with all its units and so on.

> Is it possible to set that value from a shell script? If yes, could you
> please tell me how?

It's not, and quite frankly I am not enthusiastic about the idea to
make this configurable...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list