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

鐘翊修 obarisk at gmail.com
Wed Apr 19 02:24:21 BST 2023


Package: podman
Version: 4.4.0+ds1-1

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20230419/c7ac792e/attachment.htm>


More information about the Pkg-go-maintainers mailing list