[pkg-go] Bug#1034590: precedence of /etc/containers/storage.conf should higher than /usr/share/containers/storage.conf

Faidon Liambotis paravoid at debian.org
Fri Jul 14 19:02:39 BST 2023

Control: tags -1 moreinfo

On Wed, Apr 19, 2023 at 09:24:21AM +0800, 鐘翊修 wrote:
> following man 5 containers-storage.conf,
> when a system have both /etc/containers/storage.conf and /usr/share/containers/storage.conf
> the values in /etc/containers/storage.conf overwrite the value in /usr/share/containers/storage.conf
> But in 4.4.0+ds1-1. with both files, podman takes the config from /usr/share/containers/stroage.conf
> To reproduce this
> Create podman graph database on podman 4.3.1 with btrfs (config in /etc/containers/storage.conf)
> upgrade from 4.3.1 to 4.4.0
> run the following command
> sudo podman info
> expected error message
> User-selected graph driver \"overlay\" overwritten by graph driver \"btrfs\" from database

I'm not sure I follow. Could you elaborate on the exact steps you took?
Do you mean that you expected to get this error message but didn't, or
that you got that error message even though you shouldn't have?

Are you aware that you need to run "podman system reset" before changing
storage.conf? See podman-system-reset(1).


More information about the Pkg-go-maintainers mailing list