- disable libmagic in more(1) for binary detection (bsc#1225197)
- Suppress error messages for grep command where the input file
- clean up spec file slightly
- Fix tests not passing when '@' character is in build path:
This release fixes two security mount(8) and umount(8) issues:
* libuuid: Improved to match
util-linux-lscpu-cleanup-DMI-detection-return-codes.patch
util-linux-losetup-Add-support-for-setting-logical-blocksize.patch
OBS-URL: https://build.opensuse.org/request/show/1179681
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=566
- Update to version 2.40.1
* agetty: don't overwrite TERM passed by the user
* fsck.minix: fix possible overrun
* libblkid: fix segfault when blkid.conf doesn't exist
* libfdisk: add initializer to geometry
* libmount: fix access check for utab in context
* libmount: fix umount --read-only
* lsns: fix netns use
- Drop skip-lsfd-tests-PR2888.patch, was a backport
OBS-URL: https://build.opensuse.org/request/show/1172771
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=562
- Update to release 2.40
* Add lastlog2
* agetty: Load autologin user from agetty.autologin credential
* agetty: use get_terminal_default_type()
* agetty: use sd_get_sessions() for number of users (#2088)
* blockdev: add support for BLKGETZONESZ
* cfdisk: ask y/n before wipe
* cfdisk: properly handle out-of-order partitions during resize
* chcpu: document limitations of -g
* chsh: use libeconf to read /etc/shells
* column: fix -l
* column: fix memory leak
* dmesg: fix FD leak
* dmesg: fix delta calculation
* dmesg: fix wrong size calculation
* dmesg: support reading kmsg format from file
* enosys: a new small command to make syscalls fail with ENOSYS
* exch: new command to atomically exchanges paths between two files
* fdisk: add support for partition resizing
* fdisk: remove usage of VLA
* fincore: add --output-all
* findmnt: add --list-columns
* findmnt: add -I, --dfi options for imitating the output of df -i
* findmnt: add inode-related columns for implementing "df -i" like output
* hexdump: add '--one-byte-hex' format option
* hwclock: add support for RTC_VL_READ/RTC_VL_CLR ioctls
* login: initialize noauth from login.noauth credential
* lsblk: add --filter
* lsblk: add --highlight
* lsblk: add --list-columns
OBS-URL: https://build.opensuse.org/request/show/1164989
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=552
- Upgrade to version 2.39.2:
* build-sys: add AX_COMPARE_VERSION
* column: fix -l
* libblkid: fix topology chain types mismatch
* libmount:
* (python) work around python 3.12 bug
* (utils) fix statx fallback
* check for linux/mount.h
* check for struct statx
* cleanup --fake mode
* handle failure to apply flags as part of a mount operation
* ifdef statx() call
* improve EPERM interpretation
* update documentation for MNT_ERR_APPLYFLAGS
* use mount(2) for remount on Linux < 5.14
* use some MS_* flags as superblock flags
* po: update es.po, hr.po, ja.po, sr.po
* setarch: add PER_LINUX_FDPIC fallback
* uuidd: improve man page for -cont-clock
* wall: do not error for ttys that do not exist
* zramctl: add hint about supported algorithms
* other changes, see:
https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.39/v2.39.2-ReleaseNotes
OBS-URL: https://build.opensuse.org/request/show/1109871
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=530
Sometimes util-linux failed for me, because the SYSTEMD_DEP grep matches auto*.cache* und similar files. I don't understand why sometimes and sometimes not, but the new expression is much more robust.
With util-linux 2.40 and systemd v254 the tty tools will depend on libsystemd, so build tty-tools as subpackage of systemd already now. Has no impact today, but allows already to test the current pre-versions.
OBS-URL: https://build.opensuse.org/request/show/1092872
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=514
- Upgrade to version 2.39:
* blkpr: New command to run persistent reservations ioctls on a device.
* pipesz: New command to set or examine pipe and FIFO buffer sizes.
* waitpid: New command to wait for arbitrary processes.
* mount, libmount: Supports new file descriptors based mount kernel API.
* mount, libmount: New mount options X-mount.idmap=, X-mount.auto-fstypes,
X-mount.{owner,group,mode}=, rootcontext=@target.
* renice: Supports posix-compliant -n (via POSIXLY_CORRECT) and add a new
option --relative.
* dmesg: Supports subsecond granularity for --since and --until.
* dmesg: Option --level accepts '+' prefix or postfix for a level name to specify
all higher or all lower levels.
* blkid, libblkid: Supports bcachefs.
* fstrim: New option --types to filter out by filesystem types.
* lsblk: --nvme and --virtio are new options to filter out devices.
* lsblk: Improves detection of hotplug and removable status.
* nsenter: New option --env for allowing environment variables inheritance.
* namei: New option -Z to report SELinux contexts.
* Many other new features and fixes. For complete list see
https://kernel.org/pub/linux/utils/util-linux/v2.39/v2.39-ReleaseNotes
- Dropped upstreamed patches:
* fix-lib-internal-cache-size.patch
* util-linux-fix-tests-when-at-symbol-in-path.patch
* util-linux-honor-noclear-when-reprint-issue.patch
- Add upstream patch util-linux-fix-tests-with-64k-pagesize.patch
* Fixes fadvise tests for ppc64
OBS-URL: https://build.opensuse.org/request/show/1092594
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=513
- Redistribute file entries to make sure that the files goes to the
corresponding subpackage, util-linux or util-linux-systemd.
This change places almost all binaries (and the corresponding man
pages and bash-completion files) in the util-linux package and just
some of them in the util-linux-systemd:
- /usr/bin/findmnt
- /usr/bin/logger
- /usr/bin/lsblk
- /usr/bin/lslogins
- /usr/sbin/rcfstrim
(bsc#1207023)
OBS-URL: https://build.opensuse.org/request/show/1071401
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=503