Skip to content

Commit

Permalink
Work around systemd cap
Browse files Browse the repository at this point in the history
  • Loading branch information
vaeth committed Oct 22, 2016
1 parent 94ef175 commit 0b60f25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# ChangeLog for squashmount

*squashmount-15.4.0_p1
Martin Väth <martin at mvath.de>:
- Work around systemd cap https://github.com/vaeth/squashmount/issues/7

*squashmount-15.4.0
Martin Väth <martin at mvath.de>:
- Honour BLOCKSIZE for files in DIFF
Expand Down
5 changes: 1 addition & 4 deletions systemd/system/squashmount.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ After=local-fs.target systemd-tmpfiles-setup.service
# long timeout in /etc/systemd/system/squashmount.service.d/timeout.conf
TimeoutStopSec=1800
Type=oneshot
CapabilityBoundingSet=
CapabilityBoundingSet=CAP_SYS_ADMIN
CapabilityBoundingSet=CAP_CHOWN
CapabilityBoundingSet=CAP_SYS_MODULE
CapabilityBoundingSet=CAP_CHOWN CAP_DAC_OVERRIDE CAP_SYS_ADMIN CAP_SYS_MODULE
MemoryDenyWriteExecute=true
NoNewPrivileges=true
PrivateNetwork=true
Expand Down

0 comments on commit 0b60f25

Please sign in to comment.