]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-nspawn@.service.in
Merge pull request #1722 from evverx/port-cap-bounding-set-to-extract-first-word
[thirdparty/systemd.git] / units / systemd-nspawn@.service.in
index 6b86e0a7f7758772ef5e1488b11090ece51a0c45..2e79adff447be4651adf338f56dc3a94f695ab6e 100644 (file)
@@ -35,5 +35,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