[arch-dev-public] [signoff] coreutils-8.12-1

Stéphane Gaudreault stephane at archlinux.org
Wed Apr 27 15:59:17 EDT 2011


Le 27 avril 2011 07:14:37, Allan McRae a écrit :
> Upstream notes:
> 
> We released coreutils-8.11 less than two weeks ago.
> Why a new release so soon?  Because under unusual conditions,
> coreutils-8.11's copying code could cause trouble.  Data loss trouble.
> The trouble could arise only when these conditions are all met:
>    - when using linux-2.6.39-related kernels (including at least -rc3) and
>    - using an xfs file system and
>    - copying (via cp, install, mv) a file with a so-called "unwritten
>        extent" shortly after it has been created, yet before some
>        data in that unwritten extent has made it to disk.
>        This would happen if you're using the "gold" linker, which
>        preallocates using fallocate and then writes its output
>        (the binaries) into those unwritten extents, and you then
>        immediately copy those binaries into place via "make install".
> Under those conditions, just building coreutils and running "make
> install" quickly enough after compile and link would result in
> installing files containing all 0 bytes.
> 
> 
> Signoff both,
> Allan

Signoff x86_64 (not tested on xfs)

Stéphane


More information about the arch-dev-public mailing list