Skip to content

Commit

Permalink
units: also whitelist "blkext" block devices for nspawn service
Browse files Browse the repository at this point in the history
/dev/loop*p* block devices are of the "blkext" subsystem, not of loop,
hence whitelist this too.

Fixes #1446
  • Loading branch information
poettering committed Oct 21, 2015
1 parent 79b6198 commit a2c90f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions units/systemd-nspawn@.service.in
Expand Up @@ -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

0 comments on commit a2c90f0

Please sign in to comment.