summaryrefslogtreecommitdiff
path: root/units/systemd-nspawn@.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-22 00:39:57 +0200
committerLennart Poettering <lennart@poettering.net>2015-10-22 01:59:25 +0200
commita2c90f05f11c01a9f9faf3efb3ec0e05acebd75f (patch)
treed2fd711e7f5b14aaa6e6438942cf5c2142a87cab /units/systemd-nspawn@.service.in
parent79b6198bb0e694c7572d70ff35ba464dc9d80c52 (diff)
downloadsystemd-a2c90f05f11c01a9f9faf3efb3ec0e05acebd75f.tar.gz
units: also whitelist "blkext" block devices for nspawn service
/dev/loop*p* block devices are of the "blkext" subsystem, not of loop, hence whitelist this too. Fixes #1446
Diffstat (limited to 'units/systemd-nspawn@.service.in')
-rw-r--r--units/systemd-nspawn@.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in
index 03349931d9..2e79adff44 100644
--- a/units/systemd-nspawn@.service.in
+++ b/units/systemd-nspawn@.service.in
@@ -39,6 +39,7 @@ DeviceAllow=char-pts rw
# 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