]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: make sure the network tap driver is actually loaded
authorLennart Poettering <lennart@poettering.net>
Fri, 13 Jun 2025 13:14:06 +0000 (15:14 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 14 Jun 2025 04:29:14 +0000 (13:29 +0900)
We have the After= line, but not the Wants= line. Fix that.

units/systemd-vmspawn@.service.in

index 496b65117724adb8aa4e889341d349ecc69bb558..454a03e98b25ab4a992d8001839ee987aafce88b 100644 (file)
@@ -12,6 +12,7 @@ Description=Virtual Machine %i
 Documentation=man:systemd-vmspawn(1)
 PartOf=machines.target
 Before=machines.target
+Wants=modprobe@tun.service
 After=network.target modprobe@tun.service
 RequiresMountsFor=/var/lib/machines/%i