Replies: 4 comments 10 replies
-
Yup, this is a known issue, see #2355. The thing is, even if this would be possible to work around, we don't want to have any such filesystem-specific code in RPM. Now, thinking about it more, this might in fact be something to handle in an RPM plugin. |
Beta Was this translation helpful? Give feedback.
-
Looking at the OverlayFS docs some more, specifically at the section covering
Obviously, since Historically, before OverlayFS was a thing, there was no reason to assume otherwise, as you wouldn't normally have an "artificial" filesystem boundary within the same directory. Since OverlayFS is now a mature and widely deployed filesystem (especially in the container space), adjusting our |
Beta Was this translation helpful? Give feedback.
-
OK, having discussed this with the team, let's reopen #2355 and see what we can do on that front. This issue certainly is something that comes up regularly so we might as well bite the bullet now. |
Beta Was this translation helpful? Give feedback.
-
This is an interesting bit that I haven't seen before. That clue reveals what is no doubt another wonderful rabbithole... |
Beta Was this translation helpful? Give feedback.
-
Hello,
[I'm not sure this is the right place to post such a question, feel free to redirect me if needed.]
using
RPM version 4.19.1
onFedora release 39 (Thirty Nine)
orRPM version 4.14.3
onRed Hat Enterprise Linux release 8.8 (Ootpa)
, I experienced that I could not successfully runrpm --rebuilddb
in an Apptainer or Docker container. I would get the following error msg:My understanding it that
rpm
does not handle theEXDEV
error whenrename()
is called in an overlayfs without theredirect_dir
option turned toon
As a matter of fact, if I turn this on via:
the command succeeds
My question was, as I think some tools like
mv
do workaround this error, what is the reason for that (my guess is there is then no atomicity) and/or could it fit a legit request to implement this feature (beeing able to runrpm --rebuilddb
when into a container or maybe just to give a hint about possible cause) or not ?Context: in some provisioning environment, I happen to have to rebuild the database inside a Docker container.
Thanks for your help
--
Thomas HUMMEL
Beta Was this translation helpful? Give feedback.
All reactions