[Bug 37435] Re: maintainer of /var/lib/dpkg/alternatives/ doesn't do updates safely

Stewart Smith stewart at flamingspork.com
Wed May 10 12:55:28 UTC 2006


It is not a file system bug.

There is no gaurentee that the data hits disk without an explicit fsync (or clean shutdown).

Nowhere in POSIX does it specify that rename will sync data. That is what fsync is for.

(even with fsync, without additional checks, data is not gaurenteed to have hit disk... but that's another discussion.)

** Changed in: linux-source-2.6.15 (Ubuntu)
Sourcepackagename: linux-source-2.6.15 => dpkg

-- 
maintainer of /var/lib/dpkg/alternatives/ doesn't do updates safely
https://launchpad.net/bugs/37435




More information about the kernel-bugs mailing list