]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-nspawn@.service.in
resolved: add SetLinkXYZ() method counterparts on the Link object
[thirdparty/systemd.git] / units / systemd-nspawn@.service.in
index 6b86e0a7f7758772ef5e1488b11090ece51a0c45..eb10343ac61919773da196403c5176bfbce61c32 100644 (file)
@@ -20,6 +20,7 @@ RestartForceExitStatus=133
 SuccessExitStatus=133
 Slice=machine.slice
 Delegate=yes
+TasksMax=8192
 
 # Enforce a strict device policy, similar to the one nspawn configures
 # when it allocates its own scope unit. Make sure to keep these
@@ -35,5 +36,11 @@ DeviceAllow=/dev/net/tun rwm
 DeviceAllow=/dev/pts/ptmx rw
 DeviceAllow=char-pts rw
 
+# nspawn itself needs access to /dev/loop-control and /dev/loop, to
+# implement the --image= option. Add these here, too.
+DeviceAllow=/dev/loop-control rw
+DeviceAllow=block-loop rw
+DeviceAllow=block-blkext rw
+
 [Install]
 WantedBy=machines.target