]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/basic.target
test: Disable LUKS devices from initramfs in QEMU tests
[thirdparty/systemd.git] / units / basic.target
index f9d03fa16f8a2f33a713431377a8743ce5fd2703..4f44292249405339fe4568885f4bb84291c1a558 100644 (file)
@@ -1,3 +1,5 @@
+#  SPDX-License-Identifier: LGPL-2.1+
+#
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
@@ -8,6 +10,13 @@
 [Unit]
 Description=Basic System
 Documentation=man:systemd.special(7)
-Requires=sysinit.target sockets.target
-After=sysinit.target sockets.target
-RefuseManualStart=yes
+Requires=sysinit.target
+Wants=sockets.target timers.target paths.target slices.target
+After=sysinit.target sockets.target paths.target slices.target tmp.mount
+
+# We support /var, /tmp, /var/tmp, being on NFS, but we don't pull in
+# remote-fs.target by default, hence pull them in explicitly here. Note that we
+# require /var and /var/tmp, but only add a Wants= type dependency on /tmp, as
+# we support that unit being masked, and this should not be considered an error.
+RequiresMountsFor=/var /var/tmp
+Wants=tmp.mount