On Wed, 2021-04-28 at 07:00 -0300, Devendra Tewari wrote: > The gist of it is that Docker uses the overlay2 storage driver by default, > previously it used aufs. Both drivers have the same limitation in rename, > where file rename across layers is handled by moving, but directory rename > across layers results in error EXDEV. It is up to user space to handle the > error.
I'm still struggling to see how you're going to patch all the various pieces of software out there used during a build to handle EXDEV correctly. We have handled some cases of this for a long time where we're moving files over to different parts of a filesystem, e.g. /tmp/ to WORKDIR or vice versa. This new docker case triggers for renames even within a directory, e.g. /some/path/a -> /some/path/b which is not something that would often trigger this. I need to say clearly now that we are not carrying/taking patches to patch every bit of other software to try and avoid this. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#151067): https://lists.openembedded.org/g/openembedded-core/message/151067 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]] -=-=-=-=-=-=-=-=-=-=-=-
