Changes between v2.41-rc2 and v2.41 -------------------------------------------- commit caa26876bc75041833c9644491cc2670d623f750 Author: Karel Zak Date: Tue Mar 18 13:50:51 2025 +0100 build-sys: update release dates Signed-off-by: Karel Zak NEWS | 2 +- configure.ac | 2 +- meson.build | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 6defa275a855c71a6fd486334c5673f92494e104 Author: Karel Zak Date: Tue Mar 18 13:50:16 2025 +0100 docs: update v2.41-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.41-ReleaseNotes | 70 +++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) commit 67f169a71dbe9838ae2d9587450e35d1663323cd Author: Yuri Chornoivan Date: Tue Mar 18 13:44:59 2025 +0100 po: update uk.po (from translationproject.org) po/uk.po | 1257 +++++++++++++++++++++----------------------------------------- 1 file changed, 416 insertions(+), 841 deletions(-) commit 12269ee1b56cd8ce2387f8ba5954939533a6909b Author: Remus-Gabriel Chelu Date: Tue Mar 18 13:44:59 2025 +0100 po: update ro.po (from translationproject.org) po/ro.po | 1304 ++++++++++++++++++++++---------------------------------------- 1 file changed, 452 insertions(+), 852 deletions(-) commit 9e60c231020921fa0a20a04888eea077fdcaaa80 Author: Jakub Bogusz Date: Tue Mar 18 13:44:59 2025 +0100 po: update pl.po (from translationproject.org) po/pl.po | 1361 ++++++++++++++++++++------------------------------------------ 1 file changed, 425 insertions(+), 936 deletions(-) commit b3e39803428021794851d667c003f833bc6164bb Author: Benno Schulenberg Date: Tue Mar 18 13:44:59 2025 +0100 po: update nl.po (from translationproject.org) po/nl.po | 2320 ++++++++++++++++++++++---------------------------------------- 1 file changed, 812 insertions(+), 1508 deletions(-) commit 6e8a7252cdfa24748874191bae5b2d0d17782a7f Author: Seong-ho Cho Date: Tue Mar 18 13:44:59 2025 +0100 po: update ko.po (from translationproject.org) po/ko.po | 1274 +++++++++++++++++++++----------------------------------------- 1 file changed, 425 insertions(+), 849 deletions(-) commit 7f016a58906454d4189e46e93b307c3c70d02dab Author: Božidar Putanec Date: Tue Mar 18 13:44:59 2025 +0100 po: update hr.po (from translationproject.org) po/hr.po | 2181 ++++++++++++++------------------------------------------------ 1 file changed, 475 insertions(+), 1706 deletions(-) commit abd3496db6bc363a4fe6ee4aafe1ce7ed51d351a Author: Frédéric Marchal Date: Tue Mar 18 13:44:59 2025 +0100 po: update fr.po (from translationproject.org) po/fr.po | 1251 +++++++++++++++++++++----------------------------------------- 1 file changed, 411 insertions(+), 840 deletions(-) commit 97a9f4ab6891c3693c3b48f3e43bc3f88fa09a7c Author: Karel Zak Date: Tue Mar 18 13:44:57 2025 +0100 po-man: merge changes po-man/cs.po | 626 +- po-man/de.po | 629 +- po-man/es.po | 621 +- po-man/fr.po | 49013 ++++++++++++++++++++++++++++++++++++-------- po-man/ko.po | 623 +- po-man/pl.po | 24579 +++++++++++++++++----- po-man/pt_BR.po | 621 +- po-man/ro.po | 31262 ++++++++++++++++++++++------ po-man/sr.po | 629 +- po-man/uk.po | 26753 +++++++++++++++++++----- po-man/util-linux-man.pot | 622 +- 11 files changed, 108801 insertions(+), 27177 deletions(-) commit f8bca5b62dc1c6cb7e1028831b7eee295504fff6 Author: Michał Kułach Date: Tue Mar 18 13:44:49 2025 +0100 po-man: add pl.po (from translationproject.org) po-man/pl.po | 40189 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40189 insertions(+) commit 9c648a0a65375cdee581e49d9a79060f3c5c28b0 Author: Yuri Chornoivan Date: Tue Mar 18 13:44:49 2025 +0100 po-man: update uk.po (from translationproject.org) po-man/uk.po | 31487 +++++++++++---------------------------------------------- 1 file changed, 5974 insertions(+), 25513 deletions(-) commit 1412a9d6627216dbdce7b0b4af47e5c76bccfbab Author: Remus-Gabriel Chelu Date: Tue Mar 18 13:44:48 2025 +0100 po-man: update ro.po (from translationproject.org) po-man/ro.po | 32271 ++++++++++++--------------------------------------------- 1 file changed, 6343 insertions(+), 25928 deletions(-) commit f17da63f7d4cfb8fcaf1471627a3180b36d66dc5 Author: Frédéric Marchal Date: Tue Mar 18 13:44:48 2025 +0100 po-man: update fr.po (from translationproject.org) po-man/fr.po | 48477 +++++++++++---------------------------------------------- 1 file changed, 8765 insertions(+), 39712 deletions(-) commit 4512af0338600028a78b668478a70bdb0c8b0f9b Author: Karel Zak Date: Tue Mar 18 13:39:09 2025 +0100 po-man: fix typos in configuration Signed-off-by: Karel Zak (cherry picked from commit 126ef957f7c5d42a4ef51353d521eee6e22b8015) po-man/.gitignore | 2 +- po-man/po4a.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit d1540888f60bce16c702d6353dcb4b64b1881e37 Author: Karel Zak Date: Mon Mar 17 13:38:20 2025 +0100 terminal-colors.d: support NO_COLOR We already provide the ability to easily disable output colorization, but there is also the https://no-color.org initiative based on the NO_COLOR environment variable. Let's support this method to disable colors. Let's be friendly :-) Addresses: https://github.com/util-linux/util-linux/issues/3463 Signed-off-by: Karel Zak (cherry picked from commit 61bd162fa1246a1d296cf943d12f7c01c8053b10) lib/colors.c | 2 ++ lib/terminal-colors.d.5.adoc | 8 ++++++-- man-common/colors.adoc | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) commit ea3af85155971890657248d51c6079499ccf8315 Author: Gaël PORTAY Date: Tue Mar 18 09:58:32 2025 +0100 su: (man) fix duplicate asterisk Signed-off-by: Gaël PORTAY Signed-off-by: Karel Zak (cherry picked from commit 1b317ef942bf007d2c765a390d2087a79a6de766) login-utils/runuser.1.adoc | 2 +- login-utils/su.1.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 101bdcc7c3fc0bf5f5fcd282e766a9ee55f5a7b4 Author: Karel Zak Date: Mon Mar 17 14:35:10 2025 +0100 include: use public domain for colors.{c,h} and xalloc.h The LGPL makes it difficult to use the code in the old BSD tools we have in util-linux. After obtaining agreement from the major contributors to the files, we are changing it to "Public Domain". Signed-off-by: Karel Zak (cherry picked from commit 549a5178574364a2bd219ad1ed028f4f4ea71c3d) include/colors.h | 7 ++++--- include/xalloc.h | 10 ++++------ lib/colors.c | 7 ++++--- 3 files changed, 12 insertions(+), 12 deletions(-) commit e1e1f28146c4f1131a98baade2e92429bb7f8d36 Author: Karel Zak Date: Mon Mar 17 13:55:06 2025 +0100 unshare: fix typo in --map-groups=subids map name [coverity scan] Addresses: https://github.com/util-linux/util-linux/pull/3121 Signed-off-by: Karel Zak (cherry picked from commit 9dd140220c6d6c53383405191001c7372488d264) sys-utils/unshare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d32c037d546b0e94b6a337bf0c6b6cebe8eabd62 Author: Koutheir Attouchi Date: Thu Mar 13 14:45:01 2025 -0400 Use ipc_stat::cgid for the column COL_CGID. (cherry picked from commit c64c64b7683695828a6fef044c7193cfa0461be9) sys-utils/lsipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 22ff5ce1017292ddcb02e20568001d1affc771d9 Author: Masatake YAMATO Date: Sat Mar 15 06:54:02 2025 +0900 lsfd: (man) fix a typo (cherry picked from commit d6cdde2d6b9482c1cb790bd17c84fc31a2fad410) lsfd-cmd/lsfd.1.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 12dea167e352e7b32c8579f3253d5f3da38e1303 Author: Benno Schulenberg Date: Sun Mar 16 16:20:39 2025 +0100 various: (man) list --help and --version last among the options Almost all util-linux man pages mention -h/--help and -V/--version last in the list of options. Make the few deviant pages conform. Signed-off-by: Benno Schulenberg (cherry picked from commit 77b01d90dad212e57fa801e2eccda9724d102c0b) disk-utils/cfdisk.8.adoc | 4 ++-- disk-utils/fdisk.8.adoc | 5 +---- disk-utils/swaplabel.8.adoc | 4 ++-- misc-utils/hardlink.1.adoc | 3 +-- misc-utils/look.1.adoc | 2 ++ misc-utils/lsblk.8.adoc | 4 ++-- misc-utils/uuidgen.1.adoc | 4 ++-- sys-utils/eject.1.adoc | 4 ++-- sys-utils/lsmem.1.adoc | 4 ++-- text-utils/bits.1.adoc | 4 ++-- text-utils/rev.1.adoc | 4 ++-- 11 files changed, 20 insertions(+), 22 deletions(-) commit 1d42e68236d82c1ac2cd60dfbc9ab061d3bb7184 Author: Benno Schulenberg Date: Sun Mar 16 16:20:38 2025 +0100 more: remove a duplicate call of setlocale() Signed-off-by: Benno Schulenberg (cherry picked from commit 361718387dc19334d060b5f303cd9fe1c19af01e) text-utils/more.c | 1 - 1 file changed, 1 deletion(-) commit c1334887344a884220f3983fbafc6def78334b4c Author: Karel Zak Date: Mon Mar 17 10:32:08 2025 +0100 lslogins: fix typo Signed-off-by: Karel Zak (cherry picked from commit ede1561d2071e0da859cbdd36bee8cf07807caf4) login-utils/lslogins.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 59ebdd1d4ba3facb0968cce1bb1ac1bb5a15bfad Author: Karel Zak Date: Wed Mar 12 15:34:17 2025 +0100 hwclock: avoid dereferencing a pointer [coverity scan] Signed-off-by: Karel Zak (cherry picked from commit 16c1d8734847bdeac0e6650a7364e33fb881bfc6) sys-utils/hwclock-rtc.c | 3 +++ 1 file changed, 3 insertions(+) commit b00042008d5be154ab669af0804797c3819b86ab Author: Karel Zak Date: Wed Mar 12 15:16:18 2025 +0100 lsfd: initialize struct stat [coverity scan] It's probably unnecessary, but for a complicated function, it's probably better just to keep the static analyzer happy. Signed-off-by: Karel Zak (cherry picked from commit e05e2b4f89a00fadc1032ad7720fefdd99dca029) lsfd-cmd/lsfd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ae39afa104bdfb9d7cc8f6df5ff2310626e98d11 Author: Karel Zak Date: Wed Mar 12 15:05:47 2025 +0100 unshare: make strings more robust Signed-off-by: Karel Zak (cherry picked from commit ad591f1a8e5917cd41d91de18626494e072414f8) sys-utils/unshare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3cd7b92ce62c2b510563615d8ceebf04716e70ab Author: Karel Zak Date: Wed Mar 12 14:29:10 2025 +0100 liblastlog2: (test) fix memory leak in failed test [coverity scan] This is just a cosmetic change to satisfy the static analyzer. The free-before-exit is unnecessary, but in this case (library test), it's better. Signed-off-by: Karel Zak (cherry picked from commit 2e6cc76741a580b9338ab679cf96375eb1084e92) liblastlog2/src/tests/tst_write_read_user.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) commit d362642d1ff65fffc27bf6467616949ce3741918 Author: Karel Zak Date: Wed Mar 12 14:11:49 2025 +0100 libmount: remove possible leak in mnt_context_guess_srcpath_fstype() [coverity scan] Signed-off-by: Karel Zak (cherry picked from commit 6e2127384ba267119311437b233e413e16ef8721) libmount/src/context.c | 5 ++++- libmount/src/hook_loopdev.c | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) commit f8737a5f2211e5e9bbfff6c808cbffbaee6bfe7e Author: Karel Zak Date: Wed Mar 12 13:55:12 2025 +0100 test_sysinfo: remove memory lea [coverity scan] Signed-off-by: Karel Zak (cherry picked from commit 87c1ea68155b88ccdc07069c267a3121468d72c8) tests/helpers/test_sysinfo.c | 1 + 1 file changed, 1 insertion(+) commit 7f6fa5c9d28ae8a6b55f2586042361734b5477a8 Author: Karel Zak Date: Wed Mar 12 13:49:02 2025 +0100 lslogins: remove possible memory leaks [coverity scan] The column can be specified more than once. In this case, the code will gather the column data multiple times, resulting in a memory leak. Signed-off-by: Karel Zak (cherry picked from commit 52a6e45bfe5ddee1fed20f2f4f7542cac6bf13c9) login-utils/lslogins.c | 39 +++++++++++++++++++++++++-------------- 1 file changed, 25 insertions(+), 14 deletions(-) commit 87e5d6228425a3fef3de270acf485b550a9f42e0 Author: Karel Zak Date: Mon Mar 17 11:49:57 2025 +0100 more: fix repeat command The function more_key_command() may modify the current command setting. We need to remember the original unmodified version, as specified by the user, as the previous command; otherwise, the output will be affected by unexpected cmd.number settings. Simple reproducer: $ more -c /etc/passwd - Press to jump to the next line. - Press '.' to repeat the last command. Old version: - It clears the screen and prints only one line (like the "1 " command). Fixed version: - It jumps to the next line (like the "" command). Reported-by: Benno Schulenberg Signed-off-by: Karel Zak (cherry picked from commit 5be4bdf81a8e89b98b12db275deb6154f87feb4b) text-utils/more.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 3c4668aff41c6cddb4ad3ef318d9582c16068ee0 Author: Karel Zak Date: Mon Mar 17 10:54:55 2025 +0100 swapon: remove unnecessary variable usage Signed-off-by: Karel Zak (cherry picked from commit 7dd72369680323a1c01dd7226e1158741cc8d55d) sys-utils/swapon.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 31ee0ccf754656536222c413b090d10d389f29a2 Author: Benno Schulenberg Date: Sun Mar 16 16:20:37 2025 +0100 irqtop,lsirq: set up locale path, so messages get actually translated Signed-off-by: Benno Schulenberg (cherry picked from commit 7a912b98f99131049f91c1a3f53c4f51075ac348) sys-utils/irqtop.c | 3 +++ sys-utils/lsirq.c | 3 +++ 2 files changed, 6 insertions(+) commit c003ca78ca5d65922a6e2454ede5d2ea470e42d7 Author: Benno Schulenberg Date: Thu Mar 13 15:51:49 2025 +0100 swapon: make options --help and --version override --summary When -h or --help is among the given options, most utilities print a help text, ignoring all other options and arguments. Make `swapon --summary --help` conform to this general pattern. Signed-off-by: Benno Schulenberg (cherry picked from commit ad9b9058721a7322f702d5c9beea6e77cd923377) sys-utils/swapon.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 63b23d7f27f8daf0edac760cb319b6441b6c2195 Author: Masatake YAMATO Date: Wed Mar 12 00:19:45 2025 +0900 lsfd: (man) fix a typo Signed-off-by: Masatake YAMATO (cherry picked from commit beaa7dd93ed336c7e486f1200feeaaec50bb8e52) lsfd-cmd/lsfd.1.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fcde20efa7eb97e13e5acde4d29f0ba82ae6b520 Author: Karel Zak Date: Thu Mar 13 14:46:38 2025 +0100 tools/poman-translate: fix to work outside on source dir * Let's check only the adoc file name if defined in po4a.cfg, not the complete path. cd .. meson setup build-dir util-linux ninja -C build-dir * Exclude manpage-stub.adoc (it's just an example) Addresses: https://github.com/util-linux/util-linux/pull/3378 Signed-off-by: Karel Zak (cherry picked from commit 95833d8e5e32dea9781873cbbd4e8b01e02d8bad) tools/poman-translate.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 318cba1eda1b07f3857d046742471a217b74c13f Author: Christian Hesse Date: Wed Mar 12 14:06:14 2025 +0100 meson: bring hexdump in line with others Before it was different, and the executable was not installed. (cherry picked from commit ecd8d1e56ca5aeef0b47f3a2b855b83e121359b8) meson.build | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) commit 40b5e841126dee9bad336a2b91d3f3487df42afd Author: Karel Zak Date: Thu Mar 13 10:09:21 2025 +0100 autotools: add missing meson.build files Fixes: https://github.com/util-linux/util-linux/issues/3460 Signed-off-by: Karel Zak (cherry picked from commit b8d8e3c7a03e36e3e4ef1c31416f7ef1e36a3e58) Makefile.am | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) commit 975c2e00914fb18ad2db29f2e78724127b51fff5 Author: Karel Zak Date: Thu Mar 13 09:54:45 2025 +0100 tools: add SPDX-License-Identifier Add an SPDX label to the newly added scripts. Signed-off-by: Karel Zak (cherry picked from commit f4c71fbb24a0a47e1c9e9d834bc05f4c02bdc4c7) tools/git-grouped-log | 2 ++ tools/git-tp-sync | 9 +++------ tools/git-version-bump | 8 ++++++++ tools/git-version-gen | 3 +++ 4 files changed, 16 insertions(+), 6 deletions(-) commit 7972bf0187a9c68263b5f7dce1943cae5b00ee5b Author: WanBingjiang <614699596@qq.com> Date: Fri Mar 7 10:11:54 2025 +0800 sys-utils/chmem: fix typo. (cherry picked from commit 43d88060d368c17c7ca572f13ced42c255c540ab) sys-utils/chmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a1585dfc1cf3d0777bfda3c0046dd00981a6adb6 Author: Jeremy Linton Date: Thu Mar 6 12:17:30 2025 -0600 lscpu: New Arm part numbers Arm has announced the Cortex-A320 and published the TRM here: https://developer.arm.com/documentation/109551 The Cortex-A520AE with a TRM here: https://developer.arm.com/documentation/107726 The Cortex-A720AE with a TRM here: https://developer.arm.com/documentation/102828 The Neoverse-V3AE with a TRM here: https://developer.arm.com/documentation/101595 Signed-off-by: Jeremy Linton (cherry picked from commit be77fa82ad491f38537030c329c2a8e0612506a5) sys-utils/lscpu-arm.c | 4 ++++ 1 file changed, 4 insertions(+) commit ca30656e2f2ba127d8bdf7fba6412fd99e03edc5 Author: Karel Zak Date: Mon Mar 10 14:43:00 2025 +0100 exch: cosmetic code changes * Remove unnecessary dirfd (use AT_FDCWD directly) * Remove unnecessary 'rc' variable Signed-off-by: Karel Zak (cherry picked from commit 6bef160562189a72c6f5c779cb7e06e72a0fe6bc) misc-utils/exch.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) commit 8bbe13bf08de95101ff4fd16576db039e27a4123 Author: Thomas Devoogdt Date: Thu Mar 6 14:18:48 2025 +0100 exch: fix compile error if renameat2 is not present https://www.man7.org/linux/man-pages/man2/rename.2.html Available since Linux 3.15 or glibc 2.28, add a fallback for older systems. My initial implementation did the exchange using a swap file if both HAVE_RENAMEAT2 and SYS_renameat2 were absent. But that is not really what is desired since exch is supposed to be atomic. So simply return -1 renameat2 is available. Signed-off-by: Thomas Devoogdt (cherry picked from commit 72a99516f7bdf72411501d0a04cc8f8a7e562d10) misc-utils/exch.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) commit c19f6dc3cc121ef707b5128615b89bb3c64ca432 Author: Thomas Devoogdt Date: Thu Mar 6 11:49:12 2025 +0100 {configure.ac,meson.build}: conditionally build {enosys,setpriv} if seccomp is present #3280 misc-utils/enosys.c:25:27: fatal error: linux/seccomp.h: No such file or directory #include Signed-off-by: Thomas Devoogdt (cherry picked from commit 8de1ec203b0fbf86ae67b1ac18ba094d36b6a34a) configure.ac | 4 ++++ meson.build | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-)