]> 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 17:17:42 +0000 (18:17 +0100)
We have the After= line, but not the Wants= line. Fix that.

(cherry picked from commit 008818ec96bc4b619967fb060a847cc6ef5b2b79)
(cherry picked from commit 1b0706a9e5094a40e9d185eb92ad5b58de36a21e)

units/systemd-vmspawn@.service.in

index 608002040cdf223b7bd94bc8660c2fa284e32383..e5581e87c29cc65ebfa20090adcddf79e61c7e56 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