]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: also whitelist "blkext" block devices for nspawn service
authorLennart Poettering <lennart@poettering.net>
Wed, 21 Oct 2015 22:39:57 +0000 (00:39 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 Oct 2015 23:59:25 +0000 (01:59 +0200)
/dev/loop*p* block devices are of the "blkext" subsystem, not of loop,
hence whitelist this too.

Fixes #1446

units/systemd-nspawn@.service.in

index 03349931d9d81e5d05768b2708084b778f1c1888..2e79adff447be4651adf338f56dc3a94f695ab6e 100644 (file)
@@ -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