Changes between v2.25 and v2.25.1-rc1 -------------------------------------------- commit 9b63ea9910000b89f0b90d58a99747bb1fde3140 Author: Karel Zak Date: Wed Aug 27 14:38:38 2014 +0200 build-sys: release++ (v2.25.1-rc1) Signed-off-by: Karel Zak NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit 7c15f960dec523d708785ce24796bbbe446ffebf Author: Karel Zak Date: Wed Aug 27 14:32:54 2014 +0200 docs: update v2.25.1-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.25.1-ReleaseNotes | 59 +++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) commit b0b010cbc265a92f0359adfe3163410ab2766b5b Author: Karel Zak Date: Wed Aug 27 14:29:54 2014 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 3 +++ 1 file changed, 3 insertions(+) commit aab7bafb821ee9689a318321c855d5d7e62722cf Author: Karel Zak Date: Wed Aug 27 14:28:12 2014 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 1316 +++++++++++------------ po/cs.po | 2446 ++++++++++++++++++++++--------------------- po/da.po | 1329 ++++++++++++------------ po/de.po | 1353 ++++++++++++------------ po/es.po | 2992 +++++++++++++++++++++-------------------------------- po/et.po | 1301 +++++++++++------------ po/eu.po | 1299 +++++++++++------------ po/fi.po | 1335 ++++++++++++------------ po/fr.po | 1367 ++++++++++++------------ po/gl.po | 1285 +++++++++++------------ po/hr.po | 1296 +++++++++++------------ po/hu.po | 1318 +++++++++++------------ po/id.po | 1320 +++++++++++------------ po/it.po | 1311 +++++++++++------------ po/ja.po | 1329 ++++++++++++------------ po/nl.po | 1377 ++++++++++++------------ po/pl.po | 1362 ++++++++++++------------ po/pt_BR.po | 1344 ++++++++++++------------ po/ru.po | 1316 +++++++++++------------ po/sl.po | 1316 +++++++++++------------ po/sv.po | 1316 +++++++++++------------ po/tr.po | 1318 +++++++++++------------ po/uk.po | 1382 +++++++++++++------------ po/util-linux.pot | 1253 +++++++++++----------- po/vi.po | 1361 ++++++++++++------------ po/zh_CN.po | 2621 ++++++++++++++++++++++------------------------ po/zh_TW.po | 1316 +++++++++++------------ 27 files changed, 20007 insertions(+), 19872 deletions(-) commit 3e71645b5ace03453e13f8ee1abea1d20a6bb01e Author: Wylmer Wang Date: Wed Aug 27 14:19:56 2014 +0200 po: update zh_CN.po (from translationproject.org) po/zh_CN.po | 2124 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 1136 insertions(+), 988 deletions(-) commit 46f43429e17f534a5b5d060d5dc0b8ea92b4b228 Author: Antonio Ceballos Roa Date: Wed Aug 27 14:19:56 2014 +0200 po: update es.po (from translationproject.org) po/es.po | 2101 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 1357 insertions(+), 744 deletions(-) commit 05ce34f9de31928d6614e3a32e1bd0c9444bc4c6 Author: Petr Písař Date: Wed Aug 27 14:19:56 2014 +0200 po: update cs.po (from translationproject.org) po/cs.po | 2819 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 1331 insertions(+), 1488 deletions(-) commit 39a5c58526595a28ae7fd5cfdd77444f4bd1f4e0 Author: Sami Kerola Date: Thu Jul 31 23:05:25 2014 +0100 tests: kill output message change Commit 09af3db48e01e5744f15fd8a2395e0fed36526ea changed how a missing process is reported, which caused kill test to fail when the test suite is ran as root. Reference: https://travis-ci.org/karelzak/util-linux/jobs/31312170 Signed-off-by: Sami Kerola tests/expected/kill/all_processes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b8557cc62c2cccacacec403845b400efb72430d1 Author: Karel Zak Date: Tue Aug 26 22:19:11 2014 +0200 cfdisk: fix typo in the previous commit Signed-off-by: Karel Zak disk-utils/cfdisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2df7d593ee6e9a0849e007a56dd63181a795f901 Author: Karel Zak Date: Tue Aug 26 17:03:11 2014 +0200 cfdisk: wrong interpretation of yes in non-english language Reported-by: tnut@nutyx.org Signed-off-by: Karel Zak disk-utils/cfdisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e9321450e47661b032152ef4ca95361613c5cb8a Author: Karel Zak Date: Tue Aug 26 16:35:16 2014 +0200 libfdisk: (dos) fix logical partitions add/delete code If you delete logical partition and then create a new one than fdisk (and cfdisk) might write EBR to the first sector on the device. That's wrong of course; because you will lost MBR (primary partitions). (Probably introduced by commit bcddbe96882b88d53b6bc0495e7322c0820a5122 where code completely clears EBR stuff.) Reported-by: Michał Górny Signed-off-by: Karel Zak libfdisk/src/dos.c | 127 ++++++++++++++++++++++++++++++++++------------------- 1 file changed, 82 insertions(+), 45 deletions(-) commit 2813a2cd115adb23698760cf7120c5dcf2b8259c Author: Karel Zak Date: Thu Aug 21 14:58:40 2014 +0200 libmount: use -t for type.subtype in helpers API References: https://github.com/karelzak/util-linux/issues/116 Signed-off-by: Karel Zak libmount/src/context_mount.c | 4 +++- libmount/src/context_umount.c | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) commit c62429fc88a996fe764aadec758976d702c778dd Author: Sami Kerola Date: Wed Aug 20 22:06:58 2014 +0300 tests: apply travis clang PATH workaround As seen in Travis build log the clang is not found, causing one of the tests to fail. This change adds a workaround from Travis issue 2607 to util-linux. Reference: https://travis-ci.org/karelzak/util-linux/jobs/33056101#L3630 Reference: https://github.com/travis-ci/travis-ci/issues/2607 Signed-off-by: Sami Kerola .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) commit 45a6cc1e343448799232f7120f4bffeda3a8d730 Author: Aurelien Jarno Date: Fri Aug 15 00:26:24 2014 +0200 tests: fix fdisk/bsd for the two possible sectors/offsets BSD disklabels depend on the endianess, but also on the architecture as one can see in include/pt-bsd.h with the BSD_LABELSECTOR and BSD_LABELOFFSET #define. This cause the testsuite to fail on the affected architectures as the disk image is not the same as the expected result. Commit 180b3a7e tried to fix the endianess, but the special PowerPC case has been chosen as a reference, so it still fails for example on MIPS BE or S/390. This patch fixes the testsuite by converting the md5sums to the expected values, still depending on the endianess, but also for the two possible sectors/offsets. This has been tested on Alpha, MIPS, PowerPC and x86-64, so this should cover all 4 cases. Cc: Andreas Henriksson Signed-off-by: Aurelien Jarno tests/ts/fdisk/bsd | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) commit af818cfe4dc5804dd6005c11379dde967fc17c90 Author: Karel Zak Date: Thu Aug 14 11:33:46 2014 +0200 libfdisk: (gpt) allow to specify attr bit by API Signed-off-by: Karel Zak libfdisk/src/gpt.c | 11 ++++++++++- libfdisk/src/libfdisk.h | 22 ++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) commit 104dd16c1f1b9b4cf295fb49bc34f5c94a2e6d3a Author: Karel Zak Date: Mon Aug 11 15:59:04 2014 +0200 libblkid: (gpt) fix PT offset Signed-off-by: Karel Zak libblkid/src/partitions/gpt.c | 3 ++- libblkid/src/partitions/partitions.c | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) commit c66703995b25818a27a49722c716a88cfeb09e76 Author: Stanislav Brabec Date: Fri Aug 8 19:30:55 2014 +0200 Fix bash-completion Makemodule options bash-completion/Makemodule.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cc10633cb79e0cea76cbe88f3fb41004f9ef2a57 Author: Sami Kerola Date: Wed Aug 6 23:04:31 2014 +0100 tests: make ipcs limit calculations work when numbers are large Test suite failed when I ran it with kernel 3.16. Error is the following. tests/ts/ipcs/limits2: line 31: [: 18446744073692774399: integer expression expected Reference: http://lkml.iu.edu/hypermail/linux/kernel/1406.0/01869.html Signed-off-by: Sami Kerola tests/ts/ipcs/limits2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 3b794d5cf7171c1f2b753351f55bba37ebeca1a5 Author: Sami Kerola Date: Wed Aug 6 21:52:18 2014 +0100 swapon: remove invalid error string print outs To avoid messages like this: $ swapon /dev/zram0 swapon: /dev/zram0: read swap header failed: Success Signed-off-by: Sami Kerola sys-utils/swapon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 575cd04e2b0f3bb54bc0820f4c24c010365676ca Author: Benno Schulenberg Date: Wed Aug 6 22:35:06 2014 +0200 textual: remove some inconsistent periods from error messages While doing so, also improve translatability and some wordings. Signed-off-by: Benno Schulenberg Signed-off-by: Karel Zak disk-utils/sfdisk.c | 6 +++--- include/optutils.h | 8 ++++---- login-utils/lslogins.c | 2 +- login-utils/sulogin.c | 4 ++-- misc-utils/findmnt.c | 2 +- misc-utils/lsblk.c | 4 ++-- sys-utils/fallocate.c | 2 +- sys-utils/fstrim.c | 2 +- text-utils/hexdump.c | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) commit a0c758c28bffc985665d8de654cd7bd6f7adb119 Author: Mike Frysinger Date: Tue Aug 5 18:59:50 2014 -0400 lscpu: clean up vmware inline asm This code is not PIC clean which means it fails to build on hardened 32bit x86 systems (i.e. building as PIE). While here, optimize the existing cpuid logic slightly. URL: https://bugs.gentoo.org/518936 Signed-off-by: Mike Frysinger sys-utils/lscpu.c | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) commit 4e80695034dface17e5e5e192f6e31f7684dbdf8 Author: Karel Zak Date: Fri Aug 8 12:35:20 2014 +0200 fdisk: update tests and clean up output Signed-off-by: Karel Zak disk-utils/fdisk.c | 8 +++----- tests/expected/blkid/md-raid0-whole | 1 + tests/expected/blkid/md-raid1-part | 1 + tests/expected/blkid/md-raid1-whole | 1 + tests/expected/fdisk/align-512-4K | 1 + tests/expected/fdisk/align-512-4K-63 | 1 + tests/expected/fdisk/align-512-4K-md | 2 ++ tests/expected/fdisk/align-512-512 | 1 + tests/expected/fdisk/align-512-512-topology | 1 + tests/expected/fdisk/mbr-dos-mode | 2 -- tests/expected/fdisk/mbr-nondos-mode | 3 --- tests/expected/fdisk/mbr-sort | 3 --- tests/expected/fdisk/oddinput | 1 - 13 files changed, 12 insertions(+), 14 deletions(-) commit 61d355453707f941237bed787052869b701818d4 Author: Karel Zak Date: Fri Aug 8 11:56:06 2014 +0200 libblkid: (gpt) use real sector size to set PTMAGIC_OFFSET So stupid and 5 years old bug... Signed-off-by: Karel Zak libblkid/src/partitions/gpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1a8a154b41b77d10da0bcdda8e63bcb79d8c03d1 Author: Karel Zak Date: Fri Aug 8 11:33:28 2014 +0200 fdisk: always print warning for mis-aligned partitions This patch restores the original fdisk behavior and always prints information about misaligned partitions in 'p'print output. Signed-off-by: Karel Zak disk-utils/fdisk.c | 13 ++++++++++++- libfdisk/src/alignment.c | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) commit 6b5928782f0db95937a9518c8504cf9b732968b8 Author: HUANG Wei Date: Wed Aug 6 12:20:18 2014 +0800 hexdump: Fix parse format of "byte count without repetition count" text-utils/hexdump-parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4995d9edbd044b922d07d9712d877420baa3cb7f Author: Christoph Junghans Date: Fri Aug 1 11:37:08 2014 -0600 build-sys: fix double prefix with explict --libdir * with configure --prefix=$HOME --libdir=$HOME usrlib_execdir ends up being ${exec_prefix}/${libbir}, which is double-prefixed * fix: use explict given ${libbir} if is matches ${prefix}/* Signed-off-by: Christoph Junghans configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1d75156e943a1c839cc17926a15c08927df6ebde Author: Sergei Antonov Date: Thu Jul 31 12:46:06 2014 +0200 libfdisk: (gpt) add Microsoft Storage Spaces GUID Storage Spaces is Microsoft's logical volume management. It has been around since Windows 8. Cc: Karel Zak Signed-off-by: Sergei Antonov libfdisk/src/gpt.c | 1 + 1 file changed, 1 insertion(+) commit ea2c6d6ae068a12a62d6ca6071f261467e9a9f9a Author: Andreas Henriksson Date: Sat Jul 26 22:44:01 2014 +0200 tests: allow non-inotify tailf to keep up When tailf is not using inotify, it seems to sleep for 0.25s between checks. Just giving a 0.1s time window between update and removal of the input file thus gives little chance for tailf to succeed. Similar between startup and append to file, make sure initial content is read before appending additional data by bumping the time. This should possibly be bumped much larger to make sure that the tailf process actually gets a chance to run at all in the given time window. Otherwise it might fail on really slow/overloaded machines. The drawback would then ofcourse be to increase the time it takes to run the testsuite. Signed-off-by: Andreas Henriksson tests/ts/tailf/simple | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a063ae973c576d11ea5f77aea62586994d4f0988 Author: Karel Zak Date: Mon Jul 28 13:00:54 2014 +0200 hwclock: check for permissions before use clock interface Reported-by: Benno Schulenberg Signed-off-by: Karel Zak sys-utils/hwclock.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 8a0d15510105ce3abc15c7db364ca734ee651113 Author: Karel Zak Date: Mon Jul 28 11:57:10 2014 +0200 fdisk: fix -l [] * don't use err(), but warn(), so don't stop after the first error * display all errors when "-l ..." specified * display only EACCES errors when list whole disks from /proc/partitions ("fdisk -l" ) Reported-by: Boian Bonev Addresses: https://github.com/karelzak/util-linux/pull/106 Signed-off-by: Karel Zak disk-utils/fdisk.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 9be47a323952b4bed64c3486d062a4c89b424bd8 Author: Lauri Nurmi Date: Sat Jul 26 12:35:54 2014 +0300 hwclock: use pluralized translations. sys-utils/hwclock.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 045285e8336bf309a1a7c1e39515361762b9f8cf Author: Lauri Nurmi Date: Sat Jul 26 12:43:42 2014 +0300 more: replace ad-hoc support for plurals with gettext plurals. text-utils/more.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit be36f71a2c9874c3c23240fdc7f1a3c1792688d7 Author: Lauri Nurmi Date: Fri Jul 11 21:51:03 2014 +0300 sfdisk: use pluralized translation. disk-utils/sfdisk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 5ea24dcdc10c90e5db5d94f30019152c01647d89 Author: Benno Schulenberg Date: Fri Jul 25 14:55:03 2014 +0200 various: erase all traces of the long-obsolete xiafs The xiafs filesystem was removed from the kernel fifteen years ago, and any kernel that contained it reached end of life ten years ago. It's time to stop mentioning it in the mount man page and elsewhere. Signed-off-by: Benno Schulenberg bash-completion/findmnt | 3 +-- bash-completion/mount | 2 +- bash-completion/umount | 2 +- disk-utils/fsck.8 | 1 - disk-utils/fsck.c | 3 +-- disk-utils/mkfs.8 | 3 +-- sys-utils/mount.8 | 5 ----- 7 files changed, 5 insertions(+), 14 deletions(-) commit 3bed387429326ffe68cbfe40badd895fc3c96455 Author: Karel Zak Date: Wed Aug 6 15:39:27 2014 +0200 cfdisk: reenable cursor when quitting Based on master branch patches cd8414f7a13aca0b3ea150b473b83f00819b312f 4f4daf8f90a7f4b01ce3edbf620d58058aaf2efd This is probably correct to have curs_set() in ui_end(), but according to Martin it does not work with slang library from signal handler. Addresses-Debian-Bug: #755991 Reported-by: Martin Steigerwald Signed-off-by: Karel Zak disk-utils/cfdisk.c | 1 + 1 file changed, 1 insertion(+) commit 2aad1dc3127921c5166e86f4c0475f93c2390911 Author: Andreas Henriksson Date: Thu Jul 24 21:28:44 2014 +0200 tests: Fall back on host/getent in ts_resolve_host Neither dig or nslookup would be my first option for resolving, so add the host utility of ISC/bind fame and the (slow) getent utility shipped with libc. This extends the conditions introduced in ... commit a98de9696e1a898f925c9154e5693e73aec0779d Author: Ruediger Meier Date: Wed Jun 11 19:28:20 2014 +0200 tests: skip some last tests if no dns support ... and should help us not skip certain tests when we have network connection but none of dig or nslookup available. Signed-off-by: Andreas Henriksson tests/functions.sh | 6 ++++++ 1 file changed, 6 insertions(+) commit 8046a249a4f345e68d50e8250a638b7e4586eb52 Author: Bernhard Voelker Date: Thu Jul 24 15:30:54 2014 +0200 mcookie: avoid format warning "gcc (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388]" issued the following warning: warning: format ‘%zu’ expects argument of type ‘size_t’, \ but argument 3 has type ‘int’ [-Wformat=] * misc-utils/mcookie.c (main): Change format from %zu to %d. RAND_BYTES is an enum, thus of type int. Signed-off-by: Bernhard Voelker misc-utils/mcookie.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6749ce1ef490439e0c0082dc309ffcee6fa4762d Author: Andreas Henriksson Date: Wed Jul 23 19:39:02 2014 +0200 build-sys: fix switch_root/pivot_root cut-n-paste error in configure.ac The "linux only" check for pivot_root seems to suffer from a cut-n-paste problem from the earlier switch_root part. Signed-off-by: Andreas Henriksson configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3411aeaf0707a80a5f77d62ec4a88c44dc511518 Author: Benno Schulenberg Date: Tue Jul 22 22:56:27 2014 +0200 textual: fix some typos and inconsistencies in various messages Fixing plain typos, miswordings, inconsistent periods, some missing angular brackets, and a proper pluralization (even when it involves a constant, because for some languages the precise value matters). Signed-off-by: Benno Schulenberg disk-utils/cfdisk.c | 6 +++--- disk-utils/fdisk.c | 2 +- disk-utils/fsck.cramfs.c | 2 +- libfdisk/src/bsd.c | 2 +- libfdisk/src/gpt.c | 6 +++--- libfdisk/src/sgi.c | 2 +- login-utils/chfn.c | 2 +- login-utils/chsh.c | 4 ++-- login-utils/last.c | 6 +++--- login-utils/lslogins.c | 2 +- login-utils/su-common.c | 6 +++--- misc-utils/kill.c | 2 +- misc-utils/logger.c | 4 ++-- misc-utils/mcookie.c | 7 ++++--- misc-utils/namei.c | 2 +- misc-utils/rename.c | 4 ++-- misc-utils/whereis.c | 2 +- misc-utils/wipefs.c | 4 ++-- 18 files changed, 33 insertions(+), 32 deletions(-) commit 47105af8b41096312bad1472af58bbd717b4d2c4 Author: Yuri Chornoivan Date: Thu Jul 3 09:33:15 2014 +0300 Fix typos in user visible messages login-utils/lslogins.c | 2 +- misc-utils/lsblk.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 53b8edbed89ddd812e5f0b02339a1cf9ef8bc6e8 Author: Lauri Nurmi Date: Fri Jul 11 22:52:09 2014 +0300 Fix typo "ioclt" in various files. include/blkdev.h | 2 +- include/loopdev.h | 2 +- login-utils/login.c | 2 +- misc-utils/wipefs.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)