From 8b3eb920b4ffcb3c47081e117e61afd51314a18c Mon Sep 17 00:00:00 2001 From: rwxd Date: Fri, 20 Sep 2024 23:20:48 +0200 Subject: [PATCH] fix: podman --- DevOps/Infrastructure-Solutions/Podman/podman.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 DevOps/Infrastructure-Solutions/Podman/podman.md diff --git a/DevOps/Infrastructure-Solutions/Podman/podman.md b/DevOps/Infrastructure-Solutions/Podman/podman.md new file mode 100644 index 00000000..39ef35cc --- /dev/null +++ b/DevOps/Infrastructure-Solutions/Podman/podman.md @@ -0,0 +1,13 @@ +## Issues + +`Error: failed to create volume "immich-data": giving /mnt/media-box/immich a label: setting selinux label for /mnt/media-box/immich to "system_u:object_r:container_file_t:s0:c785,c978" as shared: lsetxattr /mnt/media-box/immich: operation not supported` + +An Volume was on an sshfs mount, the type was `DirectoryOrCreate`, it must be `Directory` or else selinux labeling is tried + +```yaml +volumes: + - name: immich-data + hostPath: + path: /mnt/media-box/immich + type: Directory +```