Changes between v2.30-rc1 and v2.30-rc2 --------------------------------------- commit 47cd0ae08164339d37eb97086f38764e96ec9e5d Author: Karel Zak Date: Tue May 23 12:20:27 2017 +0200 build-sys: release++ (v2.30-rc2) Signed-off-by: Karel Zak NEWS | 8 ++++++-- configure.ac | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) commit 8d78e5e0270279ec963438622515a99d0b2c4271 Author: Karel Zak Date: Tue May 23 12:19:21 2017 +0200 docs: update v2.30-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.30-ReleaseNotes | 45 +++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) commit cf1e776f1bbedf1969ad266ed637bdd42d278020 Author: Karel Zak Date: Tue May 23 12:10:15 2017 +0200 tests: check for TS_HELPER_SYSINFO in fincore test Signed-off-by: Karel Zak tests/ts/fincore/count | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit ed82d5e6e03c50d90d4c78d5b1c7e0a13e5ed79f Author: Karel Zak Date: Tue May 23 11:47:17 2017 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 1 + 1 file changed, 1 insertion(+) commit 9d2c1398dcd8cda44aba548f6acbf13ca3b27338 Author: Karel Zak Date: Tue May 23 11:45:07 2017 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 1182 ++++++++++++++++++++++++++-------------------------- po/cs.po | 1174 ++++++++++++++++++++++++++-------------------------- po/da.po | 1176 ++++++++++++++++++++++++++-------------------------- po/de.po | 1174 ++++++++++++++++++++++++++-------------------------- po/es.po | 1174 ++++++++++++++++++++++++++-------------------------- po/et.po | 1184 +++++++++++++++++++++++++++-------------------------- po/eu.po | 1182 ++++++++++++++++++++++++++-------------------------- po/fi.po | 1184 +++++++++++++++++++++++++++-------------------------- po/fr.po | 1174 ++++++++++++++++++++++++++-------------------------- po/gl.po | 1178 ++++++++++++++++++++++++++-------------------------- po/hr.po | 1178 ++++++++++++++++++++++++++-------------------------- po/hu.po | 1178 ++++++++++++++++++++++++++-------------------------- po/id.po | 1182 ++++++++++++++++++++++++++-------------------------- po/it.po | 1182 ++++++++++++++++++++++++++-------------------------- po/ja.po | 1174 ++++++++++++++++++++++++++-------------------------- po/nl.po | 1174 ++++++++++++++++++++++++++-------------------------- po/pl.po | 1174 ++++++++++++++++++++++++++-------------------------- po/pt_BR.po | 1174 ++++++++++++++++++++++++++-------------------------- po/ru.po | 1176 ++++++++++++++++++++++++++-------------------------- po/sl.po | 1182 ++++++++++++++++++++++++++-------------------------- po/sv.po | 1174 ++++++++++++++++++++++++++-------------------------- po/tr.po | 1182 ++++++++++++++++++++++++++-------------------------- po/uk.po | 1174 ++++++++++++++++++++++++++-------------------------- po/util-linux.pot | 1160 +++++++++++++++++++++++++-------------------------- po/vi.po | 1174 ++++++++++++++++++++++++++-------------------------- po/zh_CN.po | 1174 ++++++++++++++++++++++++++-------------------------- po/zh_TW.po | 1178 ++++++++++++++++++++++++++-------------------------- 27 files changed, 16070 insertions(+), 15702 deletions(-) commit 73bb764c3df48a156f90d3b7c4e856caa40c2637 Author: Karel Zak Date: Tue May 23 11:39:58 2017 +0200 tests: update build-sys due to readline Signed-off-by: Karel Zak tests/expected/build-sys/config-all | 4 ++-- tests/expected/build-sys/config-all-non-nls | 4 ++-- tests/expected/build-sys/config-audit | 4 ++-- tests/expected/build-sys/config-chfnsh-libuser | 4 ++-- tests/expected/build-sys/config-chfnsh-no-password | 4 ++-- tests/expected/build-sys/config-chfnsh-pam | 4 ++-- tests/expected/build-sys/config-core | 4 ++-- tests/expected/build-sys/config-devel | 4 ++-- tests/expected/build-sys/config-devel-non-docs | 4 ++-- tests/expected/build-sys/config-non-libblkid | 4 ++-- tests/expected/build-sys/config-non-libmount | 4 ++-- tests/expected/build-sys/config-non-libs | 4 ++-- tests/expected/build-sys/config-non-libsmartcols | 4 ++-- tests/expected/build-sys/config-non-libuuid | 4 ++-- tests/expected/build-sys/config-non-nls | 4 ++-- tests/expected/build-sys/config-non-widechar | 1 + tests/expected/build-sys/config-selinux | 4 ++-- tests/expected/build-sys/config-slang | 4 ++-- tests/expected/build-sys/config-static | 4 ++-- 19 files changed, 37 insertions(+), 36 deletions(-) commit b0ff9a76b79b1de6409c8d12a78eace770fbc51f Author: Chris Morin Date: Thu May 18 20:07:19 2017 -0400 sfdisk: disambiguate units of --show-size [kzak@redhat.com: - use optutils.h] Signed-off-by: Chris Morin Signed-off-by: Karel Zak disk-utils/sfdisk.8 | 7 +++++-- disk-utils/sfdisk.c | 14 ++++++++++++-- 2 files changed, 17 insertions(+), 4 deletions(-) commit 36b608417b12c5cbd3f7769f13083c8d2757bbf5 Author: Sami Kerola Date: Thu May 18 22:19:35 2017 +0100 chfn: disable tab completion The default readline tab completion that offers file listing from current directory does not make any sense in this context. Signed-off-by: Sami Kerola login-utils/chfn.c | 1 + 1 file changed, 1 insertion(+) commit 8c1ce08da98691bb01035df6118fc4283b56799f Author: Sami Kerola Date: Thu May 18 22:19:34 2017 +0100 rename: make --no-act to imply --verbose It is reasonable to assume use of --no-act means one wants to always see what would have happen if rename is done. To say same slightly differently, if there is sn use case for silent rename --no-act run I cannot think one. Signed-off-by: Sami Kerola misc-utils/rename.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit c0999af736c5ce067dd0a80bcde7bd5115308fd7 Author: Karel Zak Date: Thu May 18 21:55:36 2017 +0200 docs: update source-code-management.txt Reported-by: J William Piggott Signed-off-by: Karel Zak Documentation/source-code-management.txt | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) commit 55548b14c1f3d90332f34c4c61deed47bd91ff1a Author: Karel Zak Date: Thu May 18 15:10:51 2017 +0200 lslocks: remove dead code Signed-off-by: Karel Zak misc-utils/lslocks.c | 1 - 1 file changed, 1 deletion(-) commit 699ad3a1de80c5fcc9dede8ec600d09047316326 Author: Karel Zak Date: Thu May 18 15:10:04 2017 +0200 zramctl: add mising line terminator Signed-off-by: Karel Zak sys-utils/zramctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 780ce22cdad01128139c1edfceb8f86338bf3dda Author: Karel Zak Date: Thu May 18 11:39:34 2017 +0200 misc: consolidate smartcols error messages ... just to keep translators happy Signed-off-by: Karel Zak disk-utils/fdisk-list.c | 11 ++++++++--- disk-utils/partx.c | 8 ++++---- login-utils/lslogins.c | 9 ++++++--- misc-utils/fincore.c | 6 +++--- misc-utils/findmnt.c | 28 +++++++++++++++------------- misc-utils/lsblk.c | 10 +++++----- misc-utils/lslocks.c | 24 +++++++++--------------- sys-utils/losetup.c | 16 ++++++++++------ sys-utils/lscpu.c | 16 ++++++++-------- sys-utils/lsipc.c | 21 ++++++++++++++++----- sys-utils/prlimit.c | 11 +++++------ sys-utils/swapon.c | 11 ++++++----- sys-utils/wdctl.c | 12 +++++++----- sys-utils/zramctl.c | 8 ++++---- 14 files changed, 106 insertions(+), 85 deletions(-) commit 7f77c5e1967de79d165cc8277d4c1e54e03d6040 Author: Pali Rohár Date: Wed May 17 20:36:51 2017 +0200 tests: Fix UDF test output after changing UUID algorithm tests/expected/blkid/low-probe-udf | 4 ++-- tests/expected/blkid/low-probe-udf-cd-nero-6 | 4 ++-- tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.0.0-1 | 4 ++-- tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.0.0-2 | 4 ++-- tests/expected/blkid/low-probe-udf-hdd-udfclient-0.7.5 | 4 ++-- tests/expected/blkid/low-probe-udf-hdd-win7 | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) commit d8ba647d0d983c5b13ab47469f9ac0ec3d1586c9 Author: Pali Rohár Date: Wed May 17 20:36:40 2017 +0200 libblkid: udf: Change algorithm for reporting UUID Ensure that reported UUID always contains only lowercase hexadecimal digits and is always 16 characters length, padded with zero digits. Volume Set Identifier is converted to UTF-8 before generating UUID from it. As it could potentially contain any Unicode character. So correctly handle both 8bit and 16bit OSTA Compressed Unicode encodings. Disks which have only lowercase hexadecimal digits in Volume Set Identifier would have same UUID as before this patch. libblkid/src/superblocks/udf.c | 51 +++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 26 deletions(-) commit b7ebf49c9b203b5f54ef2aa486b64b811650641f Author: Karel Zak Date: Wed May 17 13:08:33 2017 +0200 fincore: check rc from smartcols stuff [coverity scan] Signed-off-by: Karel Zak misc-utils/fincore.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit dd732fa25160d2855acb9d4ce46be77d984a73b4 Author: Karel Zak Date: Wed May 17 12:59:33 2017 +0200 nologin: don't call fstat() after failed open() [coverity scan] Signed-off-by: Karel Zak login-utils/nologin.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) commit 1ce46fcf6bf581b40b5214747142ce69608e4b89 Author: Karel Zak Date: Wed May 17 12:50:36 2017 +0200 libsmartcols: check scols_table_set_default_symbols() return code [coverity scan] Signed-off-by: Karel Zak libsmartcols/src/table_print.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 7a5dbd22588fcf402ab15f82917891d176dfca74 Author: Karel Zak Date: Wed May 17 12:45:30 2017 +0200 libmount: don't pass -1 to close() [coverity scan] Signed-off-by: Karel Zak libmount/src/utils.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 199f8cd3b5c3434e2a1cd6e563f2c2e4a37c203b Author: Karel Zak Date: Wed May 17 12:43:48 2017 +0200 libfdisk: don't use errno after close() Signed-off-by: Karel Zak libfdisk/src/context.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit fdaba3eb62b6e7760006119cd9a3765bdb9ff084 Author: Karel Zak Date: Wed May 17 12:38:16 2017 +0200 libmount: fix memory leak [coverity scan] Signed-off-by: Karel Zak libmount/src/context_umount.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 274e6f6f8f46bc99219cd6c439094e92933aeba7 Author: Karel Zak Date: Wed May 17 12:29:50 2017 +0200 libfdisk: use memcpy() for non-terminated string [coverity scan] Signed-off-by: Karel Zak libfdisk/src/sgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3fdbf0ee0990790cde578036a986b9902c56bfe1 Author: Karel Zak Date: Wed May 17 12:24:07 2017 +0200 libfdisk: initialize partno variable [coverity scan] Signed-off-by: Karel Zak libfdisk/src/dos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0a48e2370dd4394050d2be471665ef95dbc22ea1 Author: Karel Zak Date: Wed May 17 12:20:18 2017 +0200 libmount: check fstat() return code [coverity scan] Signed-off-by: Karel Zak libfdisk/src/context.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 059ad53815604c93f10b3979b45efde213cada63 Author: Karel Zak Date: Wed May 17 12:15:38 2017 +0200 libfdisk: don't print uninitialized variable [coverity scan] Signed-off-by: Karel Zak libfdisk/src/alignment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 76ae3fe37acc3991cfcdc5ad887c6446896dd7c6 Author: Karel Zak Date: Wed May 17 11:57:44 2017 +0200 sfdisk: add hints for scanners [coverity scan] Signed-off-by: Karel Zak disk-utils/sfdisk.c | 2 ++ 1 file changed, 2 insertions(+) commit d2f265d629c6ae371423306b5958ac3cd3e3e563 Author: Karel Zak Date: Wed May 17 11:48:36 2017 +0200 mkswap: use memcpy() for non-terminated string [coverity scan] Signed-off-by: Karel Zak disk-utils/mkswap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 82c7ab9cb8e91ca6fe80360dce3f91d3827f6357 Author: Karel Zak Date: Wed May 17 11:38:54 2017 +0200 fsck.minix: add hint for scanners [coverity scan] Signed-off-by: Karel Zak disk-utils/fsck.minix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 25d1a7e5a64043ebb87b087af6e81f7f38c1124c Author: Karel Zak Date: Wed May 17 11:32:50 2017 +0200 fdisk: check scols_line_refer_data() return code [coverity scan] Signed-off-by: Karel Zak disk-utils/fdisk-list.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 799d9e845fb8fd6e9c585a7e8cd8966cc0c47437 Author: Karel Zak Date: Wed May 17 11:28:19 2017 +0200 tests: (libmount) parse version from command line Signed-off-by: Karel Zak libmount/src/version.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 08099e41b994b5fe392a81f086d62827e6cf7567 Author: Karel Zak Date: Wed May 17 11:26:54 2017 +0200 cfdisk: add hints for scanners [coverity scan] Signed-off-by: Karel Zak disk-utils/cfdisk.c | 2 ++ 1 file changed, 2 insertions(+) commit 53e318c55fdb7c9f607f2d08e42b0719d7f0d848 Author: Pali Rohár Date: Tue May 16 23:52:39 2017 +0200 tests: Fix UDF test output for 8bit OSTA Compressed Unicode tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.0.0-2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fa903e8f203b6fd2d9d26df9df01fbc275b636ae Author: Pali Rohár Date: Tue May 16 23:52:24 2017 +0200 tests: Add UDF hdd image with non ASCII 8bit label created by Linux mkudffs 1.3 $ dd if=/dev/zero of=udf-hdd-mkudffs-1.3-3.img bs=1M count=10 $ mkudffs -l 'ÿ' -b 2048 /tmp/udf-hdd-mkudffs-1.3-3.img tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-3 | 9 +++++++++ tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-3.img.xz | Bin 0 -> 2376 bytes 2 files changed, 9 insertions(+) commit 22acc2681de1ae2e10d7f1e7e62538af37bc2982 Author: Pali Rohár Date: Tue May 16 23:52:05 2017 +0200 libblkid: udf: Correctly handle UDF strings encoded in 8bit OSTA Compressed Unicode String encoded in 8bit OSTA Compressed Unicode contains one Unicode codepoint per 8bits. Maximal Unicode codepoint is U+FF. Which effectively means that it is equivalent to Latin1 encoding. Before this patch libblkid copied raw 8bit OSTA Compressed Unicode from disk and treated it as UTF-8. It worked fine just for UTF-8 invariants, other characters were incorrectly encoded. This patch fixes this problem. Note that processing UUID is not fixed in this patch. libblkid/src/superblocks/udf.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) commit 98bc12ab483858bbbd8b2c4b8de33e9679e957e3 Author: Pali Rohár Date: Tue May 16 23:51:50 2017 +0200 libblkid: Add support for Latin1 encoding in blkid_encode_to_utf8() libblkid/src/blkidP.h | 1 + libblkid/src/encode.c | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) commit 90936fafb447838fec99eb5ae0e3783362ecb85b Author: Sami Kerola Date: Tue May 16 09:25:57 2017 +0100 su: remove duplicate const declaration login-utils/su-common.c:619:14: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] const char const **args = xcalloc (n_args, sizeof *args); Regression-from: 71f207a5f598623a539ba825b97a503072c4a1b4 Signed-off-by: Sami Kerola login-utils/su-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9ac755f6c3d3fa50b40f9aeb0eaa5b86ce24da76 Author: Sami Kerola Date: Tue May 16 08:37:41 2017 +0100 getops: make --a-long option work again Add back a character lost in earlier change. Regression-from: d27f5fe770025e456fbd33b87a96968f34c455ed Signed-off-by: Sami Kerola misc-utils/getopt-parse.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 51b4b398707497daa048a859bac59925921b101d Author: Sami Kerola Date: Mon May 15 11:54:43 2017 +0100 fsck.minix: fix crash disk-utils/fsck.minix.c:421:30: runtime error: index 513 out of bounds for type 'unsigned short [512]' Addresses: https://github.com/karelzak/util-linux/issues/373 Reported-by: Hanno Bock Signed-off-by: Sami Kerola disk-utils/fsck.minix.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 387d515550e527ef5d6dacfa3e3536cb13ed1264 Author: Karel Zak Date: Tue May 16 13:15:11 2017 +0200 docs: update TODO, add mount(8) noauto,auto Signed-off-by: Karel Zak Documentation/TODO | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 5e8a508dc4152989cf36a2e0ab64cacf7e0d4379 Author: J William Piggott Date: Mon May 15 11:44:02 2017 +0200 docs: update v2.30-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.30-ReleaseNotes | 39 ++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 13 deletions(-)