diff options
author | Daniel Mack <github@zonque.org> | 2015-10-06 11:02:04 +0200 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-10-06 11:02:04 +0200 |
commit | 6c8fe330317c159fff33ed8cce8d55a195a9445e (patch) | |
tree | c2489c18003b6c9ac915d5d9a4c7b36765689ec8 /units | |
parent | c51abd80cf774815f57817da527639081d7002f4 (diff) | |
parent | 95c906ae0727123e45a9d88782133cac4554ddcd (diff) |
Merge pull request #1452 from poettering/journal-vacuum
A variety of journal vacuuming improvements, plus an nspawn fix
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-nspawn@.service.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in index 6b86e0a7f7..03349931d9 100644 --- a/units/systemd-nspawn@.service.in +++ b/units/systemd-nspawn@.service.in @@ -35,5 +35,10 @@ 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 + [Install] WantedBy=machines.target |