]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd-tmpfiles.xml
units: introduce systemd-tmpfiles-setup-dev-early.service 28784/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 11 Aug 2023 22:54:32 +0000 (07:54 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 11 Aug 2023 22:55:20 +0000 (07:55 +0900)
commitbb7f485f4bddd57bbf50739bafa43d127bab59d6
treea982a579169c7a2a30e917a865f2b4366d024ec6
parent12aac8ea45ab0fbdbeb5fe51bcd9537b8254bed9
units: introduce systemd-tmpfiles-setup-dev-early.service

This makes tmpfiles, sysusers, and udevd invoked in the following order:
1. systemd-tmpfiles-setup-dev-early.service
   Create device nodes gracefully, that is, create device nodes anyway
   by ignoring unknown users and groups.
2. systemd-sysusers.service
   Create users and groups, to make later invocations of tmpfiles and
   udevd can resolve necessary users and groups.
3. systemd-tmpfiles-setup-dev.service
   Adjust owners of previously created device nodes.
4. systemd-udevd.service
   Process all devices. Especially to make block devices active and can
   be mountable.
5. systemd-tmpfiles-setup.service
   Setup basic filesystem.

Follow-up for b42482af904ae0b94a6e4501ec595448f0ba1c06.

Fixes #28653.
Replaces #28681 and #28732.
man/systemd-tmpfiles.xml
test/TEST-17-UDEV/test.sh
test/units/testsuite-17.00.sh [new file with mode: 0755]
units/kmod-static-nodes.service.in
units/meson.build
units/systemd-sysusers.service
units/systemd-tmpfiles-setup-dev-early.service [new file with mode: 0644]
units/systemd-tmpfiles-setup-dev.service
units/systemd-tmpfiles-setup.service