]> git.ipfire.org Git - thirdparty/systemd.git/commit
manager: explicitly create our private runtime directory
authorLennart Poettering <lennart@poettering.net>
Thu, 13 Mar 2025 10:43:46 +0000 (11:43 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 13 Mar 2025 13:22:13 +0000 (14:22 +0100)
commite75fbee6248736d2a71aa96438b495887ef761ea
tree8ff11751936346aaafce14f59c58cef2fdb6c009
parentda65941c3ee03495541c3bffbccc9012c8d9a5f8
manager: explicitly create our private runtime directory

So far /run/systemd/ was created as side-effect of initializing the
D-Bus client/server. But in one of the next commits we'll suppress
connecting to D-Bus in test runs, hence let's move the logic our of the
D-Bus code and into manager_startup().

Then, also drop creating it again and again in PID 1 at various places,
and just rely on it to exist.
src/core/core-varlink.c
src/core/dbus.c
src/core/manager.c