RPM Community Forums

Mailing List Message of <rpm-devel>

fsync()

From: Russell Coker <russell@coker.com.au>
Date: Thu 28 Jun 2007 - 08:28:12 CEST
Message-Id: <200706281628.13618.russell@coker.com.au>
When upgrading a package with RPM version 4.4.2 in SUSE doesn't call fsync()!  
It creates a temporary file (without using O_SYNC), writes all the data to 
it, closes it, and then renames it to replace the original file.

Has this horrible mistake been fixed in the upstream tree?

-- 
russell@coker.com.au
http://etbe.coker.com.au/          My Blog

http://www.coker.com.au/sponsorship.html Sponsoring Free Software development
Received on Thu Jun 28 15:12:30 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.