Systemd/src/hostname
Lennart Poettering d7f4ad203a hostnamed: minimize caching of /etc/hostname, /etc/os-release and /etc/machine-info
Instead of reading these files at startup and never again, let's read
them when we need them. As an optimization (in particular as some of
these files contain the data for many fields at once) let's cache the
results as long as the stat data (i.e. mtime) remains stable.

Also, while we are at it, if we can't read any of these props, let's not
fail everything, but continue without the data.
2020-06-25 13:49:11 +02:00
..
hostnamectl.c log: introduce log_parse_environment_cli() and log_setup_cli() 2020-06-24 16:49:26 +02:00
hostnamed.c hostnamed: minimize caching of /etc/hostname, /etc/os-release and /etc/machine-info 2020-06-25 13:49:11 +02:00
meson.build Drop my copyright headers 2018-06-14 13:03:20 +02:00
org.freedesktop.hostname1.conf Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
org.freedesktop.hostname1.policy tree-wide: use "hostname" spelling everywhere 2020-04-21 16:58:04 +02:00
org.freedesktop.hostname1.service tree-wide: drop 'This file is part of systemd' blurb 2018-06-14 10:20:20 +02:00