<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:"courier new",monospace">Control: tag -1 upstream</div><div class="gmail_default" style="font-family:"courier new",monospace"><br></div><div class="gmail_default" style="font-family:"courier new",monospace">Hi,</div><div class="gmail_default" style="font-family:"courier new",monospace"><br>Thanks for taking the time to report this. It doesn't sound like a problem that we could fix in the packaging, but needs some code changes.  For this, I'd like to ask you a favor. Can you please check if this was reported before at <a href="https://github.com/containers/podman/issues">https://github.com/containers/podman/issues</a> ? If not yet, please report it as <a href="https://github.com/containers/podman/issues/new/choose">https://github.com/containers/podman/issues/new/choose</a> <br><br>In any case, please report back with the upstream issue number so that we can track progress on resolving it.</div><div class="gmail_default" style="font-family:"courier new",monospace"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 14, 2023 at 5:39 PM 鐘翊修 <<a href="mailto:obarisk@gmail.com">obarisk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">So<br>
<br>
    |   Before upgrade to 4.4.0+ds1-1 (4.3)      |        4.4.0+<br>
/etc/containers/strorage.conf            |   use btrfs |        btrfs<br>
/usr/share/containers/storage.conf  |   use <br>
overlayfs                                                 | overlayfs<br>
<br>
----<br>
<br>
When use 4.3, podman takes /etc/containers/storage.conf, so the storage <br>
is btrfs.<br>
But after upgrade 4.4.0+ (at least when it was April).<br>
Podman takes values in /usr/share/containers/storage.conf instead of <br>
/etc/containers/strorage.conf (wrong behavior)<br>
So just get the following<br>
<br>
User-selected graph driver \"overlay\" overwritten by graph driver \"btrfs\" from database<br>
<br>
That is the observed error. But not expected error.<br>
<br>
The expected behavior is<br>
<br>
Podman follows man 5 containers-storage.conf.<br>
Prefer values from /etc/containers/storage.conf.<br>
<br>
After version upgrade from 4.3 to 4.4, no configuration required, no <br>
reset required.<br>
<br>
<br>
Faidon Liambotis 於 2023/7/15 02:02 寫道:<br>
> Control: tags -1 moreinfo<br>
><br>
> On Wed, Apr 19, 2023 at 09:24:21AM +0800, 鐘翊修 wrote:<br>
>> following man 5 containers-storage.conf,<br>
>> when a system have both /etc/containers/storage.conf and /usr/share/containers/storage.conf<br>
>><br>
>> the values in /etc/containers/storage.conf overwrite the value in /usr/share/containers/storage.conf<br>
>><br>
>> But in 4.4.0+ds1-1. with both files, podman takes the config from /usr/share/containers/stroage.conf<br>
>><br>
>> To reproduce this<br>
>><br>
>> Create podman graph database on podman 4.3.1 with btrfs (config in /etc/containers/storage.conf)<br>
>><br>
>> upgrade from 4.3.1 to 4.4.0<br>
>><br>
>> run the following command<br>
>><br>
>> sudo podman info<br>
>><br>
>> expected error message<br>
>><br>
>> User-selected graph driver \"overlay\" overwritten by graph driver \"btrfs\" from database<br>
> I'm not sure I follow. Could you elaborate on the exact steps you took?<br>
> Do you mean that you expected to get this error message but didn't, or<br>
> that you got that error message even though you shouldn't have?<br>
><br>
> Are you aware that you need to run "podman system reset" before changing<br>
> storage.conf? See podman-system-reset(1).<br>
><br>
> Thanks,<br>
> Faidon<br>
<br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">regards,<br>    Reinhard</div></div>