Changes between v2.39-rc1 and v2.39-rc2 -------------------------------------------- commit 6df1a6c45549eb8683f0152e0202e2c46ed656da Author: Karel Zak Date: Tue Apr 4 14:29:20 2023 +0200 build-sys: release++ (v2.39-rc2) Signed-off-by: Karel Zak NEWS | 8 ++++++-- configure.ac | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) commit 4dee2b739cd346a343f8432c46386b47bbb55697 Author: Karel Zak Date: Tue Apr 4 14:25:45 2023 +0200 docs: update v2.39-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.39-ReleaseNotes | 48 +++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) commit 2b054804b6a004ce84021e00221c0e88c5da3e92 Author: Karel Zak Date: Tue Apr 4 14:24:19 2023 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 3 +++ 1 file changed, 3 insertions(+) commit c4c3f2ee828ef57f1c5c24179c1132e9f21fef56 Author: Karel Zak Date: Tue Apr 4 14:19:26 2023 +0200 po-man: merge changes Signed-off-by: Karel Zak po-man/de.po | 3022 ++++++++++++++++++++++++-------------------- po-man/es.po | 2930 +++++++++++++++++++++++-------------------- po-man/fr.po | 3067 ++++++++++++++++++++++++--------------------- po-man/pt_BR.po | 2900 ++++++++++++++++++++++-------------------- po-man/sr.po | 3009 ++++++++++++++++++++++++-------------------- po-man/uk.po | 2982 +++++++++++++++++++++++-------------------- po-man/util-linux-man.pot | 2849 +++++++++++++++++++++-------------------- 7 files changed, 11046 insertions(+), 9713 deletions(-) commit 8aff86697086a7a2e6feee19310416a8f2326c67 Author: Karel Zak Date: Tue Apr 4 14:14:32 2023 +0200 lsfd: (man) fix po-man warnings Signed-off-by: Karel Zak misc-utils/lsfd.1.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9a24ea037ad46ed1f38887ea1417a3ab4311e3b8 Author: Karel Zak Date: Tue Apr 4 14:09:53 2023 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 378 +-- po/cs.po | 376 +-- po/da.po | 376 +-- po/de.po | 376 +-- po/es.po | 376 +-- po/et.po | 378 +-- po/eu.po | 378 +-- po/fi.po | 376 +-- po/fr.po | 376 +-- po/gl.po | 378 +-- po/hr.po | 376 +-- po/hu.po | 378 +-- po/id.po | 378 +-- po/it.po | 378 +-- po/ja.po | 376 +-- po/ko.po | 376 +-- po/nl.po | 376 +-- po/pl.po | 6670 ++++++++++++++++++++++++++++++++--------------------- po/pt.po | 376 +-- po/pt_BR.po | 376 +-- po/ru.po | 378 +-- po/sk.po | 376 +-- po/sl.po | 378 +-- po/sr.po | 376 +-- po/sv.po | 376 +-- po/tr.po | 376 +-- po/uk.po | 376 +-- po/util-linux.pot | 378 +-- po/vi.po | 376 +-- po/zh_CN.po | 376 +-- po/zh_TW.po | 378 +-- 31 files changed, 9633 insertions(+), 8339 deletions(-) commit 52fb18e66292ffb5b74905424b442ee274e85d07 Author: Jakub Bogusz Date: Tue Apr 4 14:01:27 2023 +0200 po: update pl.po (from translationproject.org) po/pl.po | 6620 +++++++++++++++++++++++++------------------------------------- 1 file changed, 2663 insertions(+), 3957 deletions(-) commit e137dad4f315ce13aa331088a2af1203351ecc34 Author: Karel Zak Date: Tue Apr 4 13:59:29 2023 +0200 tests: add cryptsetup build results Signed-off-by: Karel Zak tests/expected/build-sys/config-cryptsetup | 128 +++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) commit 154f16a52c232e8a1b7c86f02f1648258886ce43 Author: Karel Zak Date: Tue Apr 4 13:58:08 2023 +0200 tests: (build-sys) add --conf= Signed-off-by: Karel Zak tests/ts/build-sys/config | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) commit 43a6b183d8945cc91307f21adc8070254eb925b5 Author: Karel Zak Date: Tue Apr 4 12:05:32 2023 +0200 fstab: improve 4th field description Signed-off-by: Karel Zak sys-utils/fstab.5.adoc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 22769acf56daf6683d635fe92e06ceb52e0433ff Author: Karel Zak Date: Tue Apr 4 11:04:51 2023 +0200 libblkid: copy BLKID_PARTS_FORCE_GPT to whole-disk prober Addresses: https://github.com/util-linux/util-linux/discussions/2146 Signed-off-by: Karel Zak libblkid/src/blkidP.h | 3 +++ libblkid/src/partitions/partitions.c | 5 +++++ libblkid/src/probe.c | 6 ++++++ 3 files changed, 14 insertions(+) commit 06b5b17ff2851d89eb18cb5a3c3530381950cc85 Author: Karel Zak Date: Tue Apr 4 10:39:36 2023 +0200 nsenter: (man) imropve readability Signed-off-by: Karel Zak sys-utils/nsenter.1.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 97bb98effd2c2fe976b2e20f87e000f75130c56c Author: Thomas Weißschuh Date: Mon Apr 3 18:44:15 2023 +0000 nsenter: use explicit argument to follow target PID/GID Making the argument to -S and -G optional in #2092 broke the cli compatability. So replace it with an explicit "follow" argument that provides the new functionality with a compatible interface. Fixes #2143 bash-completion/nsenter | 4 ++-- sys-utils/nsenter.1.adoc | 8 ++++---- sys-utils/nsenter.c | 18 +++++++++--------- 3 files changed, 15 insertions(+), 15 deletions(-) commit 53d2257dafbd486a88f8de2c3390bcd1509cb0c1 Merge: b7fd4ac9c add0a3e7e Author: Karel Zak Date: Tue Mar 28 19:10:40 2023 +0200 Merge branch 'patch-10' of https://github.com/mariobl/util-linux * 'patch-10' of https://github.com/mariobl/util-linux: mount: (man) Add usual Asciidoctor markup commit b7fd4ac9c31a089b06b9fdba20da6fed30bcebe6 Merge: 1fdcbc40e 9154eac9c Author: Karel Zak Date: Tue Mar 28 19:09:50 2023 +0200 Merge branch 'mount-relatime-equal' of https://github.com/skitt/util-linux * 'mount-relatime-equal' of https://github.com/skitt/util-linux: mount: relatime allows equality commit 1fdcbc40e3fda7ddc0403aa5a3ee7f3e9a12c22b Merge: 9fadd8eb3 73f0be401 Author: Karel Zak Date: Tue Mar 28 19:07:09 2023 +0200 Merge branch 'agetty' of https://github.com/jwilk-forks/util-linux * 'agetty' of https://github.com/jwilk-forks/util-linux: agetty: (man) fix typos commit 9fadd8eb313cae8829247de80efdd77c9e3a0af5 Merge: f791eea80 e9aa06bad Author: Karel Zak Date: Tue Mar 28 19:06:39 2023 +0200 Merge branch 'badfmt' of https://github.com/rpigott/util-linux * 'badfmt' of https://github.com/rpigott/util-linux: hexdump-parse: handle truncated format pattern commit f791eea8001ace9722d776a1e31c8056da03d664 Author: Enze Li Date: Mon Mar 27 16:25:20 2023 +0800 setarch: add loongarch support Signed-off-by: Enze Li sys-utils/setarch.c | 4 ++++ 1 file changed, 4 insertions(+) commit 8149f7b6bb8a3a7e9c5d2eef024942fbbb41fc31 Author: Karel Zak Date: Mon Mar 27 12:51:53 2023 +0200 libmount: (idmap) reuse tree FD, fix umount * reuse already open mount tree; the tree could be already open due to regular mount, bind or remount operation * umount (MNT_DETACH) old target if we created a clone (but the operation is not a bind) Adedreses: https://github.com/util-linux/util-linux/issues/2130 Signed-off-by: Karel Zak libmount/src/hook_idmap.c | 36 ++++++++++++++++++++----------- libmount/src/hook_mount.c | 55 +++++++++++++++++++++++++++++------------------ libmount/src/mountP.h | 3 +++ 3 files changed, 61 insertions(+), 33 deletions(-) commit add0a3e7e0be6b18f83dc500aa5225e807acdfba Author: Mario Blättermann Date: Sun Mar 26 17:49:07 2023 +0200 mount: (man) Add usual Asciidoctor markup sys-utils/mount.8.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 9154eac9c204e291e8d22b9d9f06ceb80d650f8d Author: Stephen Kitt Date: Sat Mar 25 09:30:22 2023 +0100 mount: relatime allows equality relatime also updates atime if the previous atime is equal to one or both of the ctime and mtime; a non-strict interpretation of "earlier than" allows this, but for clarity, this makes it explicit. Pointed out by "epiii2" and "ctrl-alt-delor" in https://unix.stackexchange.com/q/740862/86440. Signed-off-by: Stephen Kitt sys-utils/mount.8.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 73f0be401bb6a3905f0062265b63f69201b9386d Author: Jakub Wilk Date: Sat Mar 25 09:20:06 2023 +0100 agetty: (man) fix typos term-utils/agetty.8.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e9aa06bad334b3a90ebe883dfc19b1e165a7c6cf Author: Ronan Pigott Date: Thu Mar 23 15:18:00 2023 -0700 hexdump-parse: handle truncated format pattern If the fmt being parsed by block_size is exactly '%', *++fmt is the terminator and strchr will return a valid pointer to the terminator of spec rather than NULL, the while condition will pass and subsequent strchr will read past the end of fmt until a spec character is found again ASAN aborts with the following error on the first buffer overread: AddressSanitizer: heap-buffer-overflow on address 0x602000000212 at pc 0x55bf1c4b2d78 bp 0x7ffe33c8cff0 sp 0x7ffe33c8cfe0 READ of size 1 at 0x602000000212 thread T0 #0 0x55bf1c4b2d77 in block_size ../text-utils/hexdump-parse.c:207 #1 0x55bf1c4ad36f in main ../text-utils/hexdump.c:214 #2 0x7f15f063c78f (/usr/lib/libc.so.6+0x2378f) #3 0x7f15f063c849 in __libc_start_main (/usr/lib/libc.so.6+0x23849) #4 0x55bf1c4ac6c4 in _start (../build/hexdump+0x86c4) text-utils/hexdump-parse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit d155c11d2e5374623d16c6bae7198ec9b8f479bb Merge: a680f228b 648e2d6c8 Author: Karel Zak Date: Thu Mar 23 21:20:33 2023 +0100 Merge branch 'fixes' of https://github.com/brauner/util-linux * 'fixes' of https://github.com/brauner/util-linux: idmap: kill child when writing the idmap fails commit a680f228b193acd25cdcdfae7f8d68dbdabf7a1b Merge: c0d3e2589 d6301859a Author: Karel Zak Date: Thu Mar 23 21:19:11 2023 +0100 Merge branch 'xry111/lscpu-loongarch' of https://github.com/xry111/util-linux * 'xry111/lscpu-loongarch' of https://github.com/xry111/util-linux: lscpu: Add loongarch testcase lscpu: Add "ISA" field into lscpu_cputype and determine loongarch op-mode from its value lscpu: Parse loongarch specific lines commit c0d3e2589acaaba8eee61b7e69d153e53e2c2545 Merge: f8b6d9b8e e971b3b73 Author: Karel Zak Date: Thu Mar 23 21:14:59 2023 +0100 Merge branch 'lsfd/typo' of https://github.com/t-8ch/util-linux * 'lsfd/typo' of https://github.com/t-8ch/util-linux: lsfd: (man) fix typo commit f8b6d9b8e4409a7f732fd71a3571e2c6b84759aa Merge: 37d021978 e0a12a5fb Author: Karel Zak Date: Thu Mar 23 21:14:28 2023 +0100 Merge branch 'nasal_daemon_part1_fclose' of https://github.com/crrodriguez/util-linux * 'nasal_daemon_part1_fclose' of https://github.com/crrodriguez/util-linux: tests: fclose(stdin) UB commit 37d021978c56876b8538d5f63ccd8db17ccfe035 Author: Karel Zak Date: Thu Mar 23 20:59:46 2023 +0100 libmount: fix user/users for superuser Always use MS_SECURE and MS_OWNERSECURE to mount fstab entries where is specified "user" or "users", although the current user is root. This bug has never been released (v2.39-rc1 only). Signed-off-by: Karel Zak libmount/src/context_mount.c | 39 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 3 deletions(-) commit abf3f8a670fbf116c76a8bd92ffc0972fdb7ac63 Author: Karel Zak Date: Thu Mar 23 16:10:22 2023 +0100 mount: (man) add notes about remount behavior Signed-off-by: Karel Zak sys-utils/mount.8.adoc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit fee1ddebfc5b84d26add58eb00a304520207ed2e Author: Karel Zak Date: Thu Mar 23 15:25:00 2023 +0100 libmount: fix MS_REMOUNT emulation by mount_setattr() The classic mount(MS_REMOUNT) means that all unspecified MS_NOxxx flags are remove (except MS_NOATIME). We need to follow this semantic when emulate remount by mount_setattr(), because "mount -o remount /" is the way how (for example) systemd resets root filesystem to default (e.g. ro->rw, etc.) Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=2180593 Signed-off-by: Karel Zak libmount/src/hook_mount.c | 2 +- libmount/src/optlist.c | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) commit ed96995bd7c1433627d02dfd30a411e6a0e56d1f Author: Karel Zak Date: Thu Mar 23 14:22:37 2023 +0100 libmount: fix and cleanup relatime use * move atime logic to optlist * MOUNT_ATTR_RELATIME is zero, so we cannot use use "if (!attr)" to skip mount_setattr() Signed-off-by: Karel Zak libmount/src/hook_mount.c | 3 --- libmount/src/optlist.c | 53 ++++++++++++++++++++++++++++++++++------------- 2 files changed, 39 insertions(+), 17 deletions(-) commit 0749b36263434239766385af01fbceb13819a20f Author: Karel Zak Date: Thu Mar 23 12:37:18 2023 +0100 libmount: add missing MOUNT_ATTR_NODEV Signed-off-by: Karel Zak include/mount-api-utils.h | 4 ++++ libmount/src/optlist.c | 2 ++ 2 files changed, 6 insertions(+) commit 648e2d6c8d060195550101b3751277d9c4002749 Author: Christian Brauner Date: Thu Mar 23 11:09:28 2023 +0100 idmap: kill child when writing the idmap fails This fixes the second issues reported in [1] where calling mount -o 'X-mount.idmap=[...]' just hangs. Fixes: https://github.com/util-linux/util-linux/issues/2130 [1] Signed-off-by: Christian Brauner libmount/src/hook_idmap.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit e80f8e46127e45907db25b4ffd58c699fdf4c35f Author: Karel Zak Date: Wed Mar 22 18:02:31 2023 +0100 libmount: fix typo, improve debug Signed-off-by: Karel Zak libmount/src/hook_mount.c | 2 +- libmount/src/optlist.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) commit d6301859a8725f7c4979e69ba71bdc2bd51b203f Author: Xi Ruoyao Date: Wed Mar 22 21:16:30 2023 +0800 lscpu: Add loongarch testcase Signed-off-by: Xi Ruoyao .../lscpu/lscpu-loongarch-loongson_3a5000_hv | 37 +++++++++++++++++++++ .../dumps/loongarch-loongson_3a5000_hv.tar.gz | Bin 0 -> 7954 bytes 2 files changed, 37 insertions(+) commit eaee3132a07b4223718a6bc2b42f6517e75762ed Author: Xi Ruoyao Date: Wed Mar 22 20:57:34 2023 +0800 lscpu: Add "ISA" field into lscpu_cputype and determine loongarch op-mode from its value Signed-off-by: Xi Ruoyao sys-utils/lscpu-cputype.c | 14 +++++++++++++- sys-utils/lscpu.h | 2 ++ 2 files changed, 15 insertions(+), 1 deletion(-) commit 59370266151d2bcbe103fab053ad7db85cb02825 Author: Xi Ruoyao Date: Wed Mar 22 20:44:19 2023 +0800 lscpu: Parse loongarch specific lines /proc/cpuinfo on loongarch uses UPPERCASE letters in some field names. Add the patterns for them. "Address Sizes", "CPU Family", "CPU Revision" (aka "Model"), and "Model Name" are correctly outputed, but "CPU MHz" not (because we don't have a CPUFreq driver yet). Signed-off-by: Xi Ruoyao sys-utils/lscpu-cputype.c | 5 +++++ 1 file changed, 5 insertions(+) commit e971b3b730e1f37e4f8f6edf99a398bb0ae2bdfe Author: Thomas Weißschuh Date: Wed Mar 22 01:30:00 2023 +0000 lsfd: (man) fix typo Signed-off-by: Thomas Weißschuh misc-utils/lsfd.1.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e0a12a5fbe7c8bd161baa3e40ad377a226b01254 Author: Cristian Rodríguez Date: Tue Mar 21 19:55:15 2023 +0000 tests: fclose(stdin) UB The standard streams must not be closed unless it is the very last thing a program does before termination. A warning about this was added to POSIX.1-2008 and later standards. One must redirect stdin to /dev/null using freopen instead. tests/helpers/test_md5.c | 6 +++++- tests/helpers/test_sha1.c | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) commit bccae5d85831c4cfa6b5d147acec739bd3c148b9 Author: Karel Zak Date: Fri Mar 17 13:11:50 2023 +0100 build-sys: fix libblkid fuzz sample test if-endif All tests have to be covered by BUILD_LIBBLKID_TESTS otherwise proper CFLAGS ($blkid_tests_cflags) are undefined. Fixes: https://github.com/util-linux/util-linux/issues/2119 Signed-off-by: Karel Zak libblkid/src/Makemodule.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit c8fc8a59e13bbb2ec37956b491577a5ed46879bd Author: Karel Zak Date: Fri Mar 17 13:04:41 2023 +0100 build-sys: report fuzzing support status Signed-off-by: Karel Zak configure.ac | 1 + 1 file changed, 1 insertion(+) commit 9c9cc3f02d9f017d8072b8ead4e6183300f4fd03 Merge: abd05a411 df19f7c6c Author: Karel Zak Date: Fri Mar 17 12:26:55 2023 +0100 Merge branch 'patch-9' of https://github.com/mariobl/util-linux * 'patch-9' of https://github.com/mariobl/util-linux: Fix typo in lsfd.c commit abd05a411c57f9f986ec4a457ceee5ba7e5db29c Author: Karel Zak Date: Fri Mar 17 12:25:30 2023 +0100 lsfd; (man) add hint about default output Signed-off-by: Karel Zak misc-utils/lsfd.1.adoc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 46ead6f9409e7e4424a94c24a57f125fc58e049f Author: Karel Zak Date: Fri Mar 17 12:16:31 2023 +0100 lsblk: (man) add hint about --merge Signed-off-by: Karel Zak misc-utils/lsblk.8.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 0c605abb2aee8a64c34df8ecd633b6b02f04df22 Author: Karel Zak Date: Fri Mar 17 12:03:06 2023 +0100 findmnt: (man) add hint about the default output Signed-off-by: Karel Zak misc-utils/findmnt.8.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aa13246a1bf1be9e4f6eb331f4d4d2dbc875e22f Author: наб Date: Wed Mar 15 16:16:48 2023 +0100 wall: use fputs_careful() LINE_MAX only applies to teletypes in canonical mode: when stdin is a file, it could still very much tear; start off at 512 for the sprintf(), then use getline() like in write. The line wrapping has one suboptimal edge-case: $ wall < all Broadcast message from nabijaczleweli@tarta (pts/4) (Tue Mar 14 22:31:25 2023): ^N^O^P^Q^R^S^T^U^V^W^X^Y^Z^[^\^]^^^_ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJ KLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~^?\200\201\202\203\204\205\206 \207\210\211\212\213\214\215\216\217\220\221\222\223\224\225\226\227\230\231\232 \233\234\235\236\237\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256 \257\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277\300\301\302 \303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326 \327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352 \353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376 \377 but that's a pathological input, and the result is still infinitely better than it was before, so fixing that is more trouble than it's worth. Bug-Debian: https://bugs.debian.org/826596 include/carefulputc.h | 42 +++++++++++++++++++++++++++++++++--------- login-utils/last.c | 2 +- term-utils/wall.c | 38 ++++++-------------------------------- term-utils/write.c | 2 +- 4 files changed, 41 insertions(+), 43 deletions(-) commit 27ee6446503af7ec0c2647704ca47ac4de3852ef Author: наб Date: Wed Mar 15 16:16:43 2023 +0100 wall: convert homebrew buffering to open_memstream() The struct buffer system duplicates a plethora of standard I/O functions (including a fork of fputc_careful()) and adds a lot of complexity ‒ open_memstream() is standard, and fits perfectly into this niche term-utils/wall.c | 95 ++++++++++++------------------------------------------- 1 file changed, 20 insertions(+), 75 deletions(-) commit 8a7b8456d1dc0e7ca557d1ac31f638986704757f Author: наб Date: Wed Mar 15 16:16:31 2023 +0100 write: correctly handle wide characters Do this by replacing fputc_careful() (notice that the description said it's locale-aware ‒ it very much is /not/), with a fputs_careful() which does the same thing, but if it were to output a byte in the \123 format, first it checks whether this byte starts a valid multibyte character. If it does, and that character is printable, write it verbatim. This means that echo 'foo åäö ąęćźżń bar' | write nabijaczleweli pts/4 instead of foo \303\245\303\244\303\266 \304\205\304\231\304\207\305\272\305\274\305\204 bar yields foo åäö ąęćźżń bar or, more realistically, from a message I got earlier today, Filip powiedzia\305\202 \305\274e zap\305\202aci jutro becomes Filip powiedział że zapłaci jutro Invalid/non-printable sequences get processed as before. Line reading in write must become getline() to avoid dealing with partial characters: for example on input consisting solely of ąęćźżń, where every {1} is an instance, the output would be {42}ąęć\305\272żń{84}ąęćź\305\274ń{84}ąęćźż\305\204{39} with just fixed-512 fgets() Bug-Debian: https://bugs.debian.org/826596 include/carefulputc.h | 60 +++++++++++++++++++++++++++++++++++++-------------- login-utils/last.c | 4 +--- term-utils/write.c | 25 ++++++--------------- 3 files changed, 52 insertions(+), 37 deletions(-) commit 4a2d7c4725ad895fc1cd3f473e193352118fd4b0 Author: наб Date: Thu Mar 16 17:08:59 2023 +0100 lsfd: error if extraneous argument given The manual and help string both spec lsfd [options]; actually stick to that instead of ignoring subsequent arguments. This is particularly a weird thing to allow given that lsof path is legal and does something (either same as lsfd -Q "MAJ:MIN == \"$(stat -c %Hd:%Ld path)\"" if it's a mountpoint or lsfd -Q "NAME ~= '$path'" (sans the regex and escaping) otherwise). This mirrors ec96a89ed9551ffacfc58b3056c8070444e3a2f3 for largely the same reason. Signed-off-by: Karel Zak Tested-by: Masatake YAMATO misc-utils/lsfd.c | 2 ++ 1 file changed, 2 insertions(+) commit df19f7c6c463d9e628e63daf303a8c4dd54f72a8 Author: Mario Blättermann Date: Thu Mar 16 19:24:14 2023 +0100 Fix typo in lsfd.c misc-utils/lsfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 57746ff0eb4305761baa51bee945e496574559ca Author: Mario Blättermann Date: Thu Mar 16 13:35:37 2023 +0100 Fix markup in mkfs.cramfs.8.adoc (again) There was one more *roff markup left in this file. disk-utils/mkfs.cramfs.8.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dc983c2e4a63ff160abcdba4dda0433b40c70df8 Merge: d8416a9fd 5d061821a Author: Karel Zak Date: Thu Mar 16 12:33:31 2023 +0100 Merge branch 'patch-7' of https://github.com/mariobl/util-linux * 'patch-7' of https://github.com/mariobl/util-linux: Add fadvise.1.adoc to po4a.cfg commit d8416a9fd6c592e1f59184fc0ce3989e422d8475 Author: Mario Blättermann Date: Wed Mar 15 21:48:57 2023 +0100 mkfs.cramfs: (man) Fix markup in makefs.cramfs.8.adoc [kzak@redhat.com: - improve optional argument formatting] Signed-off-by: Karel Zak disk-utils/mkfs.cramfs.8.adoc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 5d061821ab96b7e1d0ea97e4a9afa3181865a6ca Author: Mario Blättermann Date: Wed Mar 15 21:57:28 2023 +0100 Add fadvise.1.adoc to po4a.cfg po-man/po4a.cfg | 1 + 1 file changed, 1 insertion(+) commit 9004e76b4ba716022a7c851ffa7fbd9e9e4bf073 Author: Ian Kent Date: Mon Mar 13 09:43:02 2023 +0800 mount: ignore autofs entries in mount listing Since we can't enable use of ignoring autofs mounts that have the "ignore" option present by default (systemd could get confused) it's necessary to enable it for individual applications. The mount utility is one applcation we need it for so enable it. Signed-off-by: Ian Kent Cc: John Westerdale Cc: Frank Hertz Cc: Frank Sorenson sys-utils/mount.c | 2 ++ 1 file changed, 2 insertions(+) commit 7d08453551ccc5477f76f3e986c8351e8c5ab599 Author: Ian Kent Date: Mon Mar 13 09:42:56 2023 +0800 libmount: dont ignore autofs mounts by default Making libmount ingore autofs mounts by default can be a problem for systemd, I remember now what the problem was. autofs multi-mounts can be nested (and often are, think of a tree of NFS exports) where there are autofs file system mounts within NFS mounts and together with autofs mount triggers. In this case systemd needs to see all the mounts at shutdown when it is umounting the tree of mounts. We don't want to have to rely on modifications having been made to systemd for this to work properly so we can't make this the default behaviour in libmount. Fixes: 22147e08c987 (libmount: use autofs mount hint to ignore autofs mount entries) Signed-off-by: Ian Kent Cc: John Westerdale Cc: Frank Hertz Cc: Frank Sorenson libmount/src/context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 53de7fe79761c0d5b7b59384120f7fd8a18163b5 Merge: 909afefcd 045cd329a Author: Karel Zak Date: Wed Mar 15 14:55:04 2023 +0100 Merge branch 'lsfd--fix-wrong-format-specifier' of https://github.com/masatake/util-linux * 'lsfd--fix-wrong-format-specifier' of https://github.com/masatake/util-linux: lsfd: fix wrong format specifiers in snptinrf() commit 045cd329a15e3843098a979dbd3c80bf8d79ca1a Author: Masatake YAMATO Date: Wed Mar 15 03:32:26 2023 +0900 lsfd: fix wrong format specifiers in snptinrf() Signed-off-by: Masatake YAMATO misc-utils/lsfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 909afefcd33a44cc968d75ebfe738179108c2deb Author: Jakub Wilk Date: Mon Mar 13 16:34:09 2023 +0100 unshare: (man) fix example formatting sys-utils/unshare.1.adoc | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit 50d216859f7ec6a5b200a8fb90c9a0870d12e018 Merge: 0116b114a 7cef4484e Author: Karel Zak Date: Mon Mar 13 13:00:04 2023 +0100 Merge branch 'lsfd-man-fix' of https://github.com/masatake/util-linux * 'lsfd-man-fix' of https://github.com/masatake/util-linux: lsfd.1.adoc: fix text formats commit 7cef4484e608ac5a76cde13e452a4f7ad6f3885e Author: Masatake YAMATO Date: Sat Mar 11 05:25:22 2023 +0900 lsfd.1.adoc: fix text formats misc-utils/lsfd.1.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)