Changes between v2.33 and v2.33.1 -------------------------------------------- commit 539fb3c722d2cc867fa547276d01e977b07a38fa Author: Karel Zak Date: Wed Jan 9 11:14:51 2019 +0100 build-sys: release++ (v2.33.1) Signed-off-by: Karel Zak NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 11ff51759d90f1a97a42582e6a3256b3e55978f5 Author: Karel Zak Date: Wed Jan 9 11:13:20 2019 +0100 docs: update v2.33.1-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.33.1-ReleaseNotes | 51 +++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) commit 66a7e6e28a120407e99fdf8c68d1c102419b57b1 Author: Karel Zak Date: Wed Jan 9 11:11:00 2019 +0100 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 7 +++++++ 1 file changed, 7 insertions(+) commit 47e2781d12799ad047282dbb0bde4e5e717927b2 Author: Karel Zak Date: Wed Jan 9 11:09:03 2019 +0100 po: merge changes Signed-off-by: Karel Zak po/ca.po | 317 +++++++++++++++++---------------- po/cs.po | 314 +++++++++++++++++---------------- po/da.po | 313 +++++++++++++++++---------------- po/de.po | 313 +++++++++++++++++---------------- po/es.po | 485 ++++++++++++++++++++++++++------------------------- po/et.po | 313 ++++++++++++++++----------------- po/eu.po | 317 +++++++++++++++++---------------- po/fi.po | 317 +++++++++++++++++---------------- po/fr.po | 312 +++++++++++++++++---------------- po/gl.po | 313 ++++++++++++++++----------------- po/hr.po | 313 ++++++++++++++++----------------- po/hu.po | 316 +++++++++++++++++---------------- po/id.po | 316 +++++++++++++++++---------------- po/it.po | 320 +++++++++++++++++----------------- po/ja.po | 313 +++++++++++++++++---------------- po/nl.po | 313 +++++++++++++++++---------------- po/pl.po | 312 +++++++++++++++++---------------- po/pt_BR.po | 312 +++++++++++++++++---------------- po/ru.po | 317 +++++++++++++++++---------------- po/sl.po | 317 +++++++++++++++++---------------- po/sv.po | 512 ++++++++++++++++++++++++++---------------------------- po/tr.po | 313 +++++++++++++++++---------------- po/uk.po | 312 +++++++++++++++++---------------- po/util-linux.pot | 307 ++++++++++++++++---------------- po/vi.po | 313 +++++++++++++++++---------------- po/zh_CN.po | 313 +++++++++++++++++---------------- po/zh_TW.po | 316 +++++++++++++++++---------------- 27 files changed, 4387 insertions(+), 4462 deletions(-) commit 1bee5b9570375012366599305acc1c5bb0543687 Author: Sebastian Rasmussen Date: Wed Jan 9 11:04:30 2019 +0100 po: update sv.po (from translationproject.org) po/sv.po | 586 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 283 insertions(+), 303 deletions(-) commit 1b250e57506c57223ca825620fb34e3c5de99645 Author: Antonio Ceballos Roa Date: Wed Jan 9 11:04:30 2019 +0100 po: update es.po (from translationproject.org) po/es.po | 331 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 158 insertions(+), 173 deletions(-) commit bb5575146aa2e1c0093ab84330c9512d68897743 Author: Karel Zak Date: Wed Jan 2 14:44:59 2019 +0100 libblkid: (ntfs) fix compiler warning [-Wpedantic] libblkid/src/superblocks/ntfs.c:80:2: warning: ISO C restricts enumerator values to range of 'int' (4294967295 is too large) [-Wpedantic] Addressed: https://github.com/karelzak/util-linux/pull/732 Signed-off-by: Karel Zak libblkid/src/superblocks/ntfs.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 1da3226ff111257ff9af4031081684be36c60fe7 Author: Sami Kerola Date: Thu Dec 13 22:12:26 2018 +0000 chmem: add initilizer [clang] warning: use of GNU empty initializer extension [-Wgnu-empty-initializer] Signed-off-by: Sami Kerola sys-utils/chmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit db1f09b0beb301f76c33534868773f9f949d14ef Author: John W Higgins Date: Mon Dec 17 17:11:44 2018 -0800 Remove duplicate entry for reset-env from usage I assume the second entry was not desired in the original commit. Line 153-154 would appear to be a duplicate sys-utils/setpriv.c | 1 - 1 file changed, 1 deletion(-) commit 8871b6bb4cba7624482f43ddf0bf0fda7a8800e0 Author: Jean-Philippe ROMAIN Date: Mon Dec 17 09:30:54 2018 +0100 dmesg: correct "-n, --console-level level" example in manual page When providing an abbreviation of the level name with the option "-n, --console-level level", it corresponds to the level (included) up to which messages are displayed on the console. If a level number is given, this level is excluded. So in the given example, "-n 1" is equivalent to "-n emerg". Signed-off-by: Jean-Philippe Romain sys-utils/dmesg.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2b86dfe07fe4fccdbce6535e557977831755e35e Author: Sami Kerola Date: Sat Dec 15 16:05:40 2018 +0000 docs: add link to mail list archive Signed-off-by: Sami Kerola README | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 7a5c64b5f4a132c488d97abaccc8c6a269ac1574 Author: Tony Asleson Date: Thu Dec 13 09:03:28 2018 -0600 libblkid: stratis: correct byte order Stratis superblock is little endian, ensure we retrieve the number of sectors and initialization time correctly. Signed-off-by: Tony Asleson libblkid/src/superblocks/stratis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 699b526c4738afed15995cb269ded76cbaca782b Author: Karel Zak Date: Wed Dec 12 12:14:39 2018 +0100 mkswap: use dd(1) in example rather than fallocate(1) The man page warns against fallocate on some filesystems and recommends dd(1) as the most portable solution. So, let's use dd(1) also in the example used in the same man page. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1203378 Signed-off-by: Karel Zak disk-utils/mkswap.8 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 3634c1e5ffb744c88366b8d159581e0242ae4ed8 Author: Karel Zak Date: Tue Dec 11 11:44:48 2018 +0100 tests: check for tar and {b,g}zip Signed-off-by: Karel Zak tests/ts/lscpu/lscpu | 2 ++ tests/ts/lsmem/lsmem | 2 ++ 2 files changed, 4 insertions(+) commit 713cada2db4c8a4f7086d624ec6bbdc01b844da9 Author: Karel Zak Date: Mon Dec 10 16:25:08 2018 +0100 libmount: (umount) make mnt_stat_mountpoin() usable for relative paths # mount -o loop devicefile /mnt/test # umount devicefile umount: devicefile: not mounted. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1653781 Signed-off-by: Karel Zak libmount/src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4a40afe2a619200d7252b85f7daf6d3a1765073a Author: Karel Zak Date: Mon Dec 10 14:34:12 2018 +0100 umount: fix --quiet Addresses: https://github.com/karelzak/util-linux/commit/d5fd9ac6b208c5acdb6c0023757a7e2827474482#commitcomment-31610748 Signed-off-by: Karel Zak sys-utils/umount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6848a8da205805a1d626e7e59aed26d831f26502 Author: Karel Zak Date: Mon Dec 10 14:26:04 2018 +0100 choom: fix negative adjust score usage It's really bad idea to use uint64_t (ul_path_write_u64(()) when write signed number. Addresses: https://github.com/karelzak/util-linux/issues/723 Signed-off-by: Karel Zak include/path.h | 1 + lib/path.c | 22 ++++++++++++++++++++++ sys-utils/choom.c | 2 +- 3 files changed, 24 insertions(+), 1 deletion(-) commit 063dcab1a1d07740a2eedf688e1bebb5fb64d5ef Author: Seth Girvan Date: Fri Dec 7 02:02:00 2018 -0800 libuuid: fix man page typos Signed-off-by: Seth Girvan libuuid/man/uuid.3 | 4 ++-- libuuid/man/uuid_generate.3 | 10 +++++----- libuuid/man/uuid_parse.3 | 4 ++-- libuuid/man/uuid_unparse.3 | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) commit ae5faf064464cc3e785d156b04d6062ec201dcf9 Author: Karel Zak Date: Mon Dec 10 12:03:18 2018 +0100 fstrim: fix usage() Signed-off-by: Karel Zak sys-utils/fstrim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2207808691278dca43008ae74307259e1ce3efc0 Author: Karel Zak Date: Thu Nov 22 12:53:00 2018 +0100 build-sys: do not require crypt() The function is necessary only for newgrp and sulogin. Addresses: https://github.com/karelzak/util-linux/issues/584 Signed-off-by: Karel Zak configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 94b9a12e47fe7aa5918f28c98bb5e810aeca92aa Author: Karel Zak Date: Wed Oct 24 14:32:29 2018 +0200 build-sys: do not require dirfd() The dirfd() is required on many places, but it should not be required for all utils by ./configure.ac. Signed-off-by: Karel Zak configure.ac | 10 ++++++---- lib/Makemodule.am | 8 ++++++-- 2 files changed, 12 insertions(+), 6 deletions(-) commit 65a8c8500c0f1d7fbc5a7f6fe55416083c10206a Author: Ruediger Meier Date: Sun Dec 2 19:23:45 2018 +0100 include/c: re-add type checking in container_of() This reverts parts of commit eb06d5d4, which seems to be based on Linux kernel commit c7acec71. Unlike the original kernel patch we did not add that even stronger type checking by using macro BUILD_BUG_ON_MSG. So basically we removed a useful warning when compiling such broken code: struct st { int a; char b; }; struct st t = { .a = 1, .b = 2 }; struct st *x = container_of(&t.a, struct st, b); printf("%p %p\n", (void *)&t, (void *)x); Moreover we also introduced a new compiler warning for intel/icc: "arithmetic on pointer to void or function type" Let's just revert the update of container_of() because adding a kernel-like BUILD_BUG_ON_MSG would be too much noise and also problematic (see kernel commit c03567a8). Also note that the original problem addressed by the kernel commit seems to be only reproducible with gcc 4.9, not with any later gcc nor clang,icc. Moreover, currently we have no such use-case in the UL sources anyways. Signed-off-by: Ruediger Meier include/c.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e390ed7eea21f33d63979a0ca4eac71e427066a8 Author: Karel Zak Date: Fri Nov 30 12:24:15 2018 +0100 tests: make lsns-netnsid portable It seems ip(8) link-show command does not provide link-netnsid in all cases (versions ?). Let's try to use "ip netns list-id" as fallback. This commit also add possibility to debug the script by $LOG variable. Signed-off-by: Karel Zak tests/ts/lsns/netnsid | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) commit 7e927e1dc6f0f6cc794ecf90e17a43a67c540fdd Author: Karel Zak Date: Fri Nov 30 12:22:48 2018 +0100 tests: enlarge backing file for fstab-btrfs It seems the new limit for Btrfs is 47MiB. Signed-off-by: Karel Zak tests/ts/mount/fstab-btrfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c5e3c14f643530e606bd610302f26df99954203d Author: Noel Cragg Date: Thu Nov 29 11:38:41 2018 +0100 mkswap: fix page size warning message Signed-off-by: Karel Zak disk-utils/mkswap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 243a49c3c5b1e25ef3f709309c9e6cdf9d47fd82 Author: Carlos Santos Date: Thu Nov 22 13:05:49 2018 -0200 build-sys: make fdisk, sfdisk, cfdisk optional (enabled by default) Useful for embedded systems, on which only few utilities are required. [kzak@redhat.com: - rename to --disable-fdisks - use $enable_{c,s,}fdisk in code] Signed-off-by: Carlos Santos Signed-off-by: Karel Zak configure.ac | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit f5610ee0adb04e86612bafb54576f1f4890446b1 Author: Karel Zak Date: Thu Nov 22 11:03:35 2018 +0100 setarch: fix obscure sparc32bash use-case Reported-by: Carlos Santos Signed-off-by: Karel Zak sys-utils/setarch.c | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) commit c6970557e8c3271d038aa38878de3bf66ffee36e Author: Stanislav Brabec Date: Tue Nov 20 00:38:14 2018 +0100 agetty: Return old behavior with empty logname c094fcd37 introduced a behavior change: When Return is entered with empty logname, nothing happens. As it confuses users, return back the old behavior: re-prompt. Signed-off-by: Stanislav Brabec term-utils/agetty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 767130178a806021e3c6cfa89c1d48f544bf5346 Author: Andreas Henriksson Date: Mon Nov 12 19:45:51 2018 +0100 fstrim: Add Documentation key to fstrim.service sys-utils/fstrim.service.in | 1 + 1 file changed, 1 insertion(+) commit 872103653500948334421069596173469dfd7e6d Author: Andreas Henriksson Date: Mon Nov 12 19:39:45 2018 +0100 uuidd: Add Documentation key to uuidd.service misc-utils/uuidd.service.in | 1 + 1 file changed, 1 insertion(+) commit 831fc7b7eef226b11c8b36bc8e3adba16b65e98f Author: Paul Asmuth Date: Fri Nov 9 17:02:11 2018 +0100 fix a bug where switch_root would erroneously try to parse initargs before this change, switch_root would try to parse all arguments, including 'initargs', using getopt, which would lead to an 'unrecognized option' error when trying to pass a flag to the init program sys-utils/switch_root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 96b5408fe05be9e67ea7ef624a498ba5d02af9f5 Author: Christian Hesse Date: Wed Nov 7 13:55:06 2018 +0100 agetty: fix output of escaped characters Signed-off-by: Christian Hesse term-utils/agetty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 559eee124c2907379ca96e678b2925ee64e0d1de Author: Milan Broz Date: Wed Nov 7 12:48:37 2018 +0100 libblkid: fix detection of dm-integrity superblock Some new features in Linux kernel 4.19 for dm-integrity use metadata format version 2, patch adds it to detection. Signed-off-by: Milan Broz libblkid/src/superblocks/lvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 36b6c7a06ed6f1ae632750cf69ef8b5698830378 Author: Samuel Thibault Date: Mon Nov 12 11:31:17 2018 +0100 agetty: fix portability issues Signed-off-by: Karel Zak term-utils/agetty.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit e51df650b69db13f2dca9b9dd0f68d4c05d53185 Author: Thomas Deutschmann Date: Sun Nov 11 02:17:55 2018 +0100 tests: run oids test only when uuidgen tool was built oids test did not check if uuidgen was available. oids test was also calling uuidgen from PATH which could result in wrong results if uuidgen from a previous util-linux installation was used. With this commit we will check if uuidgen was built and make sure that we only call the uuidgen binary we just built. If uuidgen is not available we will skip this test. tests/ts/uuid/oids | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)