From 4c0d5bb473801a44a9c21c4045dbd861e7bbcacb Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 26 May 2024 12:03:14 -0500 Subject: [PATCH] r/jellyfin: 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. --- roles/jellyfin/templates/jellyfin.container.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/jellyfin/templates/jellyfin.container.j2 b/roles/jellyfin/templates/jellyfin.container.j2 index de42aee..eadc90e 100644 --- a/roles/jellyfin/templates/jellyfin.container.j2 +++ b/roles/jellyfin/templates/jellyfin.container.j2 @@ -31,6 +31,7 @@ ProtectSystem=strict ReadWritePaths=/var/lib/jellyfin ReadWritePaths=/var/lib/containers/storage ReadWritePaths=/var/cache/jellyfin +TemporaryFileSystem=/etc/containers/networks RestrictRealtime=yes RestrictSUIDSGID=yes SuccessExitStatus=0 143