[Rpm-maint] [rpm-software-management/rpm] rpm --rebuilddb in an overlayfs without redirect_dir=on (Discussion #2905)

Michal Domonkos notifications at github.com
Tue Feb 13 16:28:29 UTC 2024


Right, that is a valid question, although I'm no expert on OverlayFS so can't really answer that. 

The only "explanation" (as to why EXDEV is issued on a `rename(2)` call) that I've found is the following excerpt from a comment in the OverlayFS [code](https://github.com/torvalds/linux/blob/v4.8-rc2/fs/overlayfs/copy_up.c#L318-L322):

> [...] This means, when copying up a directory we can rely on it and ancestors being stable.

There's also some more documentation on `redirect_dir` [here](https://docs.kernel.org/filesystems/overlayfs.html#renaming-directories) with some hints on the "why" (although no clear explanation either).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2905#discussioncomment-8456138
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/repo-discussions/2905/comments/8456138 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240213/c352a013/attachment.html>


More information about the Rpm-maint mailing list