]> 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)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 25 Jun 2025 12:36:10 +0000 (13:36 +0100)
We have the After= line, but not the Wants= line. Fix that.

(cherry picked from commit 008818ec96bc4b619967fb060a847cc6ef5b2b79)

units/systemd-vmspawn@.service.in

index fc4522ddb817036d1b994e2c0395fa480806cc06..9c3a0a53f54958c99caee744abd6c25b350ba69b 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