Florian Weimer writes:
* Sam Varshavchik:
> Stephen Smoogen writes:
>
>> <
URL:https://github.com/rpm-software-management/rpm/issues/
>>
2826>https://github.com/rpm-software-management/rpm/issues/2826
>>
>>
>> And thanks for opening a bug. I will watch to see what happens.
>
> I'm genuinely curious. Am I really the only one seeing this? The bug
> seems fairly clear cut to me. What the heck.
I suspect most of us package only files from one user, so the cache
never needs evicting?
You know, I think you're right. You need to put files into rpms that have
different user and group ownership. Nearly all packages likely %defattr away
all files to the same user and group id the race condition never gets
triggered.
The race condition occurs when the next file that gets added to the rpm is
specified to have a different user or group ownership from the previous file.