Looks like an old issue with overlayfs - 
https://github.com/moby/moby/issues/25409.

> On 27 Apr 2021, at 19:44, Devendra Tewari <[email protected]> wrote:
> 
> You’re absolutely right - I’ll investigate whether this is something the 
> container overlay filesystem should be handling. Thanks!
> 
>> On 27 Apr 2021, at 19:39, Richard Purdie 
>> <[email protected]> wrote:
>> 
>> On Tue, 2021-04-27 at 11:59 -0300, Devendra Tewari wrote:
>>> I suspect this is an issue in upstream createrepo_c tool, which has code 
>>> that does not work across overlay
>>> file systems
>>> 
>>>    if (g_rename(out_repo, old_repodata_path) == -1) {
>>>        g_debug("Old repodata doesn't exists: Cannot rename %s -> %s: %s",
>>>                out_repo, old_repodata_path, g_strerror(errno));
>>>    } else {
>>>        g_debug("Renamed %s -> %s", out_repo, old_repodata_path);
>>>        old_repodata_renamed = TRUE;
>>>    }
>>> 
>>> I’ll try patching and report an issue to upstream project.
>> 
>> I'm starting to worry that you're going to have this problem with many tools 
>> doing 
>> renames. It does sound like something the container filesystem should be 
>> handling rather
>> than exposing as a difference in behaviour. I suspect it becomes hard to see
>> predictably since builds writing in the same build instance are probably fine
>> and it only likely happens for files created in one instance and then later
>> renamed in another...
>> 
>> Given the breadth of build systems we run, I'm not sure we want to try and
>> support this?
>> 
>> Cheers,
>> 
>> Richard
>> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#151047): 
https://lists.openembedded.org/g/openembedded-core/message/151047
Mute This Topic: https://lists.openembedded.org/mt/81698791/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to