Changes between v2.35-rc1 and v2.35-rc2 -------------------------------------------- commit b6c1eccc430019b53617d6273ed5c0dc2368cf6f Author: Karel Zak Date: Wed Jan 8 10:28:29 2020 +0100 build-sys: release++ (v2.35-rc2) Signed-off-by: Karel Zak NEWS | 6 +++++- configure.ac | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) commit 3ebb5d4b459938d41e47c3bfe59718a24c8d2ea6 Author: Karel Zak Date: Wed Jan 8 10:26:12 2020 +0100 docs: update v2.35-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.35-ReleaseNotes | 44 ++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) commit 11bde9881c0713dc14287d2a81f392ef8c29e009 Author: Karel Zak Date: Wed Jan 8 10:22:55 2020 +0100 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 2 ++ 1 file changed, 2 insertions(+) commit 5110732a7aeb9e0edc6119e1bd3a02d5e892c7ee Author: Karel Zak Date: Wed Jan 8 10:16:57 2020 +0100 po: merge changes Signed-off-by: Karel Zak po/ca.po | 30 +++++++++++++++--------------- po/cs.po | 30 +++++++++++++++--------------- po/da.po | 30 +++++++++++++++--------------- po/de.po | 30 +++++++++++++++--------------- po/es.po | 30 +++++++++++++++--------------- po/et.po | 30 +++++++++++++++--------------- po/eu.po | 30 +++++++++++++++--------------- po/fi.po | 30 +++++++++++++++--------------- po/fr.po | 30 +++++++++++++++--------------- po/gl.po | 30 +++++++++++++++--------------- po/hr.po | 30 +++++++++++++++--------------- po/hu.po | 30 +++++++++++++++--------------- po/id.po | 30 +++++++++++++++--------------- po/it.po | 30 +++++++++++++++--------------- po/ja.po | 30 +++++++++++++++--------------- po/nl.po | 30 +++++++++++++++--------------- po/pl.po | 30 +++++++++++++++--------------- po/pt.po | 30 +++++++++++++++--------------- po/pt_BR.po | 30 +++++++++++++++--------------- po/ru.po | 30 +++++++++++++++--------------- po/sl.po | 30 +++++++++++++++--------------- po/sv.po | 30 +++++++++++++++--------------- po/tr.po | 30 +++++++++++++++--------------- po/uk.po | 30 +++++++++++++++--------------- po/util-linux.pot | 32 ++++++++++++++++---------------- po/vi.po | 30 +++++++++++++++--------------- po/zh_CN.po | 30 +++++++++++++++--------------- po/zh_TW.po | 30 +++++++++++++++--------------- 28 files changed, 421 insertions(+), 421 deletions(-) commit 9650cebc7de6330ca4a76ead31066c63d1c6211a Merge: e72eea70c d756af7d6 Author: Karel Zak Date: Wed Jan 8 09:53:32 2020 +0100 Merge branch 'fix-xfs-external-log' of https://github.com/mfoliveira/util-linux commit e72eea70c452cf1b820aae4b942e82ab5e0e7326 Author: Karel Zak Date: Wed Jan 8 09:23:04 2020 +0100 libblkid: check status for the current CDROM slot It's probably more safer. Reported-by: Michal Suchánek Signed-off-by: Karel Zak libblkid/src/probe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d756af7d640c51ce8d1414607bd3f17eeecf2424 Author: Mauricio Faria de Oliveira Date: Tue Jan 7 18:53:51 2020 -0300 libblkid: (xfs) external log: check for regular xfs on more sectors The xfs external log probe only checks for regular xfs on sector zero, but then checks for valid log record headers on all first 512 sectors. This can incorrectly detect an xfs external log if a regular xfs (i.e. with internal log) is shifted by up to 512 sectors; it may happen with bcache and LVM1 for example, as the regular xfs is found later in disk. This results in ambivalent filesystem detection, thus no UUID for udev. Fix this problem by checking for regular xfs on all sectors considered by the xfs external log probe. Test-case with bcache: --- $ IMG=bcache-backing-device.img $ dd if=/dev/zero of=$IMG bs=1G count=0 seek=1 $ DEV=$(sudo losetup --find --show $IMG) $ sudo make-bcache -B $DEV $ sudo mkfs.xfs -d agsize=16m -l agnum=0 -f /dev/bcache0 $ sudo LD_LIBRARY_PATH=./.libs ./wipefs /dev/bcache0 DEVICE OFFSET TYPE UUID LABEL bcache0 0x0 xfs 9f6dfa9d-4488-46f7-906b-dcfc96027cfe $ echo 1 | sudo tee /sys/block/bcache0/bcache/stop $ sudo hexdump -C $DEV | grep -m2 -e XFSB -e 'fe ed ba be' 00002000 58 46 53 42 00 00 10 00 00 00 00 00 00 03 f0 00 |XFSB............| 00007000 fe ed ba be 00 00 00 01 00 00 00 02 00 00 00 14 |................| Without patch: $ sudo LD_LIBRARY_PATH=./.libs ./wipefs $DEV DEVICE OFFSET TYPE UUID LABEL loop0 0x1018 bcache 23da3ba9-2467-453d-b020-06f02c947190 loop0 0x7000 xfs_external_log With patch: $ sudo LD_LIBRARY_PATH=./.libs ./wipefs $DEV DEVICE OFFSET TYPE UUID LABEL loop0 0x1018 bcache 23da3ba9-2467-453d-b020-06f02c947190 Test-case with LVM1: --- $ IMG=lvm-backing-device.img $ dd if=/dev/zero of=$IMG bs=1G count=0 seek=1 $ DEV=$(sudo losetup --find --show $IMG) $ sudo lvm pvcreate -M1 $DEV $ sudo lvm vgcreate -M1 lvm-vg-test $DEV $ sudo lvm lvcreate lvm-vg-test --name lvm-lv-test --extents 100%VG $ sudo mkfs.xfs -d agsize=16m -l agnum=0 -f /dev/mapper/lvm--vg--test-lvm--lv--test $ sudo LD_LIBRARY_PATH=./.libs ./wipefs /dev/mapper/lvm--vg--test-lvm--lv--test DEVICE OFFSET TYPE UUID LABEL lvm--vg--test-lvm--lv--test 0x0 xfs 451ba725-8394-4ebe-9b49-fc5f4a99667f $ sudo lvchange -an lvm-vg-test $ sudo hexdump -C $DEV | grep -m2 -e XFSB -e 'fe ed ba be' 00020000 58 46 53 42 00 00 10 00 00 00 00 00 00 03 f0 00 |XFSB............| 00025000 fe ed ba be 00 00 00 01 00 00 00 02 00 00 00 14 |................| Without patch: $ sudo LD_LIBRARY_PATH=./.libs ./wipefs $DEV DEVICE OFFSET TYPE UUID LABEL loop0 0x0 LVM1_member agUhNT-9f42-Z30B-Z4Ew-skWd-3h3a-tWMY0A loop0 0x25000 xfs_external_log With patch: $ sudo LD_LIBRARY_PATH=./.libs ./wipefs $DEV DEVICE OFFSET TYPE UUID LABEL loop0 0x0 LVM1_member agUhNT-9f42-Z30B-Z4Ew-skWd-3h3a-tWMY0A Signed-off-by: Mauricio Faria de Oliveira libblkid/src/superblocks/xfs.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit dc30fd4383e57a0440cdb0e16ba5c4336a43b290 Author: Karel Zak Date: Tue Jan 7 16:48:34 2020 +0100 libblkid: check for medium on CDMROMs probing The commit 39f5af25982d8b0244000e92a9d0e0e6557d0e17 introduces O_NONBLOCK to avoid the tray close on open(). The side effect is that open() is successful when there is no medium. This is usually no problem for standard tools because the next read() will fail. Unfortunately, libblkid ignores I/O errors for (and only for) CDROMs to support some crazy hybrid data+audio disks. The final result is many I/O errors in system log when O_NONBLOCK is enabled. This patch add CDROM_DRIVE_STATUS to stop probing when there is no disk or when the tray is open. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1787973 Signed-off-by: Karel Zak libblkid/src/probe.c | 8 ++++++++ misc-utils/blkid.c | 6 +++++- 2 files changed, 13 insertions(+), 1 deletion(-) commit 4ae96cf77b36660255d5870a4209480bbec47902 Author: Karel Zak Date: Tue Jan 7 11:40:17 2020 +0100 tests: mark mdadm tests as TS_KNOWN_FAIL It seems recent changes in mdadm make things a little bit unstable for some users. Let's mark the tests temporary as TS_KNOWN_FAIL until we get more information. Addresses: https://github.com/karelzak/util-linux/issues/906 Signed-off-by: Karel Zak tests/ts/blkid/md-raid0-whole | 2 ++ tests/ts/blkid/md-raid1-part | 2 ++ tests/ts/blkid/md-raid1-whole | 2 ++ tests/ts/fdisk/align-512-4K-md | 2 ++ 4 files changed, 8 insertions(+) commit d7197d19e18a286869045f6e1e887784ea61921e Author: Karel Zak Date: Mon Jan 6 14:21:12 2020 +0100 po: merge changes Signed-off-by: Karel Zak po/ca.po | 345 +++++++++++++++++++++++++++--------------------------- po/cs.po | 341 +++++++++++++++++++++++++++-------------------------- po/da.po | 341 +++++++++++++++++++++++++++-------------------------- po/de.po | 341 +++++++++++++++++++++++++++-------------------------- po/es.po | 341 +++++++++++++++++++++++++++-------------------------- po/et.po | 345 +++++++++++++++++++++++++++--------------------------- po/eu.po | 345 +++++++++++++++++++++++++++--------------------------- po/fi.po | 345 +++++++++++++++++++++++++++--------------------------- po/fr.po | 341 +++++++++++++++++++++++++++-------------------------- po/gl.po | 343 +++++++++++++++++++++++++++-------------------------- po/hr.po | 341 +++++++++++++++++++++++++++-------------------------- po/hu.po | 345 +++++++++++++++++++++++++++--------------------------- po/id.po | 345 +++++++++++++++++++++++++++--------------------------- po/it.po | 345 +++++++++++++++++++++++++++--------------------------- po/ja.po | 341 +++++++++++++++++++++++++++-------------------------- po/nl.po | 341 +++++++++++++++++++++++++++-------------------------- po/pl.po | 341 +++++++++++++++++++++++++++-------------------------- po/pt.po | 341 +++++++++++++++++++++++++++-------------------------- po/pt_BR.po | 341 +++++++++++++++++++++++++++-------------------------- po/ru.po | 343 +++++++++++++++++++++++++++-------------------------- po/sl.po | 345 +++++++++++++++++++++++++++--------------------------- po/sv.po | 341 +++++++++++++++++++++++++++-------------------------- po/tr.po | 341 +++++++++++++++++++++++++++-------------------------- po/uk.po | 341 +++++++++++++++++++++++++++-------------------------- po/util-linux.pot | 340 ++++++++++++++++++++++++++--------------------------- po/vi.po | 343 +++++++++++++++++++++++++++-------------------------- po/zh_CN.po | 341 +++++++++++++++++++++++++++-------------------------- po/zh_TW.po | 345 +++++++++++++++++++++++++++--------------------------- 28 files changed, 4779 insertions(+), 4810 deletions(-) commit 24cee7157ab2c3a8c1203b42e8b59937b54ea0c3 Author: Karel Zak Date: Mon Jan 6 12:59:45 2020 +0100 docs: update year in libs docs Signed-off-by: Karel Zak libblkid/docs/libblkid-docs.xml | 2 +- libfdisk/docs/libfdisk-docs.xml | 2 +- libmount/docs/libmount-docs.xml | 2 +- libsmartcols/docs/libsmartcols-docs.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 261cf856277f5e7e4815c211fe48b97746d5d3a3 Author: Karel Zak Date: Fri Jan 3 12:04:00 2020 +0100 cal: (man) make -w, -m and --iso relation more obvious Reported-by: Leah Neukirchen Signed-off-by: Karel Zak misc-utils/cal.1 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit d511011c228f337524f192c030f29b37824054e5 Author: Karel Zak Date: Fri Jan 3 11:12:19 2020 +0100 docs: add irqtop to TODO Signed-off-by: Karel Zak Documentation/TODO | 6 ++++++ 1 file changed, 6 insertions(+) commit 6b0094d0c12736ed6970cb2c5a6e3f14774a5f4d Author: Karel Zak Date: Fri Jan 3 10:48:09 2020 +0100 libmount: improve X-mount.mkdir for non-root users Since v2.35 mount(8) drops suid on -EPERM and repeat necessary actions before mount(2) syscall. This patch also improves this behavior for X-mount.mkdir too. mount(8): * return -EPERM on sanitize_paths() rather than call err() * call suid_drop() on failed sanitize_paths() * update man page libmount: * mnt_context_prepare_target() refactoring * return -EPERM when in restricted mode for X-mount.mkdir Fixed version: /home/kzak/mnt-foo sr.net.home:/home/kzak fuse.sshfs noauto,X-mount.mkdir $ mount /home/kzak/mnt-foo kzak@sr.net.home's password: $ /home/projects/util-linux/util-linux  findmnt /home/kzak/mnt-foo TARGET SOURCE FSTYPE OPTIONS /home/kzak/mnt-foo sr.net.home:/home/kzak fuse.sshfs rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 Addresses: https://github.com/systemd/systemd/issues/14418 Signed-off-by: Karel Zak libmount/src/context.c | 37 +++++++++++++++++-------------------- libmount/src/context_mount.c | 4 ++-- sys-utils/mount.8 | 5 +++-- sys-utils/mount.c | 13 +++++++------ 4 files changed, 29 insertions(+), 30 deletions(-) commit d0c430068206e1215222792e3aa10689f8c632a6 Author: Karel Zak Date: Thu Jan 2 15:16:54 2020 +0100 libfdisk: (MBR) use 0xEA partition type by BootLoaderSpecification Let's use 0xEA for "Linux extended boot" rather than for "Rufus alignment". References: https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/ Signed-off-by: Karel Zak include/pt-gpt-partnames.h | 3 ++- include/pt-mbr-partnames.h | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) commit dac28f83e87beb3aa3adb0d078ef9cf7c413821f Author: Karel Zak Date: Thu Jan 2 14:48:23 2020 +0100 docs: add non-signalfd PTY request to TODO Signed-off-by: Karel Zak Documentation/TODO | 4 ++++ 1 file changed, 4 insertions(+) commit 64d06881ca39203c1cb4cc818431faf98055487b Merge: a00516ade 033e47350 Author: Karel Zak Date: Thu Jan 2 14:16:04 2020 +0100 Merge branch 'fix-map-current-user-shortopt' of https://github.com/mat8913/util-linux * 'fix-map-current-user-shortopt' of https://github.com/mat8913/util-linux: unshare: fix --map-current-user short option (-c) commit a00516ade958607cc5a93f74341b51ff2212b74c Author: Karel Zak Date: Thu Jan 2 12:53:01 2020 +0100 docs: add bjd-pfq to AUTHORS (rev.c co-author) Addresses: https://github.com/karelzak/util-linux/issues/803 Signed-off-by: Karel Zak AUTHORS | 1 + 1 file changed, 1 insertion(+) commit 033e473508896f3264de153e5a6b7158668f3dd9 Author: Matthew Harm Bekkema Date: Thu Jan 2 00:15:11 2020 +1100 unshare: fix --map-current-user short option (-c) 'c' was missing from the optstring, causing the error: $ unshare --user -c unshare: invalid option -- 'c' Try 'unshare --help' for more information. Fixes: 4175f29e62 ("unshare: add --map-current-user option") Signed-off-by: Matthew Harm Bekkema sys-utils/unshare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9418ba6d05feed6061f5343741b1bc56e7bde663 Author: Karel Zak Date: Fri Dec 20 15:05:33 2019 +0100 agetty: keep freed issue file pointer zeroized References: https://bugzilla.redhat.com/show_bug.cgi?id=1784536 Signed-off-by: Karel Zak term-utils/agetty.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit 63f8c66af8a88e3e3771736fd92d7ee21795293e Merge: 653d1c811 fc84bc0a4 Author: Karel Zak Date: Fri Dec 20 12:55:49 2019 +0100 Merge branch 'master' of https://github.com/dsd/util-linux * 'master' of https://github.com/dsd/util-linux: libblkid: improve identification of ISO9660 partition isosize: move ISO size functions into a shared header commit 653d1c811062c550f43dba2edf20b92a359b8d13 Author: Karel Zak Date: Tue Dec 17 18:10:31 2019 +0100 tests: (fdisk) make sure we use the same sizes for MD devices It seems on some kernels MD can return error if the devices in RAID have different size # mdadm -q --create /dev/md8 --chunk=64 --level=0 --raid-devices=2 /dev/sda1 /dev/sda2 mdadm: RUN_ARRAY failed: Unknown error 524 # dmesg ... [ 1485.148435] md/raid0:md8: cannot assemble multi-zone RAID0 with default_layout setting [ 1485.152306] md/raid0: please set raid.default_layout to 1 or 2 [ 1485.154050] md: pers->run() failed ... [ 1485.154104] md: md8 stopped. Signed-off-by: Karel Zak tests/expected/fdisk/align-512-4K-md | 12 ++++++------ tests/ts/fdisk/align-512-4K-md | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) commit 5202d809b60aca3abf1573fd4d77c07f01c2f3ef Merge: 37f26093c 92fc937ba Author: Karel Zak Date: Tue Dec 17 12:34:18 2019 +0100 Merge branch 'master' of https://github.com/pali/util-linux * 'master' of https://github.com/pali/util-linux: libblkid: udf: Fix reporting UDF 2.60 revision for Mac OS X disks commit 37f26093c985a95d5bda9842b1a4fb2f415bb1c3 Author: Bjarni Ingi Gislason Date: Mon Dec 16 22:20:32 2019 +0000 doc: howto-man-page.txt: Use font macros instead of font escapes Use font macros instead of font escapes (\f[BIPR]). The escape '\c' ("connect to next input text") is used to join the output of two macros without a space character. This is similar to the '\' escape at the end of a line. Font escapes make the text more difficult to read. ### Changes based on: Use a macro to change to the italic font, instead of \fI [1], if possible. The macros have the italic corrections, but "\c" removes the "\/" part. Or add the italic corrections. [1] man-pages(7) [Debian package "manpages"] ### Change a HYPHEN-MINUS (code 0x55, 2D) to a minus (\-), if in front of a 1) name for an option 2) negative number to be printed. ### Wrong distance between sentences or protect the indicator. a) Separate the sentences and subordinate clauses; each begins on a new line. See man-pages(7) [package "manpages"] and "info groff". Or b) Adjust space between sentences (two spaces), c) or protect the indicator by adding "\&" after it. The "indicator" is an "end-of-sentence character" (.!?). The amount of space between sentences in the output can then be controlled with the ".ss" request. Signed-off-by: Bjarni Ingi Gislason Documentation/howto-man-page.txt | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) commit 1c4c60242749b30e44cee26973b068699e5e1eea Author: Bjarni Ingi Gislason Date: Mon Dec 16 00:51:57 2019 +0000 man pages: Change a HYPHEN-MINUS (-) to a minus (\-) for options and numbers Change a HYPHEN-MINUS (code 0x55, 2D) to a minus (\-), if in front of 1) a name of an option 2) a negative number to be printed. See man-pages(7) [Debian package "manpages"]. The output from "nroff" is unchanged. Signed-off-by: Bjarni Ingi Gislason disk-utils/fdisk.8 | 16 ++++++++-------- disk-utils/sfdisk.8 | 26 +++++++++++++------------- login-utils/nologin.8 | 2 +- login-utils/runuser.1 | 4 ++-- login-utils/utmpdump.1 | 2 +- misc-utils/blkid.8 | 22 +++++++++++----------- misc-utils/hardlink.1 | 4 ++-- misc-utils/kill.1 | 12 ++++++------ misc-utils/look.1 | 4 ++-- misc-utils/lsblk.8 | 12 ++++++------ misc-utils/lslocks.8 | 8 ++++---- misc-utils/rename.1 | 2 +- misc-utils/uuidd.8.in | 8 ++++---- misc-utils/whereis.1 | 4 ++-- misc-utils/wipefs.8 | 10 +++++----- schedutils/chrt.1 | 14 +++++++------- schedutils/ionice.1 | 6 +++--- sys-utils/chmem.8 | 16 ++++++++-------- sys-utils/flock.1 | 14 +++++++------- sys-utils/fstab.5 | 2 +- sys-utils/fstrim.8 | 6 +++--- sys-utils/ipcrm.1 | 2 +- sys-utils/ldattach.8 | 2 +- sys-utils/losetup.8 | 18 +++++++++--------- sys-utils/lscpu.1 | 16 ++++++++-------- sys-utils/mount.8 | 24 ++++++++++++------------ sys-utils/pivot_root.8 | 4 ++-- sys-utils/prlimit.1 | 10 +++++----- sys-utils/readprofile.8 | 10 +++++----- sys-utils/renice.1 | 2 +- sys-utils/setarch.8 | 10 +++++----- sys-utils/setpriv.1 | 4 ++-- sys-utils/swapon.8 | 4 ++-- sys-utils/tunelp.8 | 2 +- sys-utils/umount.8 | 4 ++-- sys-utils/unshare.1 | 36 ++++++++++++++++++------------------ term-utils/script.1 | 4 ++-- text-utils/column.1 | 18 +++++++++--------- text-utils/more.1 | 2 +- 39 files changed, 183 insertions(+), 183 deletions(-) commit eb024893802345b6fcc05e38f07ac8b0e9e6eeec Author: Bjarni Ingi Gislason Date: Sat Dec 14 22:42:47 2019 +0000 man pages: Add a comma after "e.g." and "i.e." Add a comma (,) after "e.g." and "i.e.", or use English words (man-pages(7) [package "manpages"]). Abbreviation points should be protected (usually with the non-printing, zero width character '\&') from being interpreted as an end of sentence, if they are not, and that independent of their current place on the line. This is important when typing, as one does not usually know in advance when the editor jumps to a new line. Signed-off-by: Bjarni Ingi Gislason disk-utils/cfdisk.8 | 2 +- disk-utils/fdisk.8 | 6 +++--- disk-utils/fsck.8 | 6 +++--- disk-utils/mkfs.8 | 2 +- disk-utils/sfdisk.8 | 16 ++++++++-------- lib/terminal-colors.d.5 | 2 +- libblkid/libblkid.3 | 2 +- login-utils/chfn.1 | 2 +- login-utils/login.1 | 6 +++--- login-utils/lslogins.1 | 4 ++-- login-utils/runuser.1 | 8 ++++---- login-utils/su.1 | 10 +++++----- misc-utils/blkid.8 | 10 +++++----- misc-utils/cal.1 | 8 ++++---- misc-utils/findmnt.8 | 4 ++-- misc-utils/hardlink.1 | 2 +- misc-utils/logger.1 | 2 +- misc-utils/look.1 | 4 ++-- misc-utils/lsblk.8 | 4 ++-- misc-utils/lslocks.8 | 2 +- misc-utils/wipefs.8 | 4 ++-- sys-utils/chmem.8 | 2 +- sys-utils/dmesg.1 | 6 +++--- sys-utils/eject.1 | 8 ++++---- sys-utils/lscpu.1 | 2 +- sys-utils/lsmem.1 | 4 ++-- sys-utils/lsns.8 | 2 +- sys-utils/mount.8 | 10 +++++----- sys-utils/nsenter.1 | 2 +- sys-utils/rtcwake.8.in | 2 +- sys-utils/swapon.8 | 2 +- sys-utils/umount.8 | 4 ++-- sys-utils/unshare.1 | 2 +- term-utils/script.1 | 2 +- term-utils/scriptreplay.1 | 2 +- text-utils/hexdump.1 | 4 ++-- 36 files changed, 80 insertions(+), 80 deletions(-) commit 2fb684f004b13794f2880cddf60dfacf6c6b5262 Author: Bjarni Ingi Gislason Date: Sat Dec 14 00:14:40 2019 +0000 man pages: Fix misuse of two-fonts macros Two-fonts macros are made for two or more arguments. Remove space at end of lines in the files "term-utils/{script.1, scriptlive.1, scriptreplay.1}". Put "\-\-summary" to the correct indent in the file "term-utils/script.1" Signed-off-by: Bjarni Ingi Gislason disk-utils/sfdisk.8 | 2 +- login-utils/lslogins.1 | 4 ++-- login-utils/su.1 | 4 ++-- sys-utils/adjtime_config.5 | 2 +- sys-utils/setpriv.1 | 2 +- sys-utils/unshare.1 | 2 +- term-utils/script.1 | 6 +++--- term-utils/scriptlive.1 | 8 ++++---- term-utils/scriptreplay.1 | 6 +++--- 9 files changed, 18 insertions(+), 18 deletions(-) commit 47da68f1c94a8912d224254ec689fbd1f004b73d Author: Bjarni Ingi Gislason Date: Sat Dec 14 00:12:30 2019 +0000 man pages: Make the number of .RS/.RE equal Add or remove one of the pairs .RS/.RE to make their number equal. The output from "nroff" and "groff" is unchanged. Signed-off-by: Bjarni Ingi Gislason sys-utils/mount.8 | 1 - text-utils/hexdump.1 | 1 + text-utils/more.1 | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) commit b2ef43864f24b1a9c0c67fe2a7177a5110da1b6e Author: Karel Zak Date: Mon Dec 16 15:27:45 2019 +0100 tests: (chfn) force to bash Signed-off-by: Karel Zak tests/ts/chfn/gecos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1cb82714ceccad62074f00357e7ec09c1eb0501c Author: Karel Zak Date: Mon Dec 16 14:29:33 2019 +0100 travis: fix sudo command line Signed-off-by: Karel Zak .travis-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 02238bff663ce5fe823980d8119f3871cc348764 Author: Radka Skvarilova Date: Mon Dec 16 10:57:32 2019 +0100 tests: add new test for chfn gecos Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=1743555 Signed-off-by: Karel Zak tests/commands.sh | 1 + tests/expected/chfn/gecos | 6 ++++++ tests/ts/chfn/gecos | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) commit fc84bc0a463480ffb17a39b5375463b7f07d14ce Author: Daniel Drake Date: Mon Dec 16 14:16:48 2019 +0800 libblkid: improve identification of ISO9660 partition Recent changes to the iso9660 handler attempt to better handle the case where the media has both an ordinary ISO9660 filesystem, and a partition table with a partition entry pointing at the ISO9660 filesystem. Rather than assuming the presence of a partition table means that there is an ISO9660 partition, check that such a partition exists before deciding upon which device the metadata should be presented. One real world example of this is the grub-mkrescue image format; add a unit test to cover that. Secondly, even if we find an appropriate entry in the partition table, verify that we actually have a device that corresponds to the partition where we would then proceed to expose this metadata. In the case of a CD/DVD (i.e. /dev/sr0) we would not normally expect to see devices corresponding to the partitions, in that case the ISO metadata should be presented on the whole disk (/dev/sr0). Fixes: 7ef86a0891 ("libblkid: improve handling of ISO files with partition tables") Link: https://bugzilla.redhat.com/show_bug.cgi?id=1783066 Signed-off-by: Daniel Drake libblkid/src/superblocks/iso9660.c | 74 +++++++++++++++++++++++++----- tests/expected/blkid/iso-partitions-grub | 10 ++++ tests/ts/blkid/iso-partitions | 19 ++++++++ tests/ts/blkid/iso-partitions-grub.img.xz | Bin 0 -> 51416 bytes 4 files changed, 91 insertions(+), 12 deletions(-) commit 1f10f4afec6ca2360c006254a58582c1614efdba Author: Daniel Drake Date: Mon Dec 16 13:48:56 2019 +0800 isosize: move ISO size functions into a shared header Move the helper functions that parse ISO data & sector size info into a separate, shared header. These will addtionally be used by libblkid's iso9660 parser. Signed-off-by: Daniel Drake disk-utils/isosize.c | 51 +------------------------------------------- include/Makemodule.am | 1 + include/iso9660.h | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+), 50 deletions(-) commit 92fc937ba448eb0e0bc07ec4eeb7f44995c5346a Author: Pali Rohár Date: Sun Dec 15 12:55:41 2019 +0100 libblkid: udf: Fix reporting UDF 2.60 revision for Mac OS X disks Apple's newfs_udf, when creating UDF 2.60 disks, sets value 2.50 into both Minimum UDF Read Revision and Minimum UDF Write Revision fields in LVIDIU. And sets 2.60 value into UDF revision field in LVD descriptor. So to correctly parse and set blkid ID_FS_VERSION field, use maximum value from Minimum UDF Read Revision in LVIDIU, Minimum UDF Write Revision in LVDIU and UDF revision in LVD descriptor. This commit also adds a testing UDF 2.60 disk image with 4K sectors created by Apple's newfs_udf to verify that ID_FS_VERSION is set correctly to 2.60. libblkid/src/superblocks/udf.c | 23 ++++++++++----------- .../blkid/low-probe-udf-hdd-macosx-2.60-4096 | 11 ++++++++++ .../images-fs/udf-hdd-macosx-2.60-4096.img.xz | Bin 0 -> 2604 bytes 3 files changed, 22 insertions(+), 12 deletions(-) commit 3d3280ef159087e4a96f59ca513a543900089ed0 Merge: c0274f8ad ac407b165 Author: Karel Zak Date: Thu Dec 12 12:39:18 2019 +0100 Merge branch 'release-prep' of https://github.com/kerolasa/util-linux commit c0274f8add670dd16ba4f3efe6f737266ebaac06 Author: Patrick Steinhardt Date: Wed Dec 11 14:44:22 2019 +0100 agetty: return proper value if compiled without ISSUEDIR support If agetty is compiled without support for ISSUEDIR, then it implements a stub for `issuedir_read` that simply does nothing. In fact it does too little, as it doesn't have a proper return statement even though the function returns an integer. Fix the issue by always returning `1` from `issuedir_read`. This is the same error code that the real implementation of that function returns in case it cannot open the directory and is thus a sensible default to pretend that the directory doesn't exist. Signed-off-by: Patrick Steinhardt term-utils/agetty.c | 1 + 1 file changed, 1 insertion(+) commit ac407b16503f0f990a31230e02a23eef80f15b8a Author: Sami Kerola Date: Wed Dec 11 19:50:06 2019 +0000 script: fix typos [codespell] Signed-off-by: Sami Kerola term-utils/script-playutils.c | 8 ++++---- term-utils/script.c | 4 ++-- term-utils/scriptreplay.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) commit 543f6b6cfc1dd2eba4582c5743dd47155a5b5361 Author: Sami Kerola Date: Wed Dec 11 19:36:26 2019 +0000 man: improve script and scriptreplay formatting style Signed-off-by: Sami Kerola term-utils/script.1 | 50 ++++++++++++++++++++++++++++++----------------- term-utils/scriptreplay.1 | 26 +++++++++++++++++------- 2 files changed, 51 insertions(+), 25 deletions(-) commit 6b62a608b26e5c2322b32b5f0b3406cdb68388d4 Author: Sami Kerola Date: Wed Dec 11 19:19:21 2019 +0000 bash-completion: update script, scriptlive, and scriptreplay files Signed-off-by: Sami Kerola bash-completion/script | 8 ++++++++ bash-completion/scriptlive | 5 +++++ bash-completion/scriptreplay | 8 ++++++++ 3 files changed, 21 insertions(+) commit 393f266c7697fd72e61f4d04a9e05d7457415f33 Author: Samuel Thibault Date: Wed Dec 11 13:24:25 2019 +0100 build-sys: make scriptlive optional Signed-off-by: Karel Zak configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)