r/bitwarden_rs: Fix EROFS when starting container
Even with `Network=host`, Podman tries to write to `/etc/containers/network` for some reason. Fortunately, it doesn't actually need to, so we can trick it into working by mounting an empty *tmpfs* filesystem there.
This commit is contained in:
@@ -18,6 +18,7 @@ ExecStart=/usr/bin/podman run \
|
|||||||
--uidmap 1:100000:65536 \
|
--uidmap 1:100000:65536 \
|
||||||
--gidmap 1:100000:65536 \
|
--gidmap 1:100000:65536 \
|
||||||
docker.io/vaultwarden/server:latest
|
docker.io/vaultwarden/server:latest
|
||||||
|
TemporaryFileSystem=/etc/containers/networks
|
||||||
SuccessExitStatus=143
|
SuccessExitStatus=143
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
UMask=0077
|
UMask=0077
|
||||||
|
|||||||
Reference in New Issue
Block a user