Changes between v2.32 and v2.32.1 -------------------------------------------- commit 2a1dd341d91bae655bccde55d5a0bd14a5a4abe3 Author: Karel Zak Date: Mon Jul 16 12:33:13 2018 +0200 build-sys: release++ (v2.32.1) Signed-off-by: Karel Zak NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit aabd2b166de9702b31ad1b41eebea71b72f05dc1 Author: Karel Zak Date: Mon Jul 16 12:31:08 2018 +0200 docs: update v2.32.1-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.32.1-ReleaseNotes | 90 +++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) commit b68e1b991d47a213dbafbfe692d634dc3f41a298 Author: Karel Zak Date: Mon Jul 16 12:29:21 2018 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 5 +++++ 1 file changed, 5 insertions(+) commit 9f72fb140bf46d2eefae392b1947623136c257e9 Author: Karel Zak Date: Mon Jul 16 12:29:08 2018 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 996 ++++++++++++++--------------- po/cs.po | 1000 ++++++++++++++--------------- po/da.po | 1002 ++++++++++++++--------------- po/de.po | 1002 ++++++++++++++--------------- po/es.po | 1000 ++++++++++++++--------------- po/et.po | 992 ++++++++++++++--------------- po/eu.po | 996 ++++++++++++++--------------- po/fi.po | 1002 ++++++++++++++--------------- po/fr.po | 1000 ++++++++++++++--------------- po/gl.po | 996 ++++++++++++++--------------- po/hr.po | 992 ++++++++++++++--------------- po/hu.po | 996 ++++++++++++++--------------- po/id.po | 996 ++++++++++++++--------------- po/it.po | 996 ++++++++++++++--------------- po/ja.po | 1800 +++++++++++++++++------------------------------------ po/nl.po | 1002 ++++++++++++++--------------- po/pl.po | 1000 ++++++++++++++--------------- po/pt_BR.po | 1105 ++++++++++++++++---------------- po/ru.po | 1002 ++++++++++++++--------------- po/sl.po | 996 ++++++++++++++--------------- po/sv.po | 1000 ++++++++++++++--------------- po/tr.po | 1002 ++++++++++++++--------------- po/uk.po | 1000 ++++++++++++++--------------- po/util-linux.pot | 994 ++++++++++++++--------------- po/vi.po | 1002 ++++++++++++++--------------- po/zh_CN.po | 1002 ++++++++++++++--------------- po/zh_TW.po | 1000 ++++++++++++++--------------- 27 files changed, 13647 insertions(+), 14224 deletions(-) commit 779822a5b1ccfbc8da8ac33dfde1cd732f298e98 Author: Rafael Fontenelle Date: Mon Jul 16 12:22:36 2018 +0200 po: update pt_BR.po (from translationproject.org) po/pt_BR.po | 275 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 136 insertions(+), 139 deletions(-) commit 38a1278fc3348c0cd8ce02c6c1df63f82e8a89f3 Author: Takeshi Hamasaki Date: Mon Jul 16 12:22:36 2018 +0200 po: update ja.po (from translationproject.org) po/ja.po | 1228 +++++++++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 943 insertions(+), 285 deletions(-) commit 5407a6ac4fe1a0d57049530fb144a83ebc1291d9 Author: YmrDtnJu Date: Sat Jul 7 20:11:46 2018 +0200 logger: Define SD_JOURNAL_SUPPRESS_LOCATION. The normal journald functions add the location in the C source code files to the log messages. This is nice for a big C based project, but logger is used in scripts so it would be more useful to let users specify the location in the script by adding the CODE_FUNC, CODE_FILE and CODE_FILE fields to the log message. It is already possible to do this, but it will result in two versions of these fields: one for the location in logger.c and one for the location in the script. misc-utils/logger.c | 1 + 1 file changed, 1 insertion(+) commit 75ef5a12224721b932762d4e8d879745831bea28 Author: Karel Zak Date: Wed Jul 4 14:06:38 2018 +0200 libfdisk: use \x to read/write partition name Addresses: https://github.com/karelzak/util-linux/issues/656 Signed-off-by: Karel Zak libfdisk/src/script.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit cf2e1695d465905933fb0122a78e05b034e38253 Author: Karel Zak Date: Wed Jul 11 16:14:53 2018 +0200 ORIG_HEAD Signed-off-by: Karel Zak sys-utils/fallocate.1 | 6 ++++++ 1 file changed, 6 insertions(+) commit dc70eb940a7976011c2d61c682b18eee4804f705 Author: osexp2000 Date: Mon Jun 25 10:34:31 2018 +0900 exec_shell: prevent ".: applet not found" error when SHELL env is not set. When SHELL env is not set, it cause xstrdup(NULL) be executed, and result in weird error message ".: applet not found" instead of /bin/sh being used. lib/exec_shell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b39f9862ee0cf867ff0afd0be1531063ca3263f9 Author: Andreas Henriksson Date: Sun Jun 17 14:49:15 2018 +0200 partx: exit with error code when partition read failed Make sure partx exits with a non-0 return code when it runs into either code-path where getting the partition table failed (or wasn't even attempted because of previous error condition). Change was tested using: touch /tmp/foobar partx -s - /tmp/foobar Previously that was only printing an error/warning message and then exiting with 0, but after this change it exits with 1. Signed-off-by: Andreas Henriksson Reported-by: Juan Céspedes Addresses: https://bugs.debian.org/898426 disk-utils/partx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit ba560e7b02d894fafa3ce79468652d97416f0fc9 Author: Karel Zak Date: Thu Jun 14 13:02:49 2018 +0200 setarch: add another PER_LINUX32 aliases for ppcle The big-endian version maps generic "ppc" and "ppc32" aliases to PER_LINUX32. It seems that we can do the same for little-endian. Note that SYS_personality does not care about LE/BE, it's 32 or 64 bit. Signed-off-by: Karel Zak sys-utils/setarch.c | 2 ++ 1 file changed, 2 insertions(+) commit 33f3d3090481ddfb625b8aa533ba5eb34cdb5ea0 Author: Karel Zak Date: Mon Jun 11 11:14:56 2018 +0200 zramctl: (man) explain that --find is necessary Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1589148 Signed-off-by: Karel Zak sys-utils/zramctl.8 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 8f6f3257e19b70eeb70b959217dc31b99c94116c Author: Karel Zak Date: Fri Jun 8 11:37:55 2018 +0200 blkzone: fix whole device detection Matias Bjørling wrote: The current detection code for chunk size assumes that the underlying device is a device that uses the minor device id as the partition id, and that the whole device has minor id 0. This is not true for example null_blk and nvme device drivers. Let's use sysfs_devno_to_wholedisk() to get whole-disk devno. Addresses: https://github.com/karelzak/util-linux/pull/646 Reported-by: Matias Bjørling matias.bjorling@wdc.com Signed-off-by: Karel Zak sys-utils/blkzone.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit d38eb373a687a14b09fc9db8ad94bcc9a30a71a2 Author: Karel Zak Date: Wed Jun 6 15:57:24 2018 +0200 agetty: keep c_iflags unmodified on --autologin agetty sets c_iflags according to interaction with serial line in get_logname(). For --autologin it does not read from the line, so we have no clue how to set the flags. The current behavior is to zeroize the flags. Unfortunately, it seems like bad idea, because the line may be already properly initialized by kernel (or systemd, etc.). The new behavior is not touch the flags on --autologin. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1252764 Signed-off-by: Karel Zak term-utils/agetty.8 | 4 ++++ term-utils/agetty.c | 17 +++++++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) commit 998f61f9340e32d2b39c55cd346222a6ae52ef76 Author: Karel Zak Date: Mon Jun 4 15:20:28 2018 +0200 libsmartcols: don't print empty column The commit 0f9f927b6f62cb7f488fadfad76c4a5defdefe36 forces libsmartcols to use one byte as a minimal column width. This seems like a bug if the column is empty and without header. $ printf ':a:b\n' | column -t -s ':' -o ':' :a:b Fixed version: $ printf ':a:b\n' | column -t -s ':' -o ':' :a:b Reported-by: Sami Kerola Signed-off-by: Karel Zak libsmartcols/src/table_print.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit c81ca889c614b987a6080a06a37549946fcce6be Author: Karel Zak Date: Mon Apr 16 10:27:29 2018 +0200 lslocks: fix memory leak Addresses: https://github.com/karelzak/util-linux/pull/618 Signed-off-by: Karel Zak misc-utils/lslocks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 88b630f71de5f91bb6ea504c5bb0cffd222f0de5 Author: Karel Zak Date: Fri Apr 13 11:22:21 2018 +0200 lslocks: add info about OFD It seems users are confused by PID -1 and missing path. This patch add more information about OFD locks to the man page and "undefined" to the COMMAND column. References: http://austingroupbugs.net/view.php?id=768 Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1527102 Signed-off-by: Karel Zak misc-utils/lslocks.8 | 7 ++++++- misc-utils/lslocks.c | 11 +++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) commit 7ba4b32eac2673030c59a382e8aba7c0f36114c1 Author: Karel Zak Date: Thu Apr 12 14:21:47 2018 +0200 libblkid: (hfs) check allocation size The current prober is based on signature only (two bytes!). It seems pretty fragile. Linux kernel also checks for allocation size in the superblock, let's use it too... it's better than nothing. Reported-by: Milan Broz Signed-off-by: Karel Zak libblkid/src/superblocks/hfs.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit ab359a6c3bc7fc25c1464ccc8f53f6f63053a9a1 Author: Patrick Steinhardt Date: Tue Apr 10 13:36:32 2018 +0100 rfkill: include instead of The POSIX standard states that poll(3P) is being made available by , not . Most commands already include the correct header, with the exception of rfkill. Fix that to avoid a warning on musl-based systems. Signed-off-by: Patrick Steinhardt sys-utils/rfkill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 366545e745de2a7391dadf1e9f65993efe7a80af Author: Patrick Steinhardt Date: Tue Apr 10 13:36:31 2018 +0100 cfdisk: fix missing prototype for `get_wch` The header defines the get_wch(3) function only when `NCURSES_WIDECHAR` is defined. This define is actually getting set in the same header file, but only in case `_XOPEN_SOURCE` is defined and has a value of 500 or higher. As we already have the precedence of defining `_XOPEN_SOURCE` to a value of 600 in some other files, simply define it to the minimum required value of 500 in "cfdisk.c". This silences a warning for `get_wch` being unknown. Signed-off-by: Patrick Steinhardt disk-utils/cfdisk.c | 4 ++++ 1 file changed, 4 insertions(+) commit 58b2bb661d494cc22023dfac84a39f3cfba1ac54 Author: Karel Zak Date: Fri Apr 6 12:53:18 2018 +0200 fstrim: Return EXIT_FAILURE when FTRIM ioctl fails commit 36c370cbf1481aa8724dff8b7b7fec4a8ba9930b adds fstrim_filesystem() that return -1 or 1 depending on the FTRIM ioctl failures. The fstrim_filesystem() return codes should not be used as exit codes. Reported-by: Gwendal Grignou Signed-off-by: Karel Zak sys-utils/fstrim.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) commit 3be3880f31d94751f2d6001d983a460de981be0a Author: Karel Zak Date: Tue Mar 27 11:52:54 2018 +0200 tests: update column(1) space-separator test Signed-off-by: Karel Zak tests/expected/column/table-input-separator-space | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit f36494da8d3bed7074af27f9cf9c27427bee4d93 Author: Karel Zak Date: Tue Mar 27 10:40:13 2018 +0200 column: fix leading space characters bug The bug has been introduced during column(1) rewrite. The function read_input() need to skip leading space only temporary to detect empty lines, but the rest of the code has to use the original buffer (line). I've tried to fix one of the symptoms by 5c7b67fbbf41c973ca8d49b1e8bdba22dbb917aa (alter), but this solution is unnecessary and too complex. Changes: * don't ignore leading space * remove unnecessary stuff introduced by 5c7b67fbbf41c973ca8d49b1e8bdba22dbb917aa * fix regression test with incorrect separator Addresses: https://github.com/karelzak/util-linux/issues/575 Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1560283 Signed-off-by: Karel Zak tests/expected/column/table-input-separator-space | 2 +- tests/ts/column/table | 2 +- text-utils/column.c | 36 ++--------------------- 3 files changed, 5 insertions(+), 35 deletions(-) commit f50aee8f88c6a8564e084971b26c0e6979def1b8 Author: Karel Zak Date: Tue May 29 10:06:00 2018 +0200 libmount: include sys/mount.h on Linux only Addresses: https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=891812 Signed-off-by: Karel Zak libmount/src/libmount.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9ad98a2ed550b85d9710adfaf6a6bf34fc119616 Author: Karel Zak Date: Thu Mar 22 14:05:17 2018 +0100 libmount: include sys/mount.h only if necessary Addresses: https://github.com/systemd/systemd/issues/8507 Signed-off-by: Karel Zak libmount/src/libmount.h.in | 9 ++++++++- sys-utils/fstrim.c | 4 +--- 2 files changed, 9 insertions(+), 4 deletions(-) commit a85f961ee3b777e3a14bf80341b63d8403def3e8 Author: Karel Zak Date: Thu Mar 22 13:17:10 2018 +0100 fstrim: cleanup includes * HAVE_SYS_FS_H is incorrect (should be HAVE_LINUX_FS_H) * linux/fs.h cannot be included together with sys/mount.h as the both files define MS_* constants. The libmount.h includes sys/mount.h now. Signed-off-by: Karel Zak sys-utils/fstrim.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit e64f1efa713869d296a004e140ac06df2f518901 Author: Karel Zak Date: Wed Mar 21 15:49:32 2018 +0100 libfdisk: (docs) fix section name The string "DOS (MBR)" generates filename with "(...)" which is unacceptable by kernel.org stuff. Signed-off-by: Karel Zak libfdisk/src/dos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6c086ef2242c09f1abd08772fbcc758a08ee57d5 Author: Karel Zak Date: Tue May 29 09:49:59 2018 +0200 po: fix lsblk translation Reported-by: Rosberg Nascimento Freitas Rodrigues Signed-off-by: Karel Zak po/pt_BR.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5ed2b0cdcee2a06eafb5dbe06bec5b7d4a2e5f9d Author: Karel Zak Date: Mon May 28 12:30:34 2018 +0200 lib/strutils: fix strnlen() fallback Addresses: https://github.com/karelzak/util-linux/issues/643 Signed-off-by: Karel Zak lib/strutils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a9feb44ee178db0969cfa60b504c6f0894febf12 Author: Karel Zak Date: Fri May 25 21:02:23 2018 +0200 libblkid: (ntfs) fix cluster size check Addresses: https://github.com/karelzak/util-linux/issues/641 Signed-off-by: Karel Zak libblkid/src/superblocks/ntfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 841f24ba0765dbbfd30eea157dbfba8e806b916b Author: Pali Rohár Date: Fri May 25 17:52:31 2018 +0200 libblkid: udf: Fix reporting UDF 2.60 revision According to the UDF 2.60 specification, the Minimum UDF Read Revision value shall be at most #0250 for all media with a UDF 2.60 file system. So in this case use Minimum UDF Write Revision as ID_FS_VERSION to distinguish between UDF 2.50 and UDF 2.60 discs. This commit also adds a testing Blu-Ray Recordable image with UDF revision 2.60 created by Nero which really sets Minimum UDF Read Revision to 2.50. Signed-off-by: Pali Rohár libblkid/src/superblocks/udf.c | 10 ++++++++++ tests/expected/blkid/low-probe-udf-bdr-2.60-nero | 10 ++++++++++ tests/ts/blkid/images-fs/udf-bdr-2.60-nero.img.xz | Bin 0 -> 1956 bytes 3 files changed, 20 insertions(+) commit b5a7500b6d3501cc667cecb23aa95a3bc27c5250 Author: Karel Zak Date: Fri May 25 13:53:03 2018 +0200 libblkid: (ntfs) enlarge cluster limit to 2MB Windows 10 Creators edition has extended the ntfs cluster limit to 2MB. As a consequence blkid does not identify recent partitions with clusters beyond 65K as ntfs ones. Addresses: https://github.com/karelzak/util-linux/issues/641 Signed-off-by: Karel Zak Co-Author: Jean-Pierre André libblkid/src/superblocks/ntfs.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 799b5d6411cbbfef320b557cd22a76ce7332df4a Author: Ruediger Meier Date: Thu May 24 15:52:01 2018 +0200 cfdisk: fix compiler warnings, follow-up 7085f1e4 (#636) Seen on OSX 10.13, xcode 9.3. disk-utils/cfdisk.c:1860:45: error: format specifies type 'uintmax_t' (aka 'unsigned long') but the argument has type 'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat] DBG(UI, ul_debug("get_size (default=%ju)", *res)); ~~~ ^~~~ %llu disk-utils/cfdisk.c:267:60: note: expanded from macro 'DBG' #define DBG(m, x) __UL_DBG(cfdisk, CFDISK_DEBUG_, m, x) ^ ./include/debug.h:67:4: note: expanded from macro '__UL_DBG' x; \ ^ disk-utils/cfdisk.c:1889:25: error: incompatible pointer types passing 'uint64_t *' (aka 'unsigned long long *') to parameter of type 'uintmax_t *' (aka 'unsigned long *') [-Werror,-Wincompatible-pointer-types] rc = parse_size(buf, &user, &pwr); /* parse */ ^~~~~ ./include/strutils.h:15:51: note: passing argument to parameter 'res' here extern int parse_size(const char *str, uintmax_t *res, int *power); ^ 2 errors generated. Signed-off-by: Ruediger Meier disk-utils/cfdisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 199ef37b62a4a68373404464030d4f52557fe333 Author: Karel Zak Date: Thu May 24 09:19:28 2018 +0200 cfdisk: use uint64_t to avoid compiler warnings Reported-by: Ruediger Meier Signed-off-by: Karel Zak disk-utils/cfdisk.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit fbc4c003974a5f28a681b9646bb5bd7b5bdbbe4c Author: Karel Zak Date: Wed May 23 12:43:26 2018 +0200 lslogins: fix password verification Let's follow the standard $id$salt$encrypted password format in verification code. The current code is useless and for example PWD-LOCK column is always FALSE. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1581611 Signed-off-by: Karel Zak login-utils/lslogins.c | 78 +++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 74 insertions(+), 4 deletions(-) commit 29c3c71bee594fc5114399768fe71adfad8b47e2 Author: Karel Zak Date: Tue May 15 10:51:15 2018 +0200 lsblk: fix notes about RAM disks Signed-off-by: Karel Zak misc-utils/lsblk.8 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 5fa2dac90cce01158eba8b4627ac585442658dcb Author: Karel Zak Date: Tue May 15 10:29:22 2018 +0200 lsblk: don't exclude RAM disks on --all Reported-by: Milan Broz Signed-off-by: Karel Zak misc-utils/lsblk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 43afbce5609936cbc8e31778ad75dbef8f6569f6 Author: Stanislav Brabec Date: Wed May 9 22:13:07 2018 +0200 chcpu: Fix maximal number of CPUs chcpu.c mixed maxcpus (number of cpus) and setsize (size of CPU bit mask). It effectively limits number of CPUs to 1/8 of the supported amount. Signed-off-by: Stanislav Brabec Cc: Michael Matz Cc: Heiko Carstens sys-utils/chcpu.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 85605dcefb736791a849b2d59ad59f26c1f08acf Author: Stanislav Brabec Date: Wed May 9 18:08:32 2018 +0200 lscpu, chcpu: Avoid use of the old CPU macros The old CPU macros are limited to 1024 cores. As a result, lscpu cannot count sockets on large systems. Use new scalable macros. Signed-off-by: Stanislav Brabec Cc: Michael Matz sys-utils/chcpu.c | 6 +++--- sys-utils/lscpu.c | 13 +++++++++---- 2 files changed, 12 insertions(+), 7 deletions(-) commit e2e6fdd423e3abb9d9a0249fe6be3bc8cfbfa9cf Author: Vaclav Dolezal Date: Wed May 9 16:35:38 2018 +0200 libfdisk: fix list_del after partition reset Signed-off-by: Vaclav Dolezal libfdisk/src/partition.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ba97337f446487858b92ccd09774bd47198728e2 Author: Sami Kerola Date: Thu Apr 26 21:44:08 2018 +0100 dmesg: link together with syslog(2) manual page The dmesg may require capabilities(7) when /proc/sys/kernel/dmesg_restrict has none zero value. This is explained in detail in syslog(2) manual page. Signed-off-by: Sami Kerola sys-utils/dmesg.1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 0f4e3d8f33b685aaa3204d6a6aa73e94d80b0666 Author: Karel Zak Date: Thu May 3 10:30:51 2018 +0200 libfdisk: fix compiler warning [-Wunused-parameter] Reported-by: L A Walsh Signed-off-by: Karel Zak libfdisk/src/bsd.c | 4 +--- libfdisk/src/dos.c | 4 +--- libfdisk/src/gpt.c | 4 +--- libfdisk/src/sgi.c | 4 +--- libfdisk/src/sun.c | 4 +--- 5 files changed, 5 insertions(+), 15 deletions(-) commit f564817fa125257db4d78a72eeae09411decf227 Author: Karel Zak Date: Thu May 3 10:30:51 2018 +0200 libmount: fix compiler warning [-Wunused-parameter] Reported-by: L A Walsh Signed-off-by: Karel Zak libmount/src/monitor.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 1454202a0ac542a87da8f655a368e529b8019fc5 Author: Karel Zak Date: Thu May 3 10:30:51 2018 +0200 libblkid: (zfs) fix compiler warning [-Wmaybe-uninitialized] Reported-by: L A Walsh Signed-off-by: Karel Zak libblkid/src/superblocks/zfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d8ab405929fe0fb186e36c5f6db34b6cc413021e Author: Karel Zak Date: Thu May 3 10:30:51 2018 +0200 fdisk: fix compiler warning [-Wmaybe-uninitialized] Reported-by: L A Walsh Signed-off-by: Karel Zak disk-utils/fdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e225e0cc6e878dec950fd9ee33f7dd9cdaa5292d Author: Karel Zak Date: Mon Apr 30 10:52:53 2018 +0200 blkid: (man) add note about udev encoding Addresses: https://github.com/karelzak/util-linux/issues/632 Signed-off-by: Karel Zak misc-utils/blkid.8 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 6fea7e5b3a1c3ec55d3f5ac28ce10b1d6b6205f3 Author: Karel Zak Date: Mon Apr 30 09:41:26 2018 +0200 build-sys: extend "Could not locate the pkg-config" error message Addresses: https://github.com/karelzak/util-linux/issues/631 Signed-off-by: Karel Zak configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b51021698e1b87e080640eaba95402365941774b Author: Karel Zak Date: Mon Apr 30 09:37:14 2018 +0200 build-sys: improve bison version detection Addresses: https://github.com/karelzak/util-linux/issues/630 Signed-off-by: Karel Zak autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 993774b20cbf13ef2b4ecae9ca5ffd556d82340d Author: Karel Zak Date: Thu Apr 26 11:04:07 2018 +0200 libmount: improve docs about mnt_context_mount() return codes Signed-off-by: Karel Zak libmount/src/context_mount.c | 34 +++++++++++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-) commit 21f77bb943d349d85f616d4753fc03f3a925a0ab Author: Luiz Angelo Daros de Luca Date: Tue Apr 24 14:40:02 2018 -0300 po: pt_BR: fix fallocate '-l' help msg Translation was using '-n' instead of '-l' Signed-off-by: Luiz Angelo Daros de Luca po/pt_BR.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 370fed74b4c4a29efd3f888b7c742a4c96dfb6dc Author: Karel Zak Date: Fri Apr 20 09:50:04 2018 +0200 umount: add note about --lazy Unfortunately, it's pretty common that users on production systems use lazy umount to fix some FS issues. The usual result is unwanted system reboot, because -l is not the right way how to fix unreachable NFS or mess with local FS with submounts. Note that after lazy umount /proc/self/mountinfo does not contain the FS entry, but kernel still references the FS. It makes it very difficult to debug. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1566674 Suggested-by: Steve Dickson Signed-off-by: Karel Zak sys-utils/umount.8 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 8c35028498e6f8f141c3ee322cdbc18335e415e4 Author: Pali Rohár Date: Thu Apr 19 17:22:49 2018 +0200 Update information about udf in mount manpage sys-utils/mount.8 | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) commit 84667cace55b3422f7763d3d8e0f41286dfe309f Author: NeilBrown Date: Wed Apr 18 13:31:38 2018 +1000 libmount: fix mnt_table_is_fs_mounted() for NFS bind mounts. When you bind-mount a subdirectory of a local filesystem, the path to that subdirectory appears as the fourth field in mountinfo. For nfs mounts, the fourth field is always "/", and the subdirectory part is appended to the "special" (aka "device") field. This is consistent with historical NFS usage which always includes a path in the fs_spec field. libmount needs to know about this when "mount -a" checks to see if a filesystem is already mounted. Without this fix, fstab lines like: server::/path /dir nfs defaults 0 0 /dir/subdir /mnt/test none bind 0 0 result in a new mount at /mnt/test every time "mount -a" is run. [kzak@redhat.com: - use strappend() rather than asprintf()] Signed-off-by: NeilBrown Signed-off-by: Karel Zak libmount/src/tab.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit d00a3e2e4cbb3ee47e23ab584c39d50feaa32223 Author: Richard Fuchs Date: Tue Apr 17 09:40:20 2018 -0400 bugfix: fix possible segfault during umount -a mnt_context_get_mtab() doesn't set its return **tb argument on error, and so in mnt_context_next_umount() mtab will remain uninitialized on error, later resulting in cxt->mtab containing garbage, possibly resulting in segfault on exit. libmount/src/context_umount.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit da04e26b439c56c6701f86633830353ccf932f2b Merge: 975bc1026 926b558fd Author: Karel Zak Date: Mon Apr 9 10:39:34 2018 +0200 Merge branch 'rename-fix-nooverwrite-when-symlink_2.32' of https://github.com/g-raud/util-linux into stable/v2.32 * 'rename-fix-nooverwrite-when-symlink_2.32' of https://github.com/g-raud/util-linux: rename: consolidate printing the symlink in addition to its target rename: fix/reverse the semantics of --no-overwrite in --symlink mode commit 975bc1026d1162107e04e9820e41621945b74023 Author: Karel Zak Date: Thu Apr 5 15:59:59 2018 +0200 dmesg: fix raw output The commit 5f538ac40c0d215b6c9a881effe4c3b214366715 has introduced regression ("goto" to the wrong place, so timestamps in raw mode is not printed at all). Addresses: https://github.com/karelzak/util-linux/issues/614 Signed-off-by: Karel Zak sys-utils/dmesg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 926b558fd1b50d050b39999f2e8c4c04091cd3a0 Author: G.raud Meyer Date: Sat Mar 24 23:55:58 2018 +0100 rename: consolidate printing the symlink in addition to its target misc-utils/rename.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f3b185e5221fe2edbee9888fd781396385e0ec39 Author: G.raud Meyer Date: Sat Mar 24 23:53:21 2018 +0100 rename: fix/reverse the semantics of --no-overwrite in --symlink mode The previous behaviour was to overwrite a symlink only when the new destination did not exist, i.e. to avoid creating a symlink to an existing file! It had not been documented and it seems counter-intuitive to me. So the new behavior protects symlinks pointing to existing targets from being changed. Also update manpage to document this mode. misc-utils/rename.1 | 4 +++- misc-utils/rename.c | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-)