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.
Attachment:
pgpyDB0fY20Qi.pgp
Description: PGP signature
-- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue