Bugzilla – Bug 1226825
podman erros with "configure storage: unknown option overlay.mountopt"
Last modified: 2024-06-26 13:23:16 UTC
Using distrobox/podman containers on MicroOS and with the last snapshot of Tumbleweed I get this on any podman command I run: ERRO[0000] User-selected graph driver "overlay" overwritten by graph driver "btrfs" from database - delete libpod local files ("/var/lib/containers/storage") to resolve. May prevent use of images created by other tools Error: configure storage: unknown option overlay.mountopt ("overlay.mountopt=nodev,metacopy=on") Unfortunately, it also breaks my main working container (`distrobox --root`). mitmanek:~ $ cat /etc/os-release NAME="openSUSE MicroOS" # VERSION="20240621" ID="opensuse-microos" ID_LIKE="suse opensuse opensuse-tumbleweed microos sl-micro" VERSION_ID="20240621" PRETTY_NAME="openSUSE MicroOS" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:microos:20240621" BUG_REPORT_URL="https://bugzilla.opensuse.org" SUPPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" DOCUMENTATION_URL="https://en.opensuse.org/Portal:MicroOS" LOGO="distributor-logo-MicroOS" mitmanek:~ $
I had to copy /usr/share/containers/storage.conf to /etc/containers/storage.conf and change `storage.driver` to `"btrfs"` to make podman work again as before. How come `podman` with default configuration breaks? (used libcontainers-common-20240618-1.1.noarch)
This happened because we moved all distro-specific configs (storage, mounts, seccomp) to the correct path (/usr/share/containers/*). In the process, the older storage.conf in /etc/containers/ was dropped. It was an oversight on my end. > ERRO[0000] User-selected graph driver "overlay" overwritten by graph driver > "btrfs" from database - delete libpod local files > ("/var/lib/containers/storage") to resolve. May prevent use of images > created by other tools > Error: configure storage: unknown option overlay.mountopt > ("overlay.mountopt=nodev,metacopy=on") Your existing workloads were using btrfs driver but with the recent update (fix pending merge to Factory[1]), the driver was set to overlay causing the above error. It should be fixed with the next snapshot and/or wouldn't cause this in the first place. [1] - https://build.opensuse.org/request/show/1183023