summaryrefslogtreecommitdiffstats
path: root/test/TEST-17-UDEV
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-08-12 00:54:32 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-08-12 00:55:20 +0200
commitbb7f485f4bddd57bbf50739bafa43d127bab59d6 (patch)
treea982a579169c7a2a30e917a865f2b4366d024ec6 /test/TEST-17-UDEV
parentRevert "unit: make udev rules really take precedence over tmpfiles" (diff)
downloadsystemd-bb7f485f4bddd57bbf50739bafa43d127bab59d6.tar.xz
systemd-bb7f485f4bddd57bbf50739bafa43d127bab59d6.zip
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.
Diffstat (limited to 'test/TEST-17-UDEV')
-rwxr-xr-xtest/TEST-17-UDEV/test.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/TEST-17-UDEV/test.sh b/test/TEST-17-UDEV/test.sh
index 6b8f08fc32..f7a9075496 100755
--- a/test/TEST-17-UDEV/test.sh
+++ b/test/TEST-17-UDEV/test.sh
@@ -8,5 +8,9 @@ TEST_NO_NSPAWN=1
# shellcheck source=test/test-functions
. "${TEST_BASE_DIR:?}/test-functions"
+test_append_files() {
+ instmods snd_seq snd_timer tun
+ generate_module_dependencies
+}
do_test "$@"