Changes between v2.36-rc1 and v2.36-rc2 -------------------------------------------- commit 1f4009146a06bdea8bd9eb9f6daaa55f05621416 Author: Karel Zak Date: Thu Jul 9 12:20:57 2020 +0200 build-sys: release++ (v2.36-rc2) Signed-off-by: Karel Zak NEWS | 6 +++++- configure.ac | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) commit aaa3502334d3f7111fd477a9efd8be193777f22a Author: Karel Zak Date: Thu Jul 9 12:18:44 2020 +0200 docs: update v2.36-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.36-ReleaseNotes | 89 ++++++++++++++++++++++++++++++- 1 file changed, 87 insertions(+), 2 deletions(-) commit 383130fc5fbd082083ebb596dcb598473f95dd3f Author: Karel Zak Date: Thu Jul 9 12:15:33 2020 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 7 +++++++ 1 file changed, 7 insertions(+) commit 00675fd5f0f73c17835825c3da51481125ee3247 Author: Karel Zak Date: Thu Jul 9 12:13:54 2020 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 725 +++++++++++++++++++++++++++-------------------------- po/cs.po | 726 +++++++++++++++++++++++++++-------------------------- po/da.po | 726 +++++++++++++++++++++++++++-------------------------- po/de.po | 726 +++++++++++++++++++++++++++-------------------------- po/es.po | 726 +++++++++++++++++++++++++++-------------------------- po/et.po | 725 +++++++++++++++++++++++++++-------------------------- po/eu.po | 725 +++++++++++++++++++++++++++-------------------------- po/fi.po | 725 +++++++++++++++++++++++++++-------------------------- po/fr.po | 726 +++++++++++++++++++++++++++-------------------------- po/gl.po | 725 +++++++++++++++++++++++++++-------------------------- po/hr.po | 726 +++++++++++++++++++++++++++-------------------------- po/hu.po | 725 +++++++++++++++++++++++++++-------------------------- po/id.po | 725 +++++++++++++++++++++++++++-------------------------- po/it.po | 725 +++++++++++++++++++++++++++-------------------------- po/ja.po | 725 +++++++++++++++++++++++++++-------------------------- po/nl.po | 725 +++++++++++++++++++++++++++-------------------------- po/pl.po | 726 +++++++++++++++++++++++++++-------------------------- po/pt.po | 726 +++++++++++++++++++++++++++-------------------------- po/pt_BR.po | 726 +++++++++++++++++++++++++++-------------------------- po/ru.po | 725 +++++++++++++++++++++++++++-------------------------- po/sl.po | 725 +++++++++++++++++++++++++++-------------------------- po/sv.po | 726 +++++++++++++++++++++++++++-------------------------- po/tr.po | 725 +++++++++++++++++++++++++++-------------------------- po/uk.po | 726 +++++++++++++++++++++++++++-------------------------- po/util-linux.pot | 727 ++++++++++++++++++++++++++++-------------------------- po/vi.po | 725 +++++++++++++++++++++++++++-------------------------- po/zh_CN.po | 725 +++++++++++++++++++++++++++-------------------------- po/zh_TW.po | 725 +++++++++++++++++++++++++++-------------------------- 28 files changed, 10428 insertions(+), 9885 deletions(-) commit c0eb43f7d30cc84b8b79fc59803d6151a219f590 Author: Karel Zak Date: Thu Jul 9 11:55:05 2020 +0200 docs: update ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.36-ReleaseNotes | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 10a0a9cbc567cd4d70e43b5d15f3764b7d21dbc2 Author: Karel Zak Date: Thu Jul 9 10:10:58 2020 +0200 last: fix use of non-terminated utmp->ut_line Addresses: https://github.com/karelzak/util-linux/pull/1097 Signed-off-by: Karel Zak login-utils/last.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit a102522992a77f15ccf8c04f931f1e25072da8b1 Author: Karel Zak Date: Thu Jul 9 09:34:30 2020 +0200 docs: add terminal hyperlinks to TODO Signed-off-by: Karel Zak Documentation/TODO | 7 +++++++ 1 file changed, 7 insertions(+) commit ff89765a8f57be4225437c0dbed93444ae65d53e Author: Karel Zak Date: Wed Jul 8 15:11:17 2020 +0200 travis: don't ask for Ubuntu release on XOS Signed-off-by: Karel Zak .travis-functions.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 7680209f8a64f603ec9c7512c2bac2ed8c9f67ab Author: Karel Zak Date: Wed Jul 8 10:11:50 2020 +0200 libmount: (verity) remove unnecessary empty lines Signed-off-by: Karel Zak libmount/src/context_veritydev.c | 12 ------------ 1 file changed, 12 deletions(-) commit ca4faf24418834e6e9d69c7aaeddfd2d65078bf3 Merge: c9cad81a0 477239ce0 Author: Karel Zak Date: Wed Jul 8 10:10:53 2020 +0200 Merge branch 'lp1886300' of https://github.com/mfoliveira/util-linux * 'lp1886300' of https://github.com/mfoliveira/util-linux: rename: fix regression for symlink with non-existing target commit c9cad81a0c639b1728ccd41928e47fb79f15fb2d Merge: c02980d6f 488fd4c3d Author: Karel Zak Date: Wed Jul 8 09:55:12 2020 +0200 Merge branch 'cryptsetup_dlopen' of https://github.com/bluca/util-linux * 'cryptsetup_dlopen' of https://github.com/bluca/util-linux: cryptsetup: add option to use via dlopen in libmount commit c02980d6f2cb43f4fda5d59964aa217712e87a72 Author: Karel Zak Date: Wed Jul 8 08:51:45 2020 +0200 lsmem: report inaccessible /sys/devices/system/memory Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1794160 Signed-off-by: Karel Zak sys-utils/lsmem.c | 2 ++ 1 file changed, 2 insertions(+) commit 655d736da3040e9cd89b3ece275e27ff2c13b6b5 Author: Karel Zak Date: Wed Jul 8 08:50:07 2020 +0200 lib/path: add ul_path_is_accessible() This function allow to check that path_cxt is usable. Note that ul_new_path() does not open the path. Signed-off-by: Karel Zak include/path.h | 1 + lib/path.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+) commit bf1d0a4ea047a18b7d2d6d40b73f034497e814c8 Author: Karel Zak Date: Wed Jul 8 08:48:45 2020 +0200 lsmem: make it without leaks for non-error output Signed-off-by: Karel Zak sys-utils/lsmem.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 477239ce0d60384642b51c950688136fdefec815 Author: Mauricio Faria de Oliveira Date: Tue Jul 7 15:49:13 2020 -0300 rename: fix regression for symlink with non-existing target Since commit 5454df9c3110 ("rename: check source file access early") rename fails early for symlinks with non-existing target (regression), because access() dereferences the link. From access(2): "access() checks whether the calling process can access the file pathname. If pathname is a symbolic link, it is dereferenced." Thus replace access() with faccessat() and lstat() as fallback, (as in do_symlink()), that is equivalent for symlink and files. From fsaccess(2) and stat(2): "The faccessat() system call operates in exactly the same way as access(), except for the differences described here. [...] If pathname is relative and dirfd is the special value AT_FDCWD, then pathname is interpreted relative to the current working directory of the calling process (like access()). [...] AT_SYMLINK_NOFOLLOW If pathname is a symbolic link, do not dereference it: instead return information about the link itself." "lstat() is identical to stat(), except that if pathname is a symbolic link, then it returns information about the link itself, not the file that it refers to." Testing ------- 1) symlink with existing target 2) symlink with non-existing target 3) non-existing symlink 4) existing file 5) non-existing file Before: $ touch file-found $ ln -s file-found symlink-1 $ ./rename sym symbolic- symlink-1 # XPASS. $ echo $? 0 $ ln -s file-not-found symlink-2 $ ./rename sym symbolic- symlink-2 # FAIL! REGRESSION. rename: symlink-2: not accessible: No such file or directory $ echo $? 1 $ ./rename sym symbolic- symlink-3 # XFAIL. rename: symlink-3: not accessible: No such file or directory $ echo $? 1 $ touch file-found $ ./rename found existing file-found # XPASS. $ echo $? 0 $ ./rename found existing file-not-found # XFAIL. rename: file-not-found: not accessible: No such file or directory $ echo $? 1 After: $ touch file-found $ ln -s file-found symlink-1 $ ./rename sym symbolic- symlink-1 # XPASS. $ echo $? 0 $ ln -s file-not-found symlink-2 $ ./rename sym symbolic- symlink-2 # PASS! REGRESSION FIXED. $ echo $? 0 $ ./rename sym symbolic- symlink-3 # XFAIL. rename: symlink-3: not accessible: No such file or directory $ echo $? 1 $ touch file-found $ ./rename found existing file-found # XPASS. $ echo $? 0 $ ./rename found existing file-not-found # XFAIL. rename: file-not-found: not accessible: No such file or directory $ echo $? 1 And to test/simulate faccessat()'s EINVAL for AT_SYMLINK_NOFOLLOW for Mac OS X, per commit 826538bf64c5 ("rename: skip faccessat() failure if AT_SYMLINK_NOFOLLOW is not a valid flag"), forced 'if' to evaluate to false so that lstat() is taken. It still fails early; the error messages are slightly different ('not accessible' vs. 'stat of ... failed') but still tell same 'No such file or directory'; exit code is the same as well. $ ./rename sym symbolic- symlink-3 # XFAIL. DIFF MSG/SAME RC. rename: stat of symlink-3 failed: No such file or directory $ echo $? 1 $ ./rename found existing file-not-found # XFAIL. DIFF MSG/SAME RC. rename: stat of file-not-found failed: No such file or directory $ echo $? 1 Tested on commit 2b41c409e ("Merge branch 'blkd-err' of ...") Signed-off-by: Mauricio Faria de Oliveira misc-utils/rename.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 488fd4c3dfdc33db6dca91ebe95e1607f7d1ed12 Author: Luca Boccassi Date: Mon Jun 29 21:45:26 2020 +0100 cryptsetup: add option to use via dlopen in libmount Enabling libcrypsetup in libmount had several unintended side effects. First of all, it increases the Debian minimal image size by ~2.5% (5.6MB worth of new libraries). Then, due to libcryptsetup linkage to OpenSSL and libjson-c, it causes incompatibilities with external programs linking against both libmount and a private, static, old version of OpenSSL, or external programs linking against libjansson or json-glib, which have one symbol in common with libjson-c. If ./configure is ran with --with-crypsetup=dlopen, instead of linking to libcrypsetup, use dlopen to resolve the symbols at runtime only when the verity feature is used, thus avoiding clashes and keeping images size down. Fixes #1081 Signed-off-by: Luca Boccassi Makefile.am | 7 ++ configure.ac | 14 +++- libmount/mount.pc.in | 1 + libmount/src/Makemodule.am | 9 +- libmount/src/context_veritydev.c | 174 +++++++++++++++++++++++++++++++++++---- sys-utils/mount.8 | 4 +- 6 files changed, 189 insertions(+), 20 deletions(-) commit 2b41c409e7616b6e07bb47eaee90b82d7fdc120c Merge: 7586e9d1a 1b9f2ff33 Author: Karel Zak Date: Tue Jul 7 14:24:41 2020 +0200 Merge branch 'blkd-err' of https://github.com/evverx/util-linux * 'blkd-err' of https://github.com/evverx/util-linux: tests: turn off detect_leaks on s390x, use more asan options tests: skip "blkid/dm-err" when `mknod` doesn't work commit 1b9f2ff3335019094f5b0b8b14bff0938f757db6 Author: Evgeny Vereshchagin Date: Fri Jul 3 13:26:08 2020 +0000 tests: turn off detect_leaks on s390x, use more asan options Signed-off-by: Evgeny Vereshchagin tests/functions.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit d3c9e21fe7d8fed6eb521a03a09b2e8be94ee1ed Author: Evgeny Vereshchagin Date: Fri Jul 3 10:54:49 2020 +0000 tests: skip "blkid/dm-err" when `mknod` doesn't work Signed-off-by: Evgeny Vereshchagin tests/ts/blkid/dm-err | 7 +++++++ 1 file changed, 7 insertions(+) commit 7586e9d1aa3d054efc0a4c959c41be98660072b0 Author: Karel Zak Date: Fri Jul 3 13:17:51 2020 +0200 cal: use size_t to calculate width [lgtm scan] We use size_t for width. This patch makes it consistent for years_width too. Signed-off-by: Karel Zak misc-utils/cal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 2e5819df6c8b4ebff766f1b217747108c054d6cf Author: Karel Zak Date: Fri Jul 3 13:03:58 2020 +0200 unshare: (man) add note about signals on --fork Addresses: https://github.com/karelzak/util-linux/pull/1087 Signed-off-by: Karel Zak sys-utils/unshare.1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 9120e39f92a01fdfaa8140b0ed2d7dc10bac4ba5 Merge: d11873809 3ba6736f3 Author: Karel Zak Date: Fri Jul 3 12:56:54 2020 +0200 Merge branch 'unshare-signals' of https://github.com/DaanDeMeyer/util-linux commit d118738095e3f46e52e380412f45e580b7df57c0 Author: Karel Zak Date: Fri Jul 3 12:29:06 2020 +0200 libfdisk: (gpt) fix compiler warning [-Wmaybe-uninitialized] Make sure that variables used in gpt_calculate_* are always initialized. Addresses: https://github.com/karelzak/util-linux/issues/1091 Signed-off-by: Karel Zak libfdisk/src/gpt.c | 63 +++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 43 insertions(+), 20 deletions(-) commit bc270ae1a841e1d5b89592e567b1c7676083aac7 Merge: 32e1bc0d7 bf04d98b9 Author: Karel Zak Date: Fri Jul 3 11:34:12 2020 +0200 Merge branch 'werror' of https://github.com/evverx/util-linux commit 32e1bc0d7248536e8dfd9ce8067d2f1acc40f697 Merge: b9b65bffc c7eb1925e Author: Karel Zak Date: Fri Jul 3 11:32:36 2020 +0200 Merge branch 'travis-arch' of https://github.com/evverx/util-linux * 'travis-arch' of https://github.com/evverx/util-linux: travis: build util-linux on arm64, ppc64le and s390x commit b9b65bffc37bb0b3c77034562b98bf1079742a46 Author: Evgeny Vereshchagin Date: Thu Jul 2 02:48:39 2020 +0000 travis: turn on CIFuzz Signed-off-by: Karel Zak .github/workflows/cifuzz.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) commit 6af515811b756fdc3350482a3bb07c615618576f Author: Evgeny Vereshchagin Date: Wed Jul 1 21:26:56 2020 +0000 tests: ignore the python libmount tests when they're run under UBSan ts_init_py meddles with LD_LIBRARY_PATH causing those tests to fail with ``` +Traceback (most recent call last): + File "/home/travis/build/karelzak/util-linux/libmount/python/test_mount_tab.py", line 8, in + import pylibmount as mnt +ImportError: /home/travis/build/karelzak/util-linux/.libs/libblkid.so.1: undefined symbol: __ubsan_handle_negate_overflow }}}-diff ``` tests/ts/libmount/context-py | 2 +- tests/ts/libmount/context-utab-py | 2 +- tests/ts/libmount/tabfiles-py | 2 +- tests/ts/libmount/tabfiles-tags-py | 2 +- tests/ts/libmount/update-py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) commit 5cda653a7b443dda39b91f1013d75cc979b598f9 Author: Evgeny Vereshchagin Date: Wed Jul 1 20:42:49 2020 +0000 travis: install llvm-* to get llvm-symbolizer Backtraces like ``` misc-utils/cal.c:295:4: runtime error: signed integer overflow: 2147483647 + 5 cannot be represented in type 'int' ==1405==WARNING: invalid path to external symbolizer! ==1405==WARNING: Failed to use and restart external symbolizer! #0 0x4c4c09 (/home/travis/build/karelzak/util-linux/cal+0x4c4c09) #1 0x7f4363046b96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #2 0x41bab9 (/home/travis/build/karelzak/util-linux/cal+0x41bab9) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior misc-utils/cal.c:295:4 in ``` aren't very helpful It's follow-up to https://github.com/karelzak/util-linux/pull/1075 .travis-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5b9df9c40d7b0dc942f4d063ca8e765d309bf86d Author: Evgeny Vereshchagin Date: Wed Jul 1 20:07:07 2020 +0000 travis: turn on UBsan on Travis CI to see how it goes Signed-off-by: Karel Zak .travis-functions.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit e6a4d8cc06f26f01b9e1ef80b11138624b2e9dce Author: Evgeny Vereshchagin Date: Wed Jul 1 19:52:51 2020 +0000 build-sys: add --enable-ubsan to make it possible to build util-linux with UBSan mostly to prepare for https://github.com/karelzak/util-linux/pull/1068 but it's useful even without fuzzing. Signed-off-by: Karel Zak Makefile.am | 2 +- configure.ac | 10 ++++++++++ tests/functions.sh | 17 ++++++++++++++--- tests/run.sh | 12 ++++++++++++ 4 files changed, 37 insertions(+), 4 deletions(-) commit 3ba6736f3a2387bd383b458636d745a96d44b398 Author: Daan De Meyer Date: Thu Jul 2 16:26:39 2020 +0200 unshare --fork: Ignore SIGINT and SIGTERM in parent sys-utils/unshare.c | 7 +++++++ 1 file changed, 7 insertions(+) commit bf04d98b935bc036b1b0b84a151804fe9c49e919 Author: Evgeny Vereshchagin Date: Thu Jul 2 11:26:47 2020 +0000 skip hwclock/systohc on Travis CI on Ubuntu Precise It's flaky there. Closes https://github.com/karelzak/util-linux/issues/1082 tests/ts/hwclock/systohc | 3 +++ 1 file changed, 3 insertions(+) commit 38c5db359d81e72387f8b886b31e225d8390d923 Author: Evgeny Vereshchagin Date: Thu Jul 2 10:51:04 2020 +0000 travis: turn off -Werror on precise and osx I'm not sure anyone is particularly interested in what the compilers have to say there. .travis-functions.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit ad6aef0ea87fe3778dedf0aa2ee26ac5ad3ae39f Author: Evgeny Vereshchagin Date: Thu Jul 2 10:16:22 2020 +0000 revert a680b2abe725f4d5240 It's not clear what that commit was supposed to fix. Looks like 772420322deb14b2ff should have helped there. sys-utils/lscpu.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 7b81644f104734713d4fe879858b07c204c52747 Author: Evgeny Vereshchagin Date: Thu Jul 2 09:15:51 2020 +0000 travis: turn on -Werror .travis-functions.sh | 4 ++++ sys-utils/blkzone.c | 7 +++++++ 2 files changed, 11 insertions(+) commit c7eb1925ee081e9586d8029f27e8e00115fccbe1 Author: Evgeny Vereshchagin Date: Thu Jul 2 08:08:41 2020 +0000 travis: build util-linux on arm64, ppc64le and s390x .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) commit a732e4a1d3441cf4e579b824d4667a2e224e6a4e Author: Karel Zak Date: Wed Jul 1 15:47:20 2020 +0200 libblkid: remove blkid_llseek() Let's use libc lseek() everywhere like we use in another tools. It's year 2020 ... Addresses: https://github.com/karelzak/util-linux/issues/1083 Signed-off-by: Karel Zak configure.ac | 15 ----- libblkid/src/Makemodule.am | 1 - libblkid/src/blkidP.h | 3 - libblkid/src/llseek.c | 147 --------------------------------------------- libblkid/src/probe.c | 9 ++- 5 files changed, 4 insertions(+), 171 deletions(-) commit 63c80c4cf725564196b603e3a7c39d439218570f Author: Karel Zak Date: Wed Jul 1 15:23:10 2020 +0200 build-sys: add --enable-werror Add new ./configure option to make all compiler warnings into errors. Addresses: https://github.com/karelzak/util-linux/issues/1083 Signed-off-by: Karel Zak configure.ac | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit 077650ff0d036f5b08323c9f24fbd4787c83e1e8 Author: Karel Zak Date: Wed Jul 1 09:33:27 2020 +0200 docs: remove drone.io, add lgtm.com Signed-off-by: Karel Zak Documentation/howto-tests.txt | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) commit 313a73883241733cb563fd93702ba23482771c62 Author: Karel Zak Date: Wed Jul 1 09:32:58 2020 +0200 build-sys: add -Waddress-of-packed-member Signed-off-by: Karel Zak configure.ac | 1 + 1 file changed, 1 insertion(+) commit 96f114455e899a2175602aac38d5db21fc8fe4d5 Merge: f9a4f9358 e0967c5b3 Author: Karel Zak Date: Wed Jul 1 09:28:23 2020 +0200 Merge branch 'bionic' of https://github.com/evverx/util-linux * 'bionic' of https://github.com/evverx/util-linux: travis: make it easier to switch to the next clang/gcc travis: switch to clang-10 travis: switch to gcc-10 travis: ignore memory leaks in checkusage travis: install all the "official" build dependencies travis: switch to Bionic commit e0967c5b3960cc655c271efd667377039c88d152 Author: Evgeny Vereshchagin Date: Tue Jun 30 16:43:49 2020 +0000 travis: make it easier to switch to the next clang/gcc by just changing the compiler option in .travis.yml In https://travis-ci.org/github/karelzak/util-linux/builds/703664282 I switched to gcc-9/clang-9 by simply applying the following patch: ``` diff --git a/.travis.yml b/.travis.yml index ec1284717..12a247d91 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,8 +7,8 @@ git: depth: 1500 compiler: - - gcc-10 - - clang-10 + - gcc-9 + - clang-9 env: - MAKE_CHECK="nonroot" ``` .travis-functions.sh | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) commit d98d4987272bfb220f66c5f89a24e08102d64ec3 Author: Evgeny Vereshchagin Date: Mon Jun 29 14:40:19 2020 +0000 travis: switch to clang-10 to prepare the infrastructure for https://github.com/karelzak/util-linux/pull/1068 .travis-functions.sh | 6 ++++++ .travis.yml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit f99c2464e7fae69e6f1353fdb46aca91ae0694a3 Author: Evgeny Vereshchagin Date: Mon Jun 29 13:56:06 2020 +0000 travis: switch to gcc-10 to get around an ASan bug mentioned in https://github.com/karelzak/util-linux/issues/1076 .travis-functions.sh | 3 +++ .travis.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit c297ed7533d933a9027d45442fd74ab94a51dc9c Author: Evgeny Vereshchagin Date: Mon Jun 29 12:36:48 2020 +0000 travis: ignore memory leaks in checkusage Closes https://github.com/karelzak/util-linux/issues/1077 .travis-functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f9a4f93584fe6e0a8eef413c0a72b2ef7f075789 Merge: 49848aa53 98aa9c815 Author: Karel Zak Date: Mon Jun 29 12:49:20 2020 +0200 Merge branch 'ufiformat-reference' of https://github.com/wojtekka/util-linux * 'ufiformat-reference' of https://github.com/wojtekka/util-linux: disk-utils: Add reference to ufiformat(8) commit 49848aa53ae3a599277e8ceb50feda565f140b45 Author: Damien Goutte-Gattat Date: Sat Jun 27 19:58:13 2020 +0100 chfn: Make readline prompt for each field on a separate line When readline is called to get user input, it is called without a prompt argument. As a result, if the user does not enter anything for a given field, then the next field is displayed on the same line, yielding the following output: $ chfn Changing finger information for user. Password: Name []: Office []: Office Phone []: Home Phone []: instead of the expected: $ chfn Changing finger information for user. Password: Full Name []: Room Number []: Work Phone []: Home Phone []: This patch restores the expected behavior by feeding readline with a character to display as "prompt". [kzak@redhat.com: - do the same change in chsh - use ' ' rather than '\n' for non-readline code] Signed-off-by: Damien Goutte-Gattat Signed-off-by: Karel Zak login-utils/chfn.c | 5 +++-- login-utils/chsh.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) commit 852db9d87d8fe9b5b6c0894e932a3d13744d40b9 Author: Evgeny Vereshchagin Date: Sun Jun 28 20:14:40 2020 +0200 travis: install all the "official" build dependencies .travis-functions.sh | 2 ++ 1 file changed, 2 insertions(+) commit 55092472e0338c4ab533a4c9b0ab5313f56e85db Author: Evgeny Vereshchagin Date: Sun Jun 28 19:58:07 2020 +0200 travis: switch to Bionic To judge from fc412fe4cee960, back in 2016 it was the latest version of Ubuntu available on Travis CI. Now build tools there are too old for testing purposes. Other than that, Ubuntu Trusty hasn't been supported at https://apt.llvm.org/ since August 2019, which makes it kind of hard at this point to bring the latest clang along with ASan, UBsan, Msan and libFuzzer to Travis CI. .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 98aa9c815a3e75cb9b3c31e2864f851ff00f43b1 Author: Wojtek Kaniewski Date: Sat Jun 27 21:15:10 2020 +0200 disk-utils: Add reference to ufiformat(8) fdformat(8) doesn't handle USB floppy disk drives. As legacy floppy disk drives have become a scarce resource it would be nice to point those poor souls trying to format their floppy disks to a utility that doesn't throw "Invalid argument" at them. Signed-off-by: Wojtek Kaniewski disk-utils/fdformat.8 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit fe0d12d4f82269096f8d0cffc51ca9590814c284 Author: Karel Zak Date: Fri Jun 26 12:59:32 2020 +0200 libmount: (parser) fix memory leak on error before end-of-file Let's simplify the loop where we add FS to the table. The optimization for recoverable errors is a fragile overkill. The new code always allocates and unrefs FS for each loop. Addresses: https://github.com/karelzak/util-linux/pull/1068 Signed-off-by: Karel Zak libmount/src/fs.c | 2 +- libmount/src/tab_parse.c | 49 ++++++++++++++++++++++++++---------------------- 2 files changed, 28 insertions(+), 23 deletions(-) commit d454da17dae4071e0c9a5d4341738164f8adbeb8 Author: Karel Zak Date: Wed Jun 24 16:38:03 2020 +0200 docs: mark some branches as github-only Signed-off-by: Karel Zak Documentation/howto-contribute.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 3e9395811708b5ebcf2c5079ff0cb6d18694a3cc Author: Mark Hindley Date: Mon Jun 22 23:52:09 2020 +0000 tests: Fix mountpoint test failure in build chroots. The test assumed that / was a mountpoint. This is not always the case, for example in pbuilder/cowbuilder chroots. So use / if findmnt verifies it is a mountpoint, otherwise use the first mountpoint found. Skip the test if no mountpoints are found. Signed-off-by: Mark Hindley tests/expected/misc/mountpoint-default | 2 +- tests/expected/misc/mountpoint-nofollow | 2 +- tests/ts/misc/mountpoint | 15 +++++++++++---- 3 files changed, 13 insertions(+), 6 deletions(-) commit 67fcb857395dd59e518d72561571aba731d0d5f4 Author: Bjarni Ingi Gislason Date: Sun Jun 21 22:58:27 2020 +0000 sys-utils: mount.8: split a long line into two Split two long lines, adding '\e' at the end of the first part, as otherwise the last part of them disappears at the right margin in the printed output (pdf). Signed-off-by: Bjarni Ingi Gislason sys-utils/mount.8 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit c1fa7067e20950292f211dc1287da21dce67c2ae Merge: 965334990 d8bfcb4cc Author: Karel Zak Date: Wed Jun 24 15:40:02 2020 +0200 Merge branch 'bug422' of https://github.com/kerolasa/util-linux commit 965334990ed82037fe63a508fe1f5b4e43437de1 Merge: 9fd01b10d fdadefe59 Author: Karel Zak Date: Wed Jun 24 15:32:54 2020 +0200 Merge branch 'some/small/fixes' of https://github.com/lnslbrty/util-linux * 'some/small/fixes' of https://github.com/lnslbrty/util-linux: login: fixed invalid sizeof usage libfdisk, unshare: fix gcc-4.9.4 warnings commit 9fd01b10d0a2c0689a33b751993a5cf1bfd2dc04 Author: Alexey Gladkov Date: Tue Jun 23 16:56:20 2020 +0200 setarch: add arm and aarch64 architectures to transition rules Since aarch64 kernel can be configured with compat 32-bit support enabled, extend translation rules in a way similar to x86/x86_64. Suggested-by: "Dmitry V. Levin" Signed-off-by: Alexey Gladkov sys-utils/setarch.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit 7f48cfb0e46973b19dd45ed3f924ddc80d832ca7 Author: Alexey Gladkov Date: Tue Jun 23 16:56:19 2020 +0200 setarch: make verify_arch_domain extendable When other compatible architectures are introduced, they will also have to be added to the verifier. Signed-off-by: Alexey Gladkov sys-utils/setarch.c | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) commit d8bfcb4cc5d65239e7c21b1067b82a0b24ae386b Author: Sami Kerola Date: Sat Jun 20 09:22:24 2020 +0100 col: fix output when first line does not have newline character Commit I made while back and has been part of util-linux v2.30 to v2.35 made col(1) not to output anything when first line did not have newline character. printf "gone from output" | col This commit fixes the issue. Admittedly the col source code is unnecessarily hard to work with. It could be a good idea to refactor the col(1) as low priority task, Assuming refactoring is done the first commit to get that done should add tests that exhaust all possible input handling including all command line option directives. Addresses: https://github.com/karelzak/util-linux/issues/422 Fixes: b6b5272b03ea9d3fa15601801d4d0f76ea4440f1 Signed-off-by: Sami Kerola tests/expected/col/newlines | 11 +++++++++++ tests/ts/col/newlines | 41 +++++++++++++++++++++++++++++++++++++++++ text-utils/col.c | 2 +- 3 files changed, 53 insertions(+), 1 deletion(-) commit fdadefe599381881ae2e3e41d880c005e3cf5b8c Author: Toni Uhlig Date: Fri Jun 19 18:38:15 2020 +0200 login: fixed invalid sizeof usage Signed-off-by: Toni Uhlig login-utils/logindefs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9eba84768961993dd949f40d69a0428708b442f8 Author: Toni Uhlig Date: Fri Jun 19 17:25:25 2020 +0200 libfdisk, unshare: fix gcc-4.9.4 warnings Signed-off-by: Toni Uhlig libfdisk/src/gpt.c | 2 +- sys-utils/unshare.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 883d1d65649e97877f4043e103c92d4271c280f2 Author: Karel Zak Date: Fri Jun 19 19:04:10 2020 +0200 build-sys: fix blkdiscard blkid.h use Signed-off-by: Karel Zak sys-utils/Makemodule.am | 1 + sys-utils/blkdiscard.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 51355bea706899deaf47a3ca7092d7cf468437b2 Author: Karel Zak Date: Fri Jun 19 10:06:25 2020 +0200 lib/sysfs: fix prefix use in sysfs_devname_is_hidden() Addresses: https://github.com/karelzak/util-linux/issues/1062 Signed-off-by: Karel Zak lib/sysfs.c | 3 +++ 1 file changed, 3 insertions(+) commit 4bee67e2d1a78abc52e89c6eb71f0efc8a278ce9 Author: Rupesh Girase Date: Thu Jun 18 19:17:41 2020 +0530 Manual pages: losetup.8: Fix "--direct-io" defaults "--direct-io" option is "off" by default while configuring loop device but it's mentioned "on" in man page. Signed-off-by: Rupesh Girase sys-utils/losetup.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0f23e4c13e5e92c091d7ade9b1b945eb9a75d1ab Author: Lukas Czerner Date: Thu Jun 18 12:50:34 2020 +0200 blkdiscard: Refuse to proceed if signatures are found Currently the blkdiscard has the ability to wipe out entere device in a matter of seconds. This is fine as long as it's intentional, it is potentially catastrophic if it's not. With this commit blkdiscard will check for existing signatures on the device and refuse to continue if any are found unless the operation is forced with the -f option. In an attempt to avoid breaking existing automation scripts the force is only required when stdin refers to a terminal. Signed-off-by: Lukas Czerner sys-utils/Makemodule.am | 2 +- sys-utils/blkdiscard.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 59 insertions(+), 2 deletions(-) commit 8f3ce436b8e028028032a6687ec1b4f07bea7ff6 Author: Jakub Wilk Date: Tue Jun 16 20:11:38 2020 +0200 unshare: fix man page formatting Signed-off-by: Jakub Wilk sys-utils/unshare.1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 111b395aedf59d8d15933e82e5d1d6bce80fe3fa Author: Karel Zak Date: Tue Jun 16 14:00:58 2020 +0200 login: cleanup get_hushlogin_status() use * use 1 bit for context->quiet * get_hushlogin_status() return -1 on error, make sure we do not interpret it as "hush mode enabled" Signed-off-by: Karel Zak login-utils/login.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 31d79197c01461397e5fd6b69830be3b69f6b2c5 Author: Karel Zak Date: Tue Jun 16 13:49:48 2020 +0200 login: use PAM_SILENT to propagate hushlogin to PAM login(1) follows /etc/hushlogin and ~/.hushlogin to enable silent mode, but it's not propagated to PAM now. Note that login(1) from shadow-utils uses PAM_SILENT too. Addresses: https://github.com/linux-pam/linux-pam/issues/233 Addresses: https://github.com/karelzak/util-linux/issues/1059 Signed-off-by: Karel Zak login-utils/login.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit b66e4d8a037ccc07ce68e215a2bf35167924c5db Author: Karel Zak Date: Mon Jun 15 11:47:53 2020 +0200 tests: cleanup cramfs checksums Let's make the code more readable. Signed-off-by: Karel Zak tests/ts/cramfs/mkfs | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) commit 2f6674b01ba0774be695d0e595715feba0a7ec6f Merge: 5adb0c906 895839d06 Author: Karel Zak Date: Mon Jun 15 11:41:17 2020 +0200 Merge branch 'cramfs-mkfs' of https://github.com/mator/util-linux * 'cramfs-mkfs' of https://github.com/mator/util-linux: tests: add checksum for cramfs/mkfs for BE:8192 (sparc64) commit 5adb0c90663aaff98772955e11b2dde527418dbf Author: Sami Kerola Date: Fri Jun 12 20:29:54 2020 +0100 bash-completion: release preparations 6e103c7690fe blkzone: Add --force option 9cd88771ef45 fdisk: add --lock and LOCK_BLOCK_DEVICE 921ceaca31bd wipefs: add --lock and LOCK_BLOCK_DEVICE c3ef1268a0b4 sfdisk: add --lock and LOCK_BLOCK_DEVICE b8671fe76370 mkswap: add --lock and LOCK_BLOCK_DEVICE ec8f712157fe cfdisk: add --lock and LOCK_BLOCK_DEVICE f2229320a9f7 fdisk: add --noauto-pt 7f1f0584c24a nsenter: add support for the time namespace dd52c4fa011d lsirq: add -n option ee5a16025046 sfdisk: add --relocate command 99d78b2fefe3 fdisk: add --list-details 65e27d545cb5 sfdisk: add --disk-id to change disk UUID/ID 34fed3ff1740 blkdiscard: use O_EXCL, add --force Signed-off-by: Sami Kerola bash-completion/blkdiscard | 1 + bash-completion/blkzone | 2 +- bash-completion/cfdisk | 1 + bash-completion/fdisk | 3 +++ bash-completion/lsirq | 1 + bash-completion/mkswap | 2 +- bash-completion/nsenter | 1 + bash-completion/sfdisk | 3 +++ bash-completion/wipefs | 1 + 9 files changed, 13 insertions(+), 2 deletions(-) commit d651a1baa9c24150293950b10817f92922e62513 Author: Michael Kerrisk (man-pages) Date: Fri Jun 12 13:19:33 2020 +0200 Manual pages: setpriv.1: warn users of restrictions on capability changes The kernel imposes various restrictions on the changes that can be made to the inheritable, ambient, and bounding sets. Warn the user about that. Signed-off-by: Michael Kerrisk (man-pages) sys-utils/setpriv.1 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit e350b5b3b615772889e581ba7f5a66ac1ac99f65 Author: Michael Kerrisk (man-pages) Date: Fri Jun 12 13:19:32 2020 +0200 Manual pages: setpriv.1: Various minor wording and formatting fixes Signed-off-by: Michael Kerrisk (man-pages) sys-utils/setpriv.1 | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit ee564ff41a5965ff11950d70bb3ae90b67e17e06 Author: Michael Kerrisk (man-pages) Date: Fri Jun 12 13:19:31 2020 +0200 Manual pages: runuser.1: Various wording and formatting fixes Most of this is pretty straightforward English language fix-ups and formatting fix-ups, so I've rolled it into one patch. Signed-off-by: Michael Kerrisk (man-pages) login-utils/runuser.1 | 70 +++++++++++++++++++++++++-------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) commit 960a8d1b63415706f5b0a2f812b5776b49c64b90 Author: Bjarni Ingi Gislason Date: Thu Jun 11 02:18:20 2020 +0000 doc: text-utils/*: fix some warnings from "mandoc -T lint" mandoc: ./text-utils/column.1:58:2: WARNING: skipping paragraph macro: PP empty mandoc: ./text-utils/column.1:63:2: WARNING: skipping paragraph macro: PP empty mandoc: ./text-utils/column.1:119:2: WARNING: skipping paragraph macro: PP empty mandoc: ./text-utils/column.1:171:1: WARNING: skipping paragraph macro: sp after PP mandoc: ./text-utils/column.1:170:2: WARNING: skipping paragraph macro: PP empty mandoc: ./text-utils/hexdump.1:206:2: WARNING: skipping paragraph macro: PP empty mandoc: ./text-utils/hexdump.1:356:2: STYLE: fill mode already disabled, skipping: nf mandoc: ./text-utils/hexdump.1:359:2: STYLE: fill mode already disabled, skipping: nf mandoc: ./text-utils/hexdump.1:362:2: STYLE: fill mode already disabled, skipping: nf mandoc: ./text-utils/hexdump.1:366:2: STYLE: fill mode already disabled, skipping: nf mandoc: ./text-utils/hexdump.1:369:2: STYLE: fill mode already disabled, skipping: nf #### There are no changes in the output from "nroff" and "groff", except for a reformat of a paragraph caused by "fill-mode". Signed-off-by: Bjarni Ingi Gislason text-utils/column.1 | 5 ----- text-utils/hexdump.1 | 7 +++---- 2 files changed, 3 insertions(+), 9 deletions(-) commit 308f997baf3a4633653f4c4b2b60552caf20c45e Author: Bjarni Ingi Gislason Date: Thu Jun 11 01:26:37 2020 +0000 doc: term-utils/*: fix some warnings from "mandoc -T lint" mandoc: ./term-utils/agetty.8:224:36: WARNING: undefined escape, printing literally: \\ mandoc: ./term-utils/agetty.8:12:2: STYLE: fill mode already enabled, skipping: fi mandoc: ./term-utils/agetty.8:307:2: WARNING: skipping paragraph macro: PP empty mandoc: ./term-utils/agetty.8:489:2: STYLE: fill mode already enabled, skipping: fi mandoc: ./term-utils/agetty.8:503:2: STYLE: fill mode already enabled, skipping: fi mandoc: ./term-utils/script.1:198:2: WARNING: skipping paragraph macro: PP empty mandoc: ./term-utils/script.1:244:2: WARNING: empty block: RS mandoc: ./term-utils/script.1:261:2: WARNING: skipping paragraph macro: PP empty mandoc: ./term-utils/scriptlive.1:77:2: STYLE: fill mode already disabled, skipping: nf mandoc: ./term-utils/scriptreplay.1:122:2: STYLE: fill mode already disabled, skipping: nf ### Additional change: 1) Changed ' ' once to ' ' in "agetty.8" 2) Change in the output from "groff": '-' changed to '\-' in "agetty.8". Signed-off-by: Bjarni Ingi Gislason term-utils/agetty.8 | 8 ++------ term-utils/script.1 | 4 ---- term-utils/scriptlive.1 | 2 +- term-utils/scriptreplay.1 | 2 +- 4 files changed, 4 insertions(+), 12 deletions(-) commit ba6b6d8d08ead5d33febda8be9e0a59e25673f4a Author: Bjarni Ingi Gislason Date: Thu Jun 11 00:50:33 2020 +0000 doc: sys-utils/*: fix some warnings from "mandoc -T lint" mandoc: ./sys-utils/adjtime_config.5:26:1: WARNING: skipping paragraph macro: sp after PP mandoc: ./sys-utils/chcpu.8:98:2: WARNING: skipping paragraph macro: br at the end of SH mandoc: ./sys-utils/choom.1:26:22: STYLE: unterminated quoted argument mandoc: ./sys-utils/dmesg.1:90:5: STYLE: unterminated quoted argument mandoc: ./sys-utils/dmesg.1:147:5: STYLE: unterminated quoted argument mandoc: ./sys-utils/dmesg.1:33:2: WARNING: skipping paragraph macro: PP empty mandoc: ./sys-utils/dmesg.1:255:2: WARNING: skipping paragraph macro: br after sp mandoc: ./sys-utils/flock.1:183:2: WARNING: line scope broken: TQ breaks TP mandoc: ./sys-utils/flock.1:43:2: WARNING: skipping paragraph macro: PP after SH mandoc: ./sys-utils/fsfreeze.8:79:2: WARNING: skipping paragraph macro: PP after SH mandoc: ./sys-utils/fsfreeze.8:83:2: WARNING: skipping paragraph macro: PP after SH mandoc: ./sys-utils/ipcmk.1:43:2: WARNING: skipping paragraph macro: PP empty mandoc: ./sys-utils/lsirq.1:16:11: STYLE: unterminated quoted argument mandoc: ./sys-utils/lsirq.1:31:11: STYLE: unterminated quoted argument mandoc: ./sys-utils/lsirq.1:34:11: STYLE: unterminated quoted argument mandoc: ./sys-utils/mount.8:901:4: STYLE: unterminated quoted argument mandoc: ./sys-utils/mount.8:2239:38: STYLE: unterminated quoted argument mandoc: ./sys-utils/mount.8:88:2: WARNING: skipping paragraph macro: br after sp mandoc: ./sys-utils/mount.8:90:2: WARNING: skipping paragraph macro: br before sp mandoc: ./sys-utils/mountpoint.1:50:2: WARNING: skipping paragraph macro: PP after SH mandoc: ./sys-utils/mountpoint.1:57:2: WARNING: skipping paragraph macro: PP after SH mandoc: ./sys-utils/readprofile.8:10:2: WARNING: skipping paragraph macro: PP after SH mandoc: ./sys-utils/readprofile.8:100:2: WARNING: skipping paragraph macro: PP after SH mandoc: ./sys-utils/renice.1:65:11: STYLE: unterminated quoted argument mandoc: ./sys-utils/renice.1:68:11: STYLE: unterminated quoted argument mandoc: ./sys-utils/renice.1:72:11: STYLE: unterminated quoted argument mandoc: ./sys-utils/renice.1:55:2: WARNING: skipping paragraph macro: PP empty mandoc: ./sys-utils/swapon.8:227:2: WARNING: skipping paragraph macro: br after SH mandoc: ./sys-utils/unshare.1:350:32: STYLE: unterminated quoted argument mandoc: ./sys-utils/unshare.1:253:2: WARNING: skipping paragraph macro: PP after SH #### The ouput from "nroff" and "groff" is unchanged. Signed-off-by: Bjarni Ingi Gislason sys-utils/adjtime_config.5 | 2 +- sys-utils/chcpu.8 | 1 - sys-utils/choom.1 | 2 +- sys-utils/dmesg.1 | 6 ++---- sys-utils/flock.1 | 2 -- sys-utils/fsfreeze.8 | 2 -- sys-utils/ipcmk.1 | 1 - sys-utils/lsirq.1 | 6 +++--- sys-utils/mount.8 | 6 ++---- sys-utils/mountpoint.1 | 2 -- sys-utils/readprofile.8 | 2 -- sys-utils/renice.1 | 7 +++---- sys-utils/swapon.8 | 1 - sys-utils/unshare.1 | 3 +-- 14 files changed, 13 insertions(+), 30 deletions(-) commit 75ba1d8c28c59168a61c95f8e8c1700ad6262f08 Author: Bjarni Ingi Gislason Date: Thu Jun 11 00:18:44 2020 +0000 doc: schedutils/*: Fix some warnings from "mandoc -T lint" mandoc: ./schedutils/chrt.1:37:2: WARNING: skipping paragraph macro: PP after SH mandoc: ./schedutils/ionice.1:120:2: WARNING: skipping paragraph macro: PP empty mandoc: ./schedutils/taskset.1:36:2: WARNING: skipping paragraph macro: PP after SH #### There is no change in the ouput from "nroff" and "groff". Signed-off-by: Bjarni Ingi Gislason schedutils/chrt.1 | 1 - schedutils/ionice.1 | 1 - schedutils/taskset.1 | 1 - 3 files changed, 3 deletions(-) commit 8292383df7a169f0684fafdac6d5b7f29593175e Author: Bjarni Ingi Gislason Date: Wed Jun 10 23:57:22 2020 +0000 doc: misc-utils/*: Fix some warnings from "mandoc -T lint" mandoc: ./misc-utils/cal.1:214:2: WARNING: skipping paragraph macro: br after sp mandoc: ./misc-utils/cal.1:216:2: WARNING: skipping paragraph macro: br before sp mandoc: ./misc-utils/cal.1:225:2: WARNING: skipping paragraph macro: PP after SH mandoc: ./misc-utils/findfs.8:36:2: WARNING: skipping paragraph macro: br after sp mandoc: ./misc-utils/findfs.8:38:2: WARNING: skipping paragraph macro: br before sp mandoc: ./misc-utils/findfs.8:41:2: WARNING: skipping paragraph macro: br before sp mandoc: ./misc-utils/findfs.8:44:2: WARNING: skipping paragraph macro: br before sp mandoc: ./misc-utils/findfs.8:48:2: WARNING: skipping paragraph macro: PP empty mandoc: ./misc-utils/logger.1:118:15: STYLE: unterminated quoted argument mandoc: ./misc-utils/logger.1:231:2: WARNING: skipping paragraph macro: IP empty mandoc: ./misc-utils/look.1:116:2: STYLE: fill mode already disabled, skipping: nf mandoc: ./misc-utils/hardlink.1:1:5: STYLE: lower case character in document title: TH hardlink mandoc: ./misc-utils/hardlink.1:1:2: WARNING: missing date, using today's date: TH mandoc: ./misc-utils/hardlink.1:9:2: WARNING: skipping paragraph macro: PP after SH mandoc: ./misc-utils/hardlink.1:52:2: WARNING: skipping paragraph macro: PP after SH mandoc: ./misc-utils/hardlink.1:65:2: WARNING: skipping paragraph macro: PP after SH mandoc: ./misc-utils/rename.1:65:2: WARNING: skipping paragraph macro: PP empty mandoc: ./misc-utils/rename.1:65:2: WARNING: skipping paragraph macro: PP empty mandoc: ./misc-utils/rename.1:97:2: WARNING: skipping paragraph macro: PP empty mandoc: ./misc-utils/rename.1:107:2: WARNING: skipping paragraph macro: PP empty mandoc: ./misc-utils/rename.1:116:2: WARNING: skipping paragraph macro: PP empty mandoc: ./misc-utils/whereis.1:82:2: WARNING: line scope broken: IP breaks TP mandoc: ./misc-utils/whereis.1:152:2: WARNING: skipping paragraph macro: PP empty #### There is no change in the ouput of "nroff" or "groff", except for 1) a very long line in "logger.1". 2) '-' changed to '\-' for a option in "logger.1". Signed-off-by: Bjarni Ingi Gislason misc-utils/cal.1 | 3 --- misc-utils/findfs.8 | 5 ----- misc-utils/hardlink.1 | 3 --- misc-utils/logger.1 | 11 ++++++----- misc-utils/look.1 | 2 +- misc-utils/rename.1 | 15 +++++++-------- misc-utils/whereis.1 | 2 -- 7 files changed, 14 insertions(+), 27 deletions(-) commit 54cbc11fe3f4b016fb736816c3cf81b068038965 Author: Bjarni Ingi Gislason Date: Wed Jun 10 22:49:59 2020 +0000 doc: login-utils/*: Fix some warnings from "mandoc -T lint" mandoc: ./login-utils/chfn.1:96:2: WARNING: skipping paragraph macro: PP empty mandoc: ./login-utils/lslogins.1:14:2: WARNING: skipping paragraph macro: PP after SH mandoc: ./login-utils/newgrp.1:18:2: WARNING: skipping paragraph macro: PP empty mandoc: ./login-utils/nologin.8:19:2: WARNING: skipping paragraph macro: PP empty mandoc: ./login-utils/sulogin.8:57:2: WARNING: skipping paragraph macro: PP empty mandoc: ./login-utils/utmpdump.1:61:2: WARNING: skipping paragraph macro: PP after SS mandoc: ./login-utils/vipw.8:65:2: WARNING: line scope broken: TP breaks I #### There is no change in output from "nroff" or "groff". Signed-off-by: Bjarni Ingi Gislason login-utils/chfn.1 | 1 - login-utils/lslogins.1 | 1 - login-utils/newgrp.1 | 1 - login-utils/nologin.8 | 1 - login-utils/sulogin.8 | 1 - login-utils/utmpdump.1 | 1 - login-utils/vipw.8 | 1 - 7 files changed, 7 deletions(-) commit 3f5b0d428e51f521dd222cda538b5c6dc90d6cdc Author: Bjarni Ingi Gislason Date: Wed Jun 10 22:27:39 2020 +0000 doc: libuuid/man/*: Fix some warnings from "mandoc -T lint" mandoc: ./libuuid/man/uuid_generate.3:44:101: STYLE: unterminated quoted argument mandoc: ./libuuid/man/uuid_generate.3:45:102: STYLE: unterminated quoted argument #### There is no change in the output of "nroff" or "groff". Signed-off-by: Bjarni Ingi Gislason libuuid/man/uuid_generate.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d7649cf0ec541d0262f8596632c6dbf9ac5d6f0e Author: Bjarni Ingi Gislason Date: Wed Jun 10 21:49:10 2020 +0000 doc: disk-utils/*: Fix some warnings from "mandoc -T lint" mandoc: ./disk-utils/fsck.minix.8:123:2: WARNING: skipping paragraph macro: PP empty mandoc: ./disk-utils/isosize.8:8:2: WARNING: skipping paragraph macro: PP after SH mandoc: ./disk-utils/sfdisk.8:262:4: STYLE: unterminated quoted argument mandoc: ./disk-utils/swaplabel.8:57:2: WARNING: skipping paragraph macro: PP empty #### No change in the output from "nroff" or "groff". Signed-off-by: Bjarni Ingi Gislason #### disk-utils/fsck.minix.8 | 1 - disk-utils/isosize.8 | 1 - disk-utils/sfdisk.8 | 2 +- disk-utils/swaplabel.8 | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) commit 895839d064b890b14877c6b73890776295412248 Author: Anatoly Pugachev Date: Thu Jun 11 14:25:04 2020 +0300 tests: add checksum for cramfs/mkfs for BE:8192 (sparc64) Signed-off-by: Anatoly Pugachev tests/ts/cramfs/mkfs | 1 + 1 file changed, 1 insertion(+) commit 7519c3edab120b14623931d5ddb16fdc6e7cad5d Author: Karel Zak Date: Thu Jun 11 11:05:30 2020 +0200 tests: explain why MD tests with metadata v0.90 are KNOWN-FAIL metadata v0.90 is deprecated thing and unsupported to create by some new mdadm versions. It's possible to assemble this array (with default_layout=1 on modprobe raid0), but impossible to create a new one. References: 4ae96cf77b36660255d5870a4209480bbec47902 Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1826251 Signed-off-by: Karel Zak tests/ts/blkid/md-raid0-whole | 3 ++- tests/ts/blkid/md-raid1-part | 3 ++- tests/ts/blkid/md-raid1-whole | 3 ++- tests/ts/fdisk/align-512-4K-md | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) commit 99297d68b309e2229ffdb00964519f407dab8bc4 Merge: a0859be5c aaa9df2d9 Author: Karel Zak Date: Wed Jun 10 10:26:39 2020 +0200 Merge branch 'fix_typo' of https://github.com/s-morishima/util-linux commit a0859be5c7ff68c5a28e4dde1923d44c8a4d4125 Author: Bjarni Ingi Gislason Date: Wed Jun 10 02:17:50 2020 +0000 doc: Fix some warnings from "test-groff" for manuals Source is current git content. Output is from: test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z [ "test-groff" is a developmental version of "groff" ] Input file is ././disk-utils/sfdisk.8 troff: backtrace: file '<./disk-utils/sfdisk.8>':67 troff: <./disk-utils/sfdisk.8>:67: warning: trailing space Input file is ././misc-utils/kill.1 troff: backtrace: '/home/bg/git/groff/build/s-tmac/an-ext.tmac':133: macro 'EE' troff: backtrace: file '<./misc-utils/kill.1>':167 troff: <./misc-utils/kill.1>:167: warning: macro 'mF' not defined troff: backtrace: '/home/bg/git/groff/build/s-tmac/an-ext.tmac':134: macro 'EE' troff: backtrace: file '<./misc-utils/kill.1>':167 troff: <./misc-utils/kill.1>:167: warning: number register 'mE' not defined troff: backtrace: '/home/bg/git/groff/build/s-tmac/an-ext.tmac':134: macro 'EE' troff: backtrace: file '<./misc-utils/kill.1>':167 troff: <./misc-utils/kill.1>:167: warning: bad font number troff: backtrace: '/home/bg/git/groff/build/s-tmac/an-ext.tmac':135: macro 'EE' troff: backtrace: file '<./misc-utils/kill.1>':167 troff: <./misc-utils/kill.1>:167: warning: number register 'sP' not defined troff: backtrace: '/home/bg/git/groff/build/s-tmac/an-ext.tmac':134: macro 'EE' troff: backtrace: file '<./misc-utils/kill.1>':170 troff: <./misc-utils/kill.1>:170: warning: bad font number Input file is ././sys-utils/ipcs.1 <./sys-utils/ipcs.1>:103 (macro BR): only 1 argument, but more are expected Input file is ././sys-utils/mount.8 <./sys-utils/mount.8>:68 (macro RB): only 1 argument, but more are expected troff: backtrace: '/home/bg/git/groff/build/s-tmac/an-old.tmac':467: macro 'RB' troff: backtrace: file '<./sys-utils/mount.8>':68 troff: <./sys-utils/mount.8>:68: warning [p 1, 3.5i]: can't break line an-old.tmac: <./sys-utils/mount.8>:201 (.RE): warning: extra .RE or .RS is missing before it; "an-RS-open" is 0. <./sys-utils/mount.8>:453 (macro BR): only 1 argument, but more are expected <./sys-utils/mount.8>:500 (macro BR): only 1 argument, but more are expected <./sys-utils/mount.8>:1050 (macro BR): only 1 argument, but more are expected Input file is ././sys-utils/setpriv.1 <./sys-utils/setpriv.1>:17 (macro BR): only 1 argument, but more are expected <./sys-utils/setpriv.1>:154 (macro BR): only 1 argument, but more are expected <./sys-utils/setpriv.1>:166 (macro BR): only 1 argument, but more are expected Input file is ././sys-utils/umount.8 <./sys-utils/umount.8>:145 (macro IR): only 1 argument, but more are expected Input file is ././sys-utils/unshare.1 <./sys-utils/unshare.1>:266 (macro BR): only 1 argument, but more are expected [kzak@redhat.com: - add .RS to fix extra .RE in mount.8] Signed-off-by: Bjarni Ingi Gislason Signed-off-by: Karel Zak disk-utils/sfdisk.8 | 2 +- misc-utils/kill.1 | 2 +- sys-utils/ipcs.1 | 2 +- sys-utils/mount.8 | 12 +++++++----- sys-utils/setpriv.1 | 6 +++--- sys-utils/umount.8 | 2 +- sys-utils/unshare.1 | 2 +- 7 files changed, 15 insertions(+), 13 deletions(-) commit aaa9df2d9104970aa4220ddb1e82653df0396e0c Author: Shigeki Morishima Date: Thu Jun 4 04:23:30 2020 +0900 Manual page: fdisk.8: fix typo It seems that "--wipe-partitions" is correct, not "--wipe-partition". Signed-off-by: Shigeki Morishima disk-utils/fdisk.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)