LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 04-28-2011, 02:30 PM   #1
anti_user
Member
 
Registered: May 2008
Location: Russia, Ural
Distribution: Slackware Current
Posts: 69

Rep: Reputation: 4
Exclamation coreutils 8.12 bug


This is to announce coreutils-8.12, a stable release.

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.

See the commit logs for links to plenty of discussion.
See the NEWS below for a brief summary.

Jim [on behalf of the coreutils maintainers]

- -------------------------------------------
P.S. here's the GNU Coreutils home page:
http://www.gnu.org/software/coreutils/

For a summary of changes and contributors, see:
http://git.sv.gnu.org/gitweb/?p=core...ortlog;h=v8.12
or run this command from a git-cloned coreutils directory:
git shortlog v8.11..v8.12

To summarize the many gnulib-related changes, run these commands from
a git-cloned coreutils directory:
git checkout v8.12
git submodule summary v8.11

Here are the compressed sources:
http://ftp.gnu.org/gnu/coreutils/coreutils-8.12.tar.gz (11MB)
http://ftp.gnu.org/gnu/coreutils/coreutils-8.12.tar.xz (4.7MB)

Here are the GPG detached signatures[*]:
http://ftp.gnu.org/gnu/coreutils/cor....12.tar.gz.sig
http://ftp.gnu.org/gnu/coreutils/cor....12.tar.xz.sig

To reduce load on the main server, use a mirror listed at:
http://www.gnu.org/order/ftp.html
[*] You can use either of the above signature files to verify that
the corresponding file (without the .sig suffix) is intact. First,
be sure to download both the .sig file and the corresponding tarball.
Then, run a command like this:

gpg --verify coreutils-8.12.tar.gz.sig

If that command fails because you don't have the required public key,
then run this command to import it:

gpg --keyserver keys.gnupg.net --recv-keys 000BEEEE

and rerun the `gpg --verify' command.

This release was bootstrapped with the following tools:
Autoconf 2.68.71-af300
Automake 1.11a
Gnulib v0.0-5115-ga81348d
Bison 2.4.588-2f658

===================================================================
NEWS

* Noteworthy changes in release 8.12 (2011-04-26) [stable]

** Bug fixes

tail's --follow=name option no longer implies --retry on systems
with inotify support. [bug introduced in coreutils-7.5]

** Changes in behavior

cp's extent-based (FIEMAP) copying code is more reliable in the face
of varying and undocumented file system semantics:
- it no longer treats unwritten extents specially
- a FIEMAP-based extent copy always uses the FIEMAP_FLAG_SYNC flag.
Before, it would incur the performance penalty of that sync only
for 2.6.38 and older kernels. We thought all problems would be
resolved for 2.6.39.
- it now attempts a FIEMAP copy only on a file that appears sparse.
Sparse files are relatively unusual, and the copying code incurs
the performance penalty of the now-mandatory sync only for them.

** Portability

dd once again compiles on AIX 5.1 and 5.2

http://savannah.gnu.org/forum/forum.php?forum_id=6798
 
Old 04-28-2011, 07:33 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,620

Rep: Reputation: 445Reputation: 445Reputation: 445Reputation: 445Reputation: 445
Luckily Slackware 13.37 comes with 2.6.37.6 instead of 2.6.38.x series (even though they are provided in testing)
 
Old 04-28-2011, 09:57 PM   #3
anti_user
Member
 
Registered: May 2008
Location: Russia, Ural
Distribution: Slackware Current
Posts: 69

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by willysr View Post
Luckily Slackware 13.37 comes with 2.6.37.6 instead of 2.6.38.x series (even though they are provided in testing)
... and configs for x.39-rc4
 
Old 05-06-2011, 05:34 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,620

Rep: Reputation: 445Reputation: 445Reputation: 445Reputation: 445Reputation: 445
this should be marked as solved as the package now being included in -Current
 
Old 05-06-2011, 07:16 AM   #5
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 374

Rep: Reputation: 55
Quote:
Originally Posted by willysr View Post
this should be marked as solved as the package now being included in -Current
Probably Slackware wasn't affected in the first place. Are there any programs besides gold linker (which i don't think we use) that fallocate ? Anyway, now that coreutils is upgraded all is well.
 
Old 05-14-2011, 07:01 PM   #6
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.0
Posts: 389

Rep: Reputation: 23
Quote:
Originally Posted by willysr View Post
Luckily Slackware 13.37 comes with 2.6.37.6 instead of 2.6.38.x series (even though they are provided in testing)
Doesn't this only affect 2.6.39 and newer kernels?
 
Old 05-14-2011, 08:02 PM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,620

Rep: Reputation: 445Reputation: 445Reputation: 445Reputation: 445Reputation: 445
Based on the release notes
Quote:
cp's extent-based (FIEMAP) copying code is more reliable in the face
of varying and undocumented file system semantics:
- it no longer treats unwritten extents specially
- a FIEMAP-based extent copy always uses the FIEMAP_FLAG_SYNC flag.
Before, it would incur the performance penalty of that sync only
for 2.6.38 and older kernels. We thought all problems would be
resolved for 2.6.39.
 
Old 05-15-2011, 05:56 PM   #8
storkus
Member
 
Registered: Jun 2008
Posts: 310

Rep: Reputation: 45
Perhaps someone could tell me why it was released only to -current and not to stable?
 
Old 05-15-2011, 07:34 PM   #9
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,620

Rep: Reputation: 445Reputation: 445Reputation: 445Reputation: 445Reputation: 445
Because in -Stable, the general policy is to include only security fixes
But for now, it's safe to upgrade the coreutil package from -Current, since -Current and -Stable is pretty much the same
 
1 members found this post helpful.
  


Reply

Tags
coreutils


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
5.16 Coreutils-6.12 jpeters Linux From Scratch 1 03-29-2009 04:23 PM
LXer: 2008 CES: Bug Labs Introduces BUG, BUGbase. So Cool! LXer Syndicated Linux News 0 01-09-2008 02:21 AM
anyone installed coreutils 6.3? ygloo Linux - General 1 10-28-2006 08:33 PM
mv (coreutils) 5.2.1 - a bug? BiThian Linux - Desktop 1 09-15-2006 01:28 AM
possible coreutils bug (tr) mebaro Linux - General 3 06-15-2006 11:04 AM


All times are GMT -5. The time now is 12:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration