util-linux v2.25.1
Subsystems (2)
The util-linux stable release v2.25.1 is available at
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25
Feedback and bug reports, as always, are welcomed.
Karel
Util-linux 2.25.1 Release Notes
===============================
build-sys:
- create parent directory for $(PATHFILES) [Michael Marineau]
- fix double prefix with explict --libdir [Christoph Junghans]
- fix switch_root/pivot_root cut-n-paste error in configure.ac [Andreas Henriksson]
- release++ (v2.25.1-rc1) [Karel Zak]
cfdisk:
- fix typo in the previous commit [Karel Zak]
- reenable cursor when quitting [Karel Zak]
- wrong interpretation of yes in non-english language [Karel Zak]
docs:
- update AUTHORS file [Karel Zak]
- update v2.25.1-ReleaseNotes [Karel Zak]
fdisk:
- always print warning for mis-aligned partitions [Karel Zak]
- fix -l [<device>] [Karel Zak]
- update tests and clean up output [Karel Zak]
hexdump:
- Fix parse format of "byte count without repetition count" [HUANG Wei]
hwclock:
- check for permissions before use clock interface [Karel Zak]
- use pluralized translations. [Lauri Nurmi]
libblkid:
- (gpt) fix PT offset [Karel Zak]
- (gpt) use real sector size to set PTMAGIC_OFFSET [Karel Zak]
libfdisk:
- (dos) fix logical partitions add/delete code [Karel Zak]
- (gpt) add Microsoft Storage Spaces GUID [Sergei Antonov]
- (gpt) allow to specify attr bit by API [Karel Zak]
libmount:
- use -t for type.subtype in helpers API [Karel Zak]
lscpu:
- clean up vmware inline asm [Mike Frysinger]
mcookie:
- avoid format warning [Bernhard Voelker]
more:
- replace ad-hoc support for plurals with gettext plurals. [Lauri Nurmi]
po:
- merge changes [Karel Zak]
- update cs.po (from translationproject.org) [Petr Písař] - update da.po (from translationproject.org) [Joe Hansen] - update de.po (from translationproject.org) [Mario Blättermann] - update es.po (from translationproject.org) [Antonio Ceballos Roa] - update fr.po (from translationproject.org) [David Prévot] - update nl.po (from translationproject.org) [Benno Schulenberg] - update pl.po (from translationproject.org) [Jakub Bogusz]
- update pt_BR.po (from translationproject.org) [Rafael Ferreira]
- update uk.po (from translationproject.org) [Yuri Chornoivan]
- update vi.po (from translationproject.org) [Trần Ngọc Quân]
- update zh_CN.po (from translationproject.org) [Wylmer Wang]
- update zh_TW.po (from translationproject.org) [Wei-Lun Chao]
sfdisk:
- use pluralized translation. [Lauri Nurmi]
swapon:
- remove invalid error string print outs [Sami Kerola]
tests:
- Fall back on host/getent in ts_resolve_host [Andreas Henriksson]
- allow non-inotify tailf to keep up [Andreas Henriksson]
- apply travis clang PATH workaround [Sami Kerola]
- fix fdisk/bsd for the two possible sectors/offsets [Aurelien Jarno]
- kill output message change [Sami Kerola]
- make ipcs limit calculations work when numbers are large [Sami Kerola]
textual:
- fix some typos and inconsistencies in various messages [Benno Schulenberg]
- remove some inconsistent periods from error messages [Benno Schulenberg]
various:
- erase all traces of the long-obsolete xiafs [Benno Schulenberg]
- erase all traces of the long-obsolete xiafs [Benno Schulenberg]
Signature · 6 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 1 line · Karel Zak
- make ipcs limit calculations work when numbers are large
That change isn't right -- it reverses the sense of the test, making the testcase fail on 3.16 again. Patch attached.
Thanks,
Signature · 1 line
Adam Sampson <[email protected]> <http://offog.org/>
Quoted 1 line
From
1269b6bb74727043c16852bc34727a0c8d0696c7Mon Sep 17 00:00:00 2001
From: Adam Sampson <[email protected]>
Date: Wed, 3 Sep 2014 16:49:40 +0100
Subject: [PATCH] Fix the test for shmall being too big to show.
It was correct when originally introduced, but the shell overflow fix in 3a9ec12d6664527fad9c56347c88f3447d6c0856 accidentally reversed the sense of the test.
--- tests/ts/ipcs/limits2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/ts/ipcs/limits2 +1 -1
@@ -29,7 +29,7 @@ ts_check_prog "bc" # TODO https://github.com/karelzak/util-linux/issues/51 SHMALL=$(</proc/sys/kernel/shmall) -if [ $(bc <<<"2^64 / $PAGE_SIZE < $SHMALL") -ne 1 ]; then +if [ $(bc <<<"2^64 / $PAGE_SIZE < $SHMALL") -eq 1 ]; then TS_KNOWN_FAIL="yes" fi
Signature · 1 line
2.0.4
Quoted 5 lines · Adam Sampson
Quoted 1 line · Karel Zak
- make ipcs limit calculations work when numbers are large
That change isn't right -- it reverses the sense of the test, making the testcase fail on 3.16 again. Patch attached.
Your patch seems to be correct except that it should be "<=" instead of "<":
if [ $(bc <<<"2^64 / $PAGE_SIZE <= $SHMALL") -eq 1 ]; then
to have the same (correct) behavior like before 3a9ec12d.
The mistake in 3a9ec12d happened probably because Sami tried to avoid "greater than" relations. but for my brain this line would be still more easy to read:
if [ $(bc <<<"$SHMALL >= 2^64 / $PAGE_SIZE") -eq 1 ]; then
Maybe that's why me and others have not noticed the mistake when reviewing that patch.
cu,
Rudi