Skip to content

Update util-linux from 2.31.1 to 2.33.1 #1058

Merged
merged 1 commit into from
Mar 21, 2019

Commits on Mar 20, 2019

  1. util-linux: Update version from 2.31.1 to 2.33.1

    [Util-linux 2.32 Release Notes][1]:
    
    > Release highlights
    > ------------------
    >
    > The command cal(1) has been improved to provide better control on used calendar
    > system. Now it is possible to switch between Gregorian and Julian exclusively,
    > or use the current default (reform in September 1752). The new command line
    > options --reform and --iso have been added. The command also follows terminal
    > width to format output.
    >
    > The library libblkid has been extended to support LUKS2, Micron mpool, VDO and
    > Atari partition table.
    >
    > The command rfkill(8) has been moved to /usr/sbin to be compatible with the
    > original rfkill implementation.
    >
    > The command dmesg(1) provides better support for multi-line messages and the
    > new command line option --force-prefix to print facility, level or timestamp
    > information to each line of a multi-line message
    >
    > The command fallocate(1) --dig-holes is faster and more effect now.
    >
    > The command fdisk(8) provides access to Protective MBR accessible from main
    > menu. The Sun label support has been improved.
    >
    > The command lscpu(1) provides more details about ARM CPUs now.
    >
    > The command lsmem(1) supports memory zone awareness now.
    >
    > The command lsns(8) provides netnsid and nsfs columns now.
    >
    > The command rtcwake(8) waits stdin to settle down before entering a system
    > sleep.
    >
    > The new command line option --kill-child has been added to unshare(1).
    
    [Util-linux 2.33 Release Notes][2]:
    
    > Release highlights
    > ------------------
    >
    > choom -- NEW COMMAND to adjust and display the current OOM-killer score.
    >
    > The library libsmartcols has been improved to differentiate between numbers,
    > booleans and strings in JSON output. The old versions uses strings everywhere.
    > It's recommended to re-test your applications if you parse JSON outputs from
    > util-linux tools.
    >
    > The command fstrim(8) has been extended to trim all mounted filesystems from
    > /etc/fstab (-A|--fstab). This semantic is the default for systemd
    > fstrim.service now.  The original default for the service was to trim all
    > (-a|--all) mounted filesystems (including for example removable media). Now it
    > is also possible to test fstrim behavior by new command line option --dry-run.
    >
    > The command hwclock(8) provides a new command line option --delay to overwrite
    > internally used delay when set clock time. The default is 0.5 (500ms) for
    > rtc_cmos, for another RTC types the delay is 0. If RTC type is impossible to
    > determine (from sysfs) then it defaults also to 0.5 to be backwardly
    > compatible. The 500ms default is based on commonly used MC146818A-compatible
    > (x86) hardware clock.
    >
    > The commands mount and umount, and libmount allow to mount and umount
    > filesystem in another namespace. The namespace may be specified by --namespace
    > <pid|path> command line option. The commands switch to the namespace when it
    > reads /etc/fstab, writes /etc/mtab (or writes to /run/mount) and calls [u]mount
    > system calls, otherwise it runs in the original namespace. It means that the
    > target namespace does not have to contain any libraries or another requirements
    > necessary to execute mount(8) or umount(8) commands.
    >
    > The command rename(1) provides a new command line option --interactive to ask
    > before overwriting.
    >
    > The command setarch(8) does not require architecture when modify personality like
    > ADDR_NO_RANDOMIZE. The architecture argument is optional now.
    >
    > The command su(1) provides a new command line option --whitelist-environment to
    > protect specified variables when su(1) starts a new session.
    >
    > The command setpriv(1) provides a new command line option --reset-env to reset
    > all environment. The another new command line option --pdeathsig allows to
    > keep, clear or or set the parent death signal. Note that some LSMs, most notably
    > SELinux and AppArmor, clear the signal when the process' credentials change.
    >
    > The commands fdisk(8) and sfdisk(8) print disk model name to simplify device
    > identification.
    >
    > The command "column --table-empty-lines" allows to use empty lines in formatted
    > output.
    >
    > The command wipefs has been improved to postpone BLKRRPART (re-read partition
    > table) ioctl until all magic strings are wiped. This semantic allows to avoid
    > conflicts between on partition magic strings and partition tables.
    >
    > The command script(1) has been extended to store more information about
    > terminal size and type to the typescript header. The size of the output may be
    > also restricted by a new command line option --output-limit.
    >
    > The libblkid provides BitLocker and basic APFS detection now.
    >
    > The command lsblk is possible to execute against /sys and /proc dumps if command
    > line option --sysroot is specified. This allows to prepare regression tests for
    > lsblk.  So, if you have a complicated or unusual setup (RAIDs, pools, etc) than
    > you can use
    >   https://raw.githubusercontent.com/karelzak/util-linux/master/tests/ts/lsblk/mk-input.sh
    > to generate the dump and send the tarball to upstream developers. (Thanks!)
    >
    >
    > The script ./configure has been improved and --with/without command line
    > options should be more consistent now. It's recommended to re-test your build
    > scripts.
    
    [1]: https://www.kernel.org/pub/linux/utils/util-linux/v2.32/v2.32-ReleaseNotes
    [2]: https://www.kernel.org/pub/linux/utils/util-linux/v2.33/v2.33-ReleaseNotes
    pmenzel committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    43fc93a View commit details
    Browse the repository at this point in the history