After looking at current rpm.org sources, RPM still initializes with ts->dbmode 
= DB_RDONLY, and then  reopens the rpmdb with O_RW in rpmtsSetup(). That opens 
a (minor and mostly irrelevant wrto RPM on OS X) race window.

There is still the ability to disable fsync (or replace with fdatasync) within 
RPM sources. I would verify what setting you are using with RPM on OS X. What 
"works" on linux, may not work on OS X.

BTW, what version of Berkeley DB are you using on OS X?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/232#issuecomment-307766129
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to