### Header
Summary: A collection of basic system utilities
Name: util-linux
Version: 2.23.2
Release: 52%{?dist}
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
Group: System Environment/Base
URL: http://en.wikipedia.org/wiki/Util-linux
%define upstream_version %{version}
### Macros
%define cytune_archs %{ix86} alpha %{arm}
%define compldir %{_datadir}/bash-completion/completions/
### Dependencies
BuildRequires: audit-libs-devel >= 1.0.6
BuildRequires: gettext-devel
BuildRequires: libselinux-devel
BuildRequires: ncurses-devel
BuildRequires: pam-devel
BuildRequires: zlib-devel
BuildRequires: popt-devel
BuildRequires: libutempter-devel
Buildrequires: systemd-devel
Buildrequires: libuser-devel
BuildRequires: libcap-ng-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
### Sources
Source0: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.23/util-linux-%{upstream_version}.tar.xz
Source1: util-linux-login.pamd
Source2: util-linux-remote.pamd
Source3: util-linux-chsh-chfn.pamd
Source4: util-linux-60-raw.rules
Source8: nologin.c
Source9: nologin.8
Source12: util-linux-su.pamd
Source13: util-linux-su-l.pamd
Source14: util-linux-runuser.pamd
Source15: util-linux-runuser-l.pamd
### Obsoletes & Conflicts & Provides
Conflicts: bash-completion < 1:2.1-1
# su(1) and runuser(1) merged into util-linux v2.22
Conflicts: coreutils < 8.20
# eject has been merged into util-linux v2.22
Obsoletes: eject <= 2.1.5
Provides: eject = 2.1.6
# sulogin, utmpdump merged into util-linux v2.22
Conflicts: sysvinit-tools < 2.88-8
# old versions of e2fsprogs contain fsck, uuidgen
Conflicts: e2fsprogs < 1.41.8-5
# rename from util-linux-ng back to util-linux
Obsoletes: util-linux-ng < 2.19
Provides: util-linux-ng = %{version}-%{release}
Conflicts: filesystem < 3
# lsmem and chmem from s390utils
Conflicts: s390utils-base < 2:1.23.0-33
Provides: /bin/dmesg
Provides: /bin/kill
Provides: /bin/more
Provides: /bin/mount
Provides: /bin/umount
Provides: /sbin/blkid
Provides: /sbin/blockdev
Provides: /sbin/findfs
Provides: /sbin/fsck
Provides: /sbin/nologin
Requires(post): coreutils
Requires: pam >= 1.1.3-7, /etc/pam.d/system-auth
Requires: audit-libs >= 1.0.6
Requires: libuuid = %{version}-%{release}
Requires: libblkid = %{version}-%{release}
Requires: libmount = %{version}-%{release}
### Ready for upstream?
###
# 151635 - makeing /var/log/lastlog
Patch0: 2.23-login-lastlog-create.patch
# v2.24 backport: #972457
Patch1: 2.24-agetty-clocal.patch
# v2.24 backport: #987787 - Remove lastlogin from su
Patch2: 2.24-su-suppress-PAM-info-messages.patch
# v2.24 backport: #950497 - problem umounting loop device
Patch3: 2.24-libmount-canonicalize-for-conversion-from-loopdev.patch
# v2.24 backport: #921498 - multiple internal testsuite failures
Patch4: 2.24-tests-portability.patch
# v2.24 backport: #1005566 - recount_geometry: Process /usr/sbin/fdisk was killed by signal 8 (SIGFPE)
Patch5: 2.24-libfdisk-fix-SIGFPE.patch
# v2.24 backport: #1005194 - su generates incorrect log entries
Patch6: 2.24-su-fix-lastlog-and-btmp-logging.patch
# v2.24 backport: #1006462 - RFE: allow \S escape that defaults to PRETTY_NAME in /etc/issue handling
Patch7: 2.24-agetty-etc-os-release.patch
# v2.24 backport: #1010193 - libmount umount issues
Patch8: 2.24-libmount-mem.patch
# v2.24 backport: #1009349 - Joking sfdisk rewriting PT after "n"
Patch9: 2.24-sfdisk-y-n-miscmatch.patch
# v2.24 backport: #1007885 - utmpdump is not IPv6 ready
Patch10: 2.24-utmpdump-ipv6.patch
# v2.24 backport: #1024366 - losetup does not use loop-control to add device
Patch11: 2.24-losetup-add-device.patch
# v2.24 backport: 1016471 - Document that blockdev --setbsz call has never worked
Patch12: 2.24-blockdev-setbsz-hint.patch
# v2.25 backport: #1039189 - taskset man page PERMISSIONS section is incorrect
Patch13: 2.25-taskset-man-fix-permissions.patch
# v2.25 backport: #1050852 - lscpu: support discontinuous NUMA nodes
Patch14: 2.25-lib-add-path_strdup.patch
Patch15: 2.25-lscpu-discontinuous-NUMA-nodes.patch
Patch16: 2.25-lscpu-sort-NUMA.patch
# v2.25 backport: #1046849 - filesystem type is not correctly displayed by df command
Patch17: 2.25-libblkid-Identify-extN-file-system-properly.patch
# v2.25 backport: #1055490 - libblkid: Do not problem for backup btrfs superblock
Patch18: 2.25-libblkid-no-more-probe-for-btrfs-backup-superblock.patch
# v2.25 backport: #1054186 - wipefs does not clean gpt header fully, PMBR remains
Patch19: 2.25-libblkid-detect-alone-PMBR.patch
Patch20: 2.25-wipefs-call-BLKRRPART-when-erase-partition-table.patch
# v2.25 backport: #977162 - fix the description of XFS "allocsize="
Patch21: 2.25-mount-man-xfs.patch
# rhel7.0: #1073851 - disable user namespaces
Patch22: rhel7.0-unshare-user.patch
# v2.25 backpoprt: #1078618 - flock nfs file fails on nfsv4
Patch23: 2.25-flock-nfs4.patch
# v2.25 backport: #1047376 - blkid hangs while reading from /dev/fd0
Patch24: 2.25-libblkid-io-errors.patch
#v2.24 and v2.25 backport: #1079931 - fsck: warning on kdump boot
Patch25: 2.24-fsck-fstab.patch
Patch26: 2.25-fsck-nohelper.patch
#
# RHEL 7.1
#
# 1067354 - dmesg -w output not line-buffered
Patch27: 2.25-dmesg-w.patch
# 1072298 - util-linux/lscpu: '--sysroot' broken on XFS
Patch28: 2.25-lscpu-d_type.patch
# 1072930 - hwclock --systohc can hang on busy or virtual machine
Patch29: 2.25-hwclock-hang.patch
# 1077310 - wipefs problem with some live .isos
Patch30: 2.25-wipefs-nested-pt.patch
# 1077864 - Backport swapon: allow a more flexible swap discard policy
Patch31: 2.25-swapon-discard.patch
# 1080407 - libblkid XFS detection is too fragile
Patch32: 2.25-libblkid-xfs.patch
# RHEL6.6 port #1115442 - kill(1) doesn't check errno after calling strtol()
Patch33: 2.17-kill-strtol.patch
# 1127823 - losetup does not accept offset
Patch34: 2.24-losetup-offset.patch
# 1127891 - wipefs 4k disks and gpt partitions
Patch35: 2.25-libblkid-gpt-512.patch
# 1136111 - "findmnt" returns incomplete output on kernel-3.14
Patch36: 2.24-libmount-3.14.patch
# backport from upstream: #1140591 - improve mount --move documentation
Patch37: 2.26-mount-man-move.patch
# RHEL6.6 port: #1131522 - backport --fork and --mount-proc to unshare(1)
Patch38: 2.24-unshare-mount-fork.patch
# Backport from upstream (v2.25-214-g8a4c64e): #1113043 - backport lslogins(1)
Patch39: 2.26-libsmartcols.patch
Patch40: 2.26-lslogins.patch
# 1149278 - partx fails to update a specific partition other than the first
Patch41: 2.24-partx-update.patch
# 1156352 - blkdiscard progress report and interruptibility of the process
Patch42: 2.26-blkdiscard.patch
# 1181444 - raw command fails with "Cannot locate raw device".
Patch43: 2.26-raw-stat.patch
#
# RHEL 7.2
#
Patch44: 2.25-uuidd-timeout.patch
# 1225235 - blockdev --report fails on loop and pmem devices
Patch45: 2.25-blockdev-geom.patch
# 1225053 - [RFE] backport fstrim -a and unit file
Patch46: 2.25-fstrim-all.patch
# 1131523 - mount does not appear to be correctly documented for default mount options
Patch47: 2.25-mount-man-default.patch
# 1147526 - Incorrect message printed when su is killed
Patch48: 2.26-su-coredump-message.patch
# 1165702 - make login(1) insensitive to SIGXFSZ and huge lastlog
Patch49: 2.26-login-SIGXFSZ.patch
# 1184558 - logger silently changes facility from kern to user
Patch50: 2.26-logger-man-kern.patch
# 1198243 - blkid does not recognize xfs external log device
Patch51: 2.25-libblkid-xfs-log.patch
# 1208081 - lsblk does not list dm-multipath and partitioned devices
Patch52: 2.26-lsblk-mpath.patch
# 1209594 - RHEL7: unshare: add --propagation, use MS_PRIVATE by default
# 1229436 - Remove patch that disables User Namespaces
Patch53: 2.26-unshare-rebase.patch
# 1116100 - Add -Z SELInux option to nsenter
Patch54: v2.26-nsenter-selinux.patch
# 1199619 - os-prober attempts to mount thin pool devices
Patch55: 2.25-libblkid-thinpool.patch
# 1251250 - blkid outputs nothing for some partitions (e.g. sun label)
Patch56: 2.25-libblkid-return-codes.patch
# 1182831 - blkid incorrectly detects boot sec + MBR as FAT
Patch57: 2.26-libblkid-fat.patch
#
# RHEL7.3
#
# 1301091 - [libblkid] Failed to get offset of the xfs_external_log signature
Patch58: 2.27-libblkid-xfs-log.patch
# 1291554 - lslogins crash when executed with buggy username
Patch59: 2.28-lslogins-rebase.patch
# 1092520 - util-linux - PIE and RELRO check
Patch60: 0060-build-sys-add-CFLAGS-and-LDFLAGS-for-daemons-and-sha.patch
# 1248003 - mount only parses = lines from fstab fs_spec field available from blkid block device
Patch61: 0061-libmount-be-more-restrictive-about-valid-tag-names.patch
# 1271850 - mount -a doesn't catch a typo in /etc/fstab and a typo in /etc/fstab can make a system not reboot properly
Patch62: 0062-mount-umount-swapon-fsck-lsblk-findmnt-ignore-malfor.patch
# 1290689 - util-linux: /bin/login does not retry getpwnam_r with larger buffers, leading to login failure
Patch63: 0063-login-mount-fix-__SC_GETPW_R_SIZE_MAX-usage.patch
# 1296366 - Bash completion for more(1) handles file names with spaces incorrectly
Patch64: 0064-bash-completion-use-n-as-IFS-when-ask-for-filenames.patch
# 1296521 - RHEL7: update audit event in hwclock
Patch65: 0065-hwclock-change-audit-message.patch
# 1304426 - [rfe] /bin/su should be improved to reduce stack use
Patch66: 0066-su-clean-up-groups-initialization.patch
# 1326615 - util-linux/lscpu: Fix model and model name on Power Systems
Patch67: 0067-lscpu-Fix-model-and-model-name-on-Power-Systems.patch
# 1326615 - util-linux/lscpu: Fix model and model name on Power Systems
Patch68: 0068-lscpu-use-cpu-and-revision-tag-if-available.patch
# 1335671 - extra quotes around UUID confuses findfs in RHEL (but not in Fedora)
Patch69: 0069-findfs-add-ability-to-work-with-PART-UUID-LABEL-too.patch
# 1335671 - extra quotes around UUID confuses findfs in RHEL (but not in Fedora)
Patch70: 0070-libblkid-fix-memory-leak-in-blkid_parse_tag_string.patch
# 587393 - [RFE] Make sure util-linux is ready for writable overlays
Patch71: 0071-findmnt-don-t-rely-on-st_dev-for-target.patch
# 587393 - [RFE] Make sure util-linux is ready for writable overlays
Patch72: 0072-libmount-cleanup-fs-root-detection-code.patch
# 587393 - [RFE] Make sure util-linux is ready for writable overlays
Patch73: 0073-libmount-mark-overlay-as-pseudo-FS.patch
# 1344222 - logger port option in help is misleading
Patch74: 0074-logger-be-more-precise-about-port-description.patch
# 1344482 - util-linux fails valid_pmbr() size checks if device is > 2.14TB, Device label type: dos instead of gpt
Patch75: 0075-libfdisk-gpt-be-more-careful-with-64bit-constants.patch
# 1332084 - [RFE] Inclusion of lsns command in util-linux Package
Patch76: 0076-lsns-backport-new-command.patch
# 1153770 - backport lsipc
Patch77: 0077-lib-strutils-make-strmode-more-generic.patch
# 1153770 - backport lsipc
Patch78: 0078-lsipc-backport-new-command.patch
# 1327886 - Backport blkdiscard's "-z" flag to RHEL
Patch79: 0079-blkdiscard-backport-zeroout-support.patch
# 1029385 - lack of non-ascii support
Patch80: 0080-sulogin-and-agetty-virtual-consoles-support-xvc-and-.patch
# 1298384 - RFE: add SCHED_DEADLINE support to chrt
Patch81: 0081-chrt-backport-DEADLINE-scheduler-support.patch
# 1304246 - fdisk 'f' subcommand updates partition ranges wrongly
Patch82: 0082-fdisk-backport-DOS-logical-partitions-chain-reorder.patch
# 1153770 - backport lsipc
Patch83: 0083-tests-cleanup-tests.patch
# 1281839 - [RFE]Bind mounts should be handled gracefully by the operating system
Patch84: 0084-libmount-add-support-for-bind-ro.patch
# 1007734 - blkid shows devices as /dev/block/$MAJOR:$MINOR
Patch85: 0085-libblkid-store-only-canonical-devnames-to-the-cache.patch
# 1349536 - Extended partition loop in MBR partition table leads to DOS
Patch86: 0086-libblkid-avoid-recursion-in-EBR.patch
#
# RHEL7.4
#
# 1405238 - findmnt --target behaviour changed in 7.3, shows all mount-points in chroot
Patch87: 0087-findmnt-fix-target-behaviour.patch
# 1419474
Patch88: 0088-su-properly-clear-child-PID.patch
# 1344102 - fdisk does not handle 4kN devices correctly in 'Blocks' calculation
Patch89: 0089-fdisk-fix-Blocks-column-calculation.patch
# 1344720 - when fdisk detects gpt table, expected menu items seem to be missing in the 'm' output
Patch90: 0090-fdisk-fix-menu-for-GPT.patch
# 1323916 - logger unnecessarily splits messages sent via stdin into 1024 byte chunks
Patch91: 0091-logger-backport-size.patch
# 1344726 - [RFE] fdisk: output UID from gpt in fdisk when detecting that a gpt partition table is present
Patch92: 0092-fdisk-print-header-UUID-for-GPT.patch
# 1362662 - fdisk -l fails/stops on first passive/not ready device, works on RHEL6
Patch93: 0093-fdisk-improve-l-error-handling.patch
# 1369436 - losetup man page incorrect syntax for Setup loop device
Patch94: 0094-losetup-improve-man-page-SYNOPSIS.patch
# 1392656 - [LLNL 7.4 Bug] fix buffer overflows in util-linux with upstream patch
Patch95: 0095-libblkid-fix-potential-bufer-overflows.patch
# 1370959 - [FJ7.3 Bug]: man 8 umount is wrong.
Patch96: 0096-umount-fix-obsolete-info-about-loop-in-umount.8.patch
# 1357746 - mount -av" report NFS "successfully mounted" but it is not.
Patch97: 0097-mount-fix-all-and-nofail-return-code.patch
# 1417722 - umount -a results in selinux being reported as Disabled
Patch98: 0098-umount-exclude-selinuxfs-from-all.patch
# 1402825 - RHEL7: "sfdisk -s" can't list the disk size
Patch99: 0099-sfdisk-remove-useless-CDROM-detection-for-s.patch
# 1403973 - /usr/bin/more crash on repeat search on failed regex match
Patch100: 0100-more-fix-repeat-search-crash.patch
# 1403971 - /usr/bin/more crash in end_it due to double free
Patch101: 0101-more-avoid-double-free-on-exit.patch
# 1358095 - ipcs shows wrong gid information
Patch102: 0102-ipcs-show-gid-instead-of-uid.patch
# 1358097 - ipcs shows strange status message in ja locale
Patch103: 0103-ipcs-fix-JP-status-message.patch
# 1378100 - fix swapon discard option parsing
Patch104: 0104-swapon-fix-discard-option-parsing.patch
# 1416467 - [RFE] Add support for posix_fallocate(3) call in fallocate(1) utility
Patch105: 0105-fallocate-Added-posix_fallocate-support.patch
# 1358755 - Backport request for zramctl on util-linux v2.23.2
Patch106: 0106-zramctl-backport-from-v2.29.patch
# 1392661 - [LLNL 7.4 Bug] add zfs patches to util-linux
Patch107: 0107-libblkid-zfs-let-s-keep-compiler-happy.patch
Patch108: 0108-blkid-make-zfs-detection-more-robust.patch
Patch109: 0109-zfs-make-less-syscalls.patch
Patch110: 0110-libblkid-zfs-keep-bufferes-read-only.patch
Patch111: 0111-libblkid-don-t-mark-zfs-as-RAID.patch
Patch112: 0112-tests-update-ZFS-test.patch
Patch113: 0113-libblkid-zfs-add-cast-to-fix-UB-cppcheck.patch
Patch114: 0114-libblkid-Avoid-OOB-access-on-illegal-ZFS-superblocks.patch
# 1360764 - SMT: "Threads Per Core" will automatically change when odd or even number of vcpu are enabled online.
# 1397709 - [7.4 FEAT] Refresh code for lscpu to support s390x cpu topology
Patch115: 0115-lscpu-backport-from-v2.29.patch
# 1402183 - [HPE 7.3 Bug] fdisk -l does not list non-BTT NVDIMM devices
Patch116: 0116-fdisk-use-sysfs_devno_is_wholedisk.patch
# 1358755 - Backport request for zramctl on util-linux v2.23.2
Patch117: 0117-zramctl-add-bash-completion.patch
Patch118: 0118-zramctl-make-mm_stat-parser-more-robust.patch
# 1344720 - when fdisk detects gpt table, expected menu items seem to be missing in the 'm' output
Patch119: 0119-fdisk-improve-menu-and-u-for-GPT.patch
# 1360764 1397709 - lscpu rebase
Patch120: 0120-tests-update-for-RHEL7.4-changes.patch
# 1358755 - Backport request for zramctl on util-linux v2.23.2
Patch121: 0121-zramctl-be-more-specific-about-default-output.patch
# 1344726 - [RFE] fdisk: output UID from gpt in fdisk when detecting that a gpt partition table is present
Patch122: 0122-libfdisk-gpt-fix-UUID-printing.patch
# 1451704 - [Intel 7.4 BUG] IMSM RAID on 4k disks not assembled on boot
Patch123: 0123-libblkid-Add-metadata-signature-check-for-IMSM-on-4K.patch
# 1455664 - lscpu causes kernel panic on HPE Comanche / Cavium ThunderX2 (cn99xx)
Patch124: 0124-lscpu-use-sysfs-for-table-access-if-available.patch
# 1457744 - lscpu -e get crashed after offline one host cpu on amd machine
Patch125: 0125-lscpu-improve-for-offline-CPUs-on-AMD.patch
#
# RHEL7.5
#
# 1499760 - gvfs-udisks2-volume-monitor generates huge amount of audit log with access denied messages
Patch126: 0126-libmount-use-eacess-rather-than-open-to-check-mtab-u.patch
# 1498462 - agetty not parsing /etc/os-release correctly when processing /etc/issue
Patch127: 0127-agetty-fix-etc-os-release-parsing.patch
# 1490984 - Please update fdisk's manual page
Patch128: 0128-fdisk-remove-obsolete-info-about-GPT-from-man-page.patch
# 1487031 - [GSS][RFE]The Ceph disk type is unknown then we run the command "fdisk -l"
Patch129: 0129-libfdisk-gpt-sync-type-UUIDs-with-upstream.patch
# 1468646 - lscpu output missing Hypervisor
Patch130: 0130-lscpu-cleanup-DMI-detection-return-codes.patch
# 1455398 - flock --timeout=0 doesn't work on RHEL7
Patch131: 0131-flock-zero-timeout-is-valid.patch
# 1336432 - journald: SYSLOG_IDENTIFIER is invalid when running logger
Patch132: 0132-logger-add-man-page-note-about-the-default-tag.patch
# 1427500 - util-linux: script does not retry on EINTR when logging command output
Patch133: 0133-script-use-all-io-to-write.patch
# 1336432 - journald: SYSLOG_IDENTIFIER is invalid when running logger
Patch134: 0134-logger-do-not-rely-only-getlogin-3-telling-who-ran-t.patch
# 1296233 - login(1) writes 0.0.0.0 IP address to wtmp when executed with "-h " hostname
Patch135: 0135-login-use-IPv4-on-IPv4-mapping-to-IPv6.patch
# 1501953 - blkid shows wrong return code on failure with ambivalent results
Patch136: 0136-blkid-update-man-page-about-lsblk-and-ambivalent-pro.patch
# 1486777 - wipefs printing duplicate gpt clear messages
Patch137: 0137-wipefs-fix-t-filter.patch
# 1454652 - fix test suite
Patch138: 0138-tests-backport-new-ts_scsi_debug_init.patch
Patch139: 0139-tests-ts_scsi_debug_init-must-not-run-in-a-subshell.patch
Patch140: 0140-tests-cleanup-fdisk-outputs.patch
Patch141: 0141-tests-check-for-mdadm.patch
# 1496421 - [Pegas1.1 FEAT] z Systems: Move lsmem and chmem to util-linux (through rebase >= 2.30)
Patch142: 0142-lsmem-chmem-backport-new-commands.patch
Patch143: 0143-lsmem-make-split-optional-follow-output-by-default.patch
# 1499760 - gvfs-udisks2-volume-monitor generates huge amount of audit log with access denied messages
Patch144: 0144-libmount-fix-access-utab-write-test.patch
# 1520906 - make hostname in login(1) prompt optional [rhel-7.5]
Patch145: 0145-login-add-LOGIN_PLAIN_PROMPT-to-login.defs.patch
# 1521163 - [RFE] blkid can identify magic number and UUID of VDO volume
Patch146: 0146-libblkid-Add-VDO-superblock-information-into-blkid.patch
# 1534893 - RHEL7: util-linux: mount/unmount ASLR bypass via environment variable in libmount
Patch147: 0147-include-debug-don-t-print-pointer-address-for-SUID-p.patch
# 1538545 - SELinux error creating swap file
Patch148: 0148-mkswap-tolerate-ENOTSUP-when-failing-to-relabel.patch
# 1534893 - RHEL7: util-linux: mount/unmount ASLR bypass via environment variable in libmount
Patch149: 0149-libmount-fix-debug-message.patch
%description
The util-linux package contains a large variety of low-level system
utilities that are necessary for a Linux system to function. Among
others, Util-linux contains the fdisk configuration tool and the login
program.
%package -n libmount
Summary: Device mounting library
Group: Development/Libraries
License: LGPLv2+
Requires: libblkid = %{version}-%{release}
Requires: libuuid = %{version}-%{release}
Conflicts: filesystem < 3
%description -n libmount
This is the device mounting library, part of util-linux.
%package -n libmount-devel
Summary: Device mounting library
Group: Development/Libraries
License: LGPLv2+
Requires: libmount = %{version}-%{release}
Requires: pkgconfig
%description -n libmount-devel
This is the device mounting development library and headers,
part of util-linux.
%package -n libblkid
Summary: Block device ID library
Group: Development/Libraries
License: LGPLv2+
Requires: libuuid = %{version}-%{release}
Conflicts: filesystem < 3
Requires(post): coreutils
%description -n libblkid
This is block device identification library, part of util-linux.
%package -n libblkid-devel
Summary: Block device ID library
Group: Development/Libraries
License: LGPLv2+
Requires: libblkid = %{version}-%{release}
Requires: pkgconfig
%description -n libblkid-devel
This is the block device identification development library and headers,
part of util-linux.
%package -n libuuid
Summary: Universally unique ID library
Group: Development/Libraries
License: BSD
Conflicts: filesystem < 3
%description -n libuuid
This is the universally unique ID library, part of util-linux.
The libuuid library generates and parses 128-bit universally unique
id's (UUID's). A UUID is an identifier that is unique across both
space and time, with respect to the space of all UUIDs. A UUID can
be used for multiple purposes, from tagging objects with an extremely
short lifetime, to reliably identifying very persistent objects
across a network.
See also the "uuid" package, which is a separate implementation.
%package -n libuuid-devel
Summary: Universally unique ID library
Group: Development/Libraries
License: BSD
Requires: libuuid = %{version}-%{release}
Requires: pkgconfig
%description -n libuuid-devel
This is the universally unique ID development library and headers,
part of util-linux.
The libuuid library generates and parses 128-bit universally unique
id's (UUID's). A UUID is an identifier that is unique across both
space and time, with respect to the space of all UUIDs. A UUID can
be used for multiple purposes, from tagging objects with an extremely
short lifetime, to reliably identifying very persistent objects
across a network.
See also the "uuid-devel" package, which is a separate implementation.
%package -n uuidd
Summary: Helper daemon to guarantee uniqueness of time-based UUIDs
Group: System Environment/Daemons
Requires: libuuid = %{version}-%{release}
License: GPLv2
Requires: systemd
Requires(pre): shadow-utils
Requires(post): systemd-units
Requires(preun): systemd-units
%description -n uuidd
The uuidd package contains a userspace daemon (uuidd) which guarantees
uniqueness of time-based UUID generation even at very high rates on
SMP systems.
%prep
%autosetup -p1 -n %{name}-%{upstream_version}
cp %{SOURCE8} %{SOURCE9} .
%build
unset LINGUAS || :
# unfortunately, we did changes to build-system
./autogen.sh
# we modify .po files by RHEL patches
rm -f po/stamp*
export CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 $RPM_OPT_FLAGS"
export SUID_CFLAGS="-fpie"
export SUID_LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
export DAEMON_CFLAGS="$SUID_CFLAGS"
export DAEMON_LDFLAGS="$SUID_LDFLAGS"
%configure \
--with-systemdsystemunitdir=%{_unitdir} \
--disable-silent-rules \
--disable-wall \
--disable-bfs \
--disable-pg \
--enable-socket-activation \
--enable-chfn-chsh \
--enable-write \
--enable-raw \
--with-udev \
--with-selinux \
--with-audit \
--with-utempter \
--disable-makeinstall-chown \
%ifnarch %cytune_archs
--disable-cytune \
%endif
%ifarch s390 s390x
--disable-hwclock \
--disable-fdformat
%endif
# build util-linux
make %{?_smp_mflags}
# build nologin
gcc $CFLAGS -o nologin nologin.c
%check
#to run tests use "--with check"
%if %{?_with_check:1}%{!?_with_check:0}
make check
%endif
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,6,8,5}
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/{pam.d,security/console.apps}
mkdir -p ${RPM_BUILD_ROOT}/var/log
touch ${RPM_BUILD_ROOT}/var/log/lastlog
chmod 0644 ${RPM_BUILD_ROOT}/var/log/lastlog
# install util-linux
make install DESTDIR=${RPM_BUILD_ROOT}
# install nologin
install -m 755 nologin ${RPM_BUILD_ROOT}%{_sbindir}
install -m 644 nologin.8 ${RPM_BUILD_ROOT}%{_mandir}/man8
# raw
echo '.so man8/raw.8' > $RPM_BUILD_ROOT%{_mandir}/man8/rawdevices.8
{
# see RH bugzilla #216664
mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/lib/udev/rules.d
pushd ${RPM_BUILD_ROOT}%{_prefix}/lib/udev/rules.d
install -m 644 %{SOURCE4} ./60-raw.rules
popd
}
# sbin -> bin
mv ${RPM_BUILD_ROOT}%{_sbindir}/raw ${RPM_BUILD_ROOT}%{_bindir}/raw
# And a dirs uuidd needs that the makefiles don't create
install -d ${RPM_BUILD_ROOT}/run/uuidd
install -d ${RPM_BUILD_ROOT}/var/lib/libuuid
# libtool junk
rm -rf ${RPM_BUILD_ROOT}%{_libdir}/*.la
%ifarch %{sparc}
rm -rf ${RPM_BUILD_ROOT}%{_bindir}/sunhostid
cat << E-O-F > ${RPM_BUILD_ROOT}%{_bindir}/sunhostid
#!/bin/sh
# this should be _bindir/sunhostid or somesuch.
# Copyright 1999 Peter Jones, .
# GPL and all that good stuff apply.
(
idprom=\`cat /proc/openprom/idprom\`
echo \$idprom|dd bs=1 skip=2 count=2
echo \$idprom|dd bs=1 skip=27 count=6
echo
) 2>/dev/null
E-O-F
chmod 755 ${RPM_BUILD_ROOT}%{_bindir}/sunhostid
%endif
# PAM settings
{
pushd ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d
install -m 644 %{SOURCE1} ./login
install -m 644 %{SOURCE2} ./remote
install -m 644 %{SOURCE3} ./chsh
install -m 644 %{SOURCE3} ./chfn
install -m 644 %{SOURCE12} ./su
install -m 644 %{SOURCE13} ./su-l
install -m 644 %{SOURCE14} ./runuser
install -m 644 %{SOURCE15} ./runuser-l
popd
}
%ifnarch s390 s390x
ln -sf hwclock ${RPM_BUILD_ROOT}%{_sbindir}/clock
echo ".so man8/hwclock.8" > ${RPM_BUILD_ROOT}%{_mandir}/man8/clock.8
%endif
# unsupported on SPARCs
%ifarch %{sparc}
for I in /sbin/sfdisk \
%{_mandir}/man8/sfdisk.8* \
%doc Documentation/sfdisk.txt \
/sbin/cfdisk \
%{_mandir}/man8/cfdisk.8*; do
rm -f $RPM_BUILD_ROOT$I
done
%endif
# we install getopt-*.{bash,tcsh} as doc files
chmod 644 misc-utils/getopt-*.{bash,tcsh}
rm -f ${RPM_BUILD_ROOT}%{_datadir}/getopt/*
rmdir ${RPM_BUILD_ROOT}%{_datadir}/getopt
ln -sf ../proc/self/mounts %{buildroot}/etc/mtab
# remove static libs
rm -f $RPM_BUILD_ROOT%{_libdir}/lib{uuid,blkid,mount}.a
# find MO files
%find_lang %name
# the files section supports only one -f option...
mv %{name}.lang %{name}.files
# create list of setarch(8) symlinks
find $RPM_BUILD_ROOT%{_bindir}/ -regextype posix-egrep -type l \
-regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64)$" \
-printf "%{_bindir}/%f\n" >> %{name}.files
find $RPM_BUILD_ROOT%{_mandir}/man8 -regextype posix-egrep \
-regex ".*(linux32|linux64|s390|s390x|i386|ppc|ppc64|ppc32|sparc|sparc64|sparc32|sparc32bash|mips|mips64|mips32|ia64|x86_64)\.8.*" \
-printf "%{_mandir}/man8/%f*\n" >> %{name}.files
%post
# only for minimal buildroots without /var/log
[ -d /var/log ] || mkdir -p /var/log
touch /var/log/lastlog
chown root:root /var/log/lastlog
chmod 0644 /var/log/lastlog
# Fix the file context, do not use restorecon
if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then
SECXT=$( /usr/sbin/matchpathcon -n /var/log/lastlog 2> /dev/null )
if [ -n "$SECXT" ]; then
# Selinux enabled, but without policy? It's true for buildroots
# without selinux stuff on host machine with enabled selinux.
# We don't want to use any RPM dependence on selinux policy for
# matchpathcon(2). SELinux policy should be optional.
/usr/bin/chcon "$SECXT" /var/log/lastlog >/dev/null 2>&1 || :
fi
fi
if [ ! -L /etc/mtab ]; then
ln -sf ../proc/self/mounts /etc/mtab || :
fi
%post -n libblkid
/sbin/ldconfig
### Move blkid cache to /run
[ -d /run/blkid ] || mkdir -p /run/blkid
for I in /etc/blkid.tab /etc/blkid.tab.old \
/etc/blkid/blkid.tab /etc/blkid/blkid.tab.old; do
if [ -f "$I" ]; then
mv "$I" /run/blkid/ || :
fi
done
%postun -n libblkid -p /sbin/ldconfig
%post -n libuuid -p /sbin/ldconfig
%postun -n libuuid -p /sbin/ldconfig
%post -n libmount -p /sbin/ldconfig
%postun -n libmount -p /sbin/ldconfig
%pre -n uuidd
getent group uuidd >/dev/null || groupadd -r uuidd
getent passwd uuidd >/dev/null || \
useradd -r -g uuidd -d /var/lib/libuuid -s /sbin/nologin \
-c "UUID generator helper daemon" uuidd
exit 0
%post -n uuidd
if [ $1 -eq 1 ]; then
# Package install,
/bin/systemctl enable uuidd.service >/dev/null 2>&1 || :
/bin/systemctl start uuidd.service > /dev/null 2>&1 || :
else
# Package upgrade
if /bin/systemctl --quiet is-enabled uuidd.service ; then
/bin/systemctl reenable uuidd.service >/dev/null 2>&1 || :
fi
fi
%preun -n uuidd
if [ "$1" = 0 ]; then
/bin/systemctl stop uuidd.service > /dev/null 2>&1 || :
/bin/systemctl disable uuidd.service > /dev/null 2>&1 || :
fi
%files -f %{name}.files
%defattr(-,root,root)
%doc README NEWS AUTHORS
%doc Documentation/deprecated.txt Documentation/licenses/*
%doc misc-utils/getopt-*.{bash,tcsh}
%config(noreplace) %{_sysconfdir}/pam.d/chfn
%config(noreplace) %{_sysconfdir}/pam.d/chsh
%config(noreplace) %{_sysconfdir}/pam.d/login
%config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
%config(noreplace) %{_prefix}/lib/udev/rules.d/60-raw.rules
%attr(4755,root,root) %{_bindir}/mount
%attr(4755,root,root) %{_bindir}/umount
%attr(4755,root,root) %{_bindir}/su
%attr(755,root,root) %{_bindir}/login
%attr(4711,root,root) %{_bindir}/chfn
%attr(4711,root,root) %{_bindir}/chsh
%attr(2755,root,tty) %{_bindir}/write
%ghost %attr(0644,root,root) %verify(not md5 size mtime) /var/log/lastlog
%ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/mtab
%{_unitdir}/fstrim.*
%{_bindir}/cal
%{_bindir}/chrt
%{_bindir}/col
%{_bindir}/colcrt
%{_bindir}/colrm
%{_bindir}/column
%{_bindir}/chmem
%{_bindir}/dmesg
%{_bindir}/eject
%{_bindir}/fallocate
%{_bindir}/findmnt
%{_bindir}/flock
%{_bindir}/getopt
%{_bindir}/hexdump
%{_bindir}/ionice
%{_bindir}/ipcmk
%{_bindir}/ipcrm
%{_bindir}/ipcs
%{_bindir}/isosize
%{_bindir}/kill
%{_bindir}/lsipc
%{_bindir}/lsns
%{_bindir}/lsmem
%{_bindir}/logger
%{_bindir}/look
%{_bindir}/lsblk
%{_bindir}/lscpu
%{_bindir}/lslocks
%{_bindir}/lslogins
%{_bindir}/mcookie
%{_bindir}/more
%{_bindir}/mountpoint
%{_bindir}/namei
%{_bindir}/nsenter
%{_bindir}/prlimit
%{_bindir}/raw
%{_bindir}/rename
%{_bindir}/renice
%{_bindir}/rev
%{_bindir}/script
%{_bindir}/scriptreplay
%{_bindir}/setarch
%{_bindir}/setpriv
%{_bindir}/setsid
%{_bindir}/setterm
%{_bindir}/tailf
%{_bindir}/taskset
%{_bindir}/ul
%{_bindir}/unshare
%{_bindir}/utmpdump
%{_bindir}/uuidgen
%{_bindir}/wdctl
%{_bindir}/whereis
%{_mandir}/man1/cal.1*
%{_mandir}/man1/chfn.1*
%{_mandir}/man1/chrt.1*
%{_mandir}/man1/chsh.1*
%{_mandir}/man1/col.1*
%{_mandir}/man1/colcrt.1*
%{_mandir}/man1/colrm.1*
%{_mandir}/man1/column.1*
%{_mandir}/man1/dmesg.1*
%{_mandir}/man1/eject.1*
%{_mandir}/man1/fallocate.1*
%{_mandir}/man1/flock.1*
%{_mandir}/man1/getopt.1*
%{_mandir}/man1/hexdump.1*
%{_mandir}/man1/ionice.1*
%{_mandir}/man1/ipcmk.1*
%{_mandir}/man1/ipcrm.1*
%{_mandir}/man1/ipcs.1*
%{_mandir}/man1/kill.1*
%{_mandir}/man1/logger.1*
%{_mandir}/man1/login.1*
%{_mandir}/man1/look.1*
%{_mandir}/man1/lscpu.1*
%{_mandir}/man1/lslogins.1*
%{_mandir}/man1/lsmem.1*
%{_mandir}/man1/lsipc.1*
%{_mandir}/man1/mcookie.1*
%{_mandir}/man1/more.1*
%{_mandir}/man1/mountpoint.1*
%{_mandir}/man1/namei.1*
%{_mandir}/man1/nsenter.1*
%{_mandir}/man1/prlimit.1*
%{_mandir}/man1/rename.1*
%{_mandir}/man1/renice.1*
%{_mandir}/man1/rev.1*
%{_mandir}/man1/runuser.1*
%{_mandir}/man1/script.1*
%{_mandir}/man1/scriptreplay.1*
%{_mandir}/man1/setpriv.1*
%{_mandir}/man1/setsid.1*
%{_mandir}/man1/setterm.1*
%{_mandir}/man1/su.1*
%{_mandir}/man1/tailf.1*
%{_mandir}/man1/taskset.1*
%{_mandir}/man1/ul.1*
%{_mandir}/man1/unshare.1*
%{_mandir}/man1/utmpdump.1.gz
%{_mandir}/man1/uuidgen.1*
%{_mandir}/man1/whereis.1*
%{_mandir}/man1/write.1*
%{_mandir}/man5/fstab.5*
%{_mandir}/man8/addpart.8*
%{_mandir}/man8/agetty.8*
%{_mandir}/man8/blkdiscard.8*
%{_mandir}/man8/blkid.8*
%{_mandir}/man8/blockdev.8*
%{_mandir}/man8/chcpu.8*
%{_mandir}/man8/chmem.8*
%{_mandir}/man8/ctrlaltdel.8*
%{_mandir}/man8/delpart.8*
%{_mandir}/man8/fdisk.8*
%{_mandir}/man8/findfs.8*
%{_mandir}/man8/findmnt.8*
%{_mandir}/man8/fsck.8*
%{_mandir}/man8/fsck.cramfs.8*
%{_mandir}/man8/fsck.minix.8*
%{_mandir}/man8/fsfreeze.8*
%{_mandir}/man8/fstrim.8*
%{_mandir}/man8/isosize.8*
%{_mandir}/man8/ldattach.8*
%{_mandir}/man8/losetup.8*
%{_mandir}/man8/lsblk.8*
%{_mandir}/man8/lslocks.8*
%{_mandir}/man8/lsns.8*
%{_mandir}/man8/mkfs.8*
%{_mandir}/man8/mkfs.cramfs.8*
%{_mandir}/man8/mkfs.minix.8*
%{_mandir}/man8/mkswap.8*
%{_mandir}/man8/mount.8*
%{_mandir}/man8/nologin.8*
%{_mandir}/man8/partx.8*
%{_mandir}/man8/pivot_root.8*
%{_mandir}/man8/raw.8*
%{_mandir}/man8/rawdevices.8*
%{_mandir}/man8/readprofile.8*
%{_mandir}/man8/resizepart.8*
%{_mandir}/man8/rtcwake.8*
%{_mandir}/man8/setarch.8*
%{_mandir}/man8/sulogin.8*
%{_mandir}/man8/swaplabel.8*
%{_mandir}/man8/swapoff.8*
%{_mandir}/man8/swapon.8*
%{_mandir}/man8/switch_root.8*
%{_mandir}/man8/umount.8*
%{_mandir}/man8/wdctl.8*
%{_mandir}/man8/wipefs.8*
%{_mandir}/man8/zramctl.8*
%{_sbindir}/addpart
%{_sbindir}/agetty
%{_sbindir}/blkdiscard
%{_sbindir}/blkid
%{_sbindir}/blockdev
%{_sbindir}/chcpu
%{_sbindir}/ctrlaltdel
%{_sbindir}/delpart
%{_sbindir}/fdisk
%{_sbindir}/findfs
%{_sbindir}/fsck
%{_sbindir}/fsck.cramfs
%{_sbindir}/fsck.minix
%{_sbindir}/fsfreeze
%{_sbindir}/fstrim
%{_sbindir}/ldattach
%{_sbindir}/losetup
%{_sbindir}/mkfs
%{_sbindir}/mkfs.cramfs
%{_sbindir}/mkfs.minix
%{_sbindir}/mkswap
%{_sbindir}/nologin
%{_sbindir}/partx
%{_sbindir}/pivot_root
%{_sbindir}/readprofile
%{_sbindir}/resizepart
%{_sbindir}/rtcwake
%{_sbindir}/runuser
%{_sbindir}/sulogin
%{_sbindir}/swaplabel
%{_sbindir}/swapoff
%{_sbindir}/swapon
%{_sbindir}/switch_root
%{_sbindir}/wipefs
%{_sbindir}/zramctl
%{compldir}/addpart
%{compldir}/blkdiscard
%{compldir}/blkid
%{compldir}/blockdev
%{compldir}/cal
%{compldir}/chcpu
%{compldir}/chfn
%{compldir}/chrt
%{compldir}/chsh
%{compldir}/col
%{compldir}/colcrt
%{compldir}/colrm
%{compldir}/column
%{compldir}/ctrlaltdel
%{compldir}/delpart
%{compldir}/dmesg
%{compldir}/eject
%{compldir}/fallocate
%{compldir}/fdisk
%{compldir}/findmnt
%{compldir}/flock
%{compldir}/fsck
%{compldir}/fsck.cramfs
%{compldir}/fsck.minix
%{compldir}/fsfreeze
%{compldir}/fstrim
%{compldir}/getopt
%{compldir}/hexdump
%{compldir}/ionice
%{compldir}/ipcrm
%{compldir}/ipcs
%{compldir}/isosize
%{compldir}/ldattach
%{compldir}/logger
%{compldir}/look
%{compldir}/losetup
%{compldir}/lsblk
%{compldir}/lscpu
%{compldir}/lslocks
%{compldir}/mcookie
%{compldir}/mkfs
%{compldir}/mkfs.cramfs
%{compldir}/mkfs.minix
%{compldir}/mkswap
%{compldir}/more
%{compldir}/mountpoint
%{compldir}/namei
%{compldir}/nsenter
%{compldir}/partx
%{compldir}/pivot_root
%{compldir}/prlimit
%{compldir}/raw
%{compldir}/readprofile
%{compldir}/rename
%{compldir}/renice
%{compldir}/resizepart
%{compldir}/rev
%{compldir}/rtcwake
%{compldir}/runuser
%{compldir}/script
%{compldir}/scriptreplay
%{compldir}/setarch
%{compldir}/setpriv
%{compldir}/setsid
%{compldir}/setterm
%{compldir}/su
%{compldir}/swaplabel
%{compldir}/swapon
%{compldir}/tailf
%{compldir}/taskset
%{compldir}/ul
%{compldir}/unshare
%{compldir}/utmpdump
%{compldir}/uuidgen
%{compldir}/wdctl
%{compldir}/whereis
%{compldir}/wipefs
%{compldir}/write
%{compldir}/zramctl
%ifnarch s390 s390x
%{_sbindir}/clock
%{_sbindir}/fdformat
%{_sbindir}/hwclock
%{_mandir}/man8/fdformat.8*
%{_mandir}/man8/hwclock.8*
%{_mandir}/man8/clock.8*
%{compldir}/fdformat
%{compldir}/hwclock
%endif
%ifnarch %{sparc}
%doc Documentation/sfdisk.txt
%{_sbindir}/cfdisk
%{_sbindir}/sfdisk
%{_mandir}/man8/cfdisk.8*
%{_mandir}/man8/sfdisk.8*
%{compldir}/cfdisk
%{compldir}/sfdisk
%endif
%ifarch %{sparc}
%{_bindir}/sunhostid
%endif
%ifarch %cytune_archs
%{_bindir}/cytune
%{_mandir}/man8/cytune.8*
%{compldir}/cytune
%endif
%files -n uuidd
%defattr(-,root,root)
%doc Documentation/licenses/COPYING.GPLv2
%{_mandir}/man8/uuidd.8*
%{_sbindir}/uuidd
%{_unitdir}/uuidd.*
%dir %attr(2775, uuidd, uuidd) /var/lib/libuuid
%dir %attr(2775, uuidd, uuidd) /run/uuidd
%{compldir}/uuidd
%files -n libmount
%defattr(-,root,root)
%doc libmount/COPYING
%{_libdir}/libmount.so.*
%files -n libmount-devel
%defattr(-,root,root)
%doc libmount/COPYING
%{_libdir}/libmount.so
%{_includedir}/libmount
%{_libdir}/pkgconfig/mount.pc
%files -n libblkid
%defattr(-,root,root)
%doc libblkid/COPYING
%{_libdir}/libblkid.so.*
%files -n libblkid-devel
%defattr(-,root,root)
%doc libblkid/COPYING
%{_libdir}/libblkid.so
%{_includedir}/blkid
%{_mandir}/man3/libblkid.3*
%{_libdir}/pkgconfig/blkid.pc
%files -n libuuid
%defattr(-,root,root)
%doc libuuid/COPYING
%{_libdir}/libuuid.so.*
%files -n libuuid-devel
%defattr(-,root,root)
%doc libuuid/COPYING
%{_libdir}/libuuid.so
%{_includedir}/uuid
%{_mandir}/man3/uuid.3*
%{_mandir}/man3/uuid_clear.3*
%{_mandir}/man3/uuid_compare.3*
%{_mandir}/man3/uuid_copy.3*
%{_mandir}/man3/uuid_generate.3*
%{_mandir}/man3/uuid_generate_random.3*
%{_mandir}/man3/uuid_generate_time.3*
%{_mandir}/man3/uuid_generate_time_safe.3*
%{_mandir}/man3/uuid_is_null.3*
%{_mandir}/man3/uuid_parse.3*
%{_mandir}/man3/uuid_time.3*
%{_mandir}/man3/uuid_unparse.3*
%{_libdir}/pkgconfig/uuid.pc
%changelog
* Fri Feb 02 2018 Karel Zak 2.23.2-52
- fix #1534893 - RHEL7: util-linux: mount/unmount ASLR bypass via environment variable in libmount
* Wed Jan 31 2018 Karel Zak 2.23.2-51
- fix #1538545 - SELinux error creating swap file
* Tue Jan 23 2018 Karel Zak 2.23.2-50
- fix #1534893 - RHEL7: util-linux: mount/unmount ASLR bypass via environment variable in libmount
* Mon Dec 11 2017 Karel Zak 2.23.2-49
- fix #1520906 - make hostname in login(1) prompt optional
- fix #1521163 - [RFE] blkid can identify magic number and UUID of VDO volume
* Thu Nov 09 2017 Karel Zak 2.23.2-48
- improve libmount eaccess test (#1499760)
* Wed Nov 08 2017 Karel Zak 2.23.2-47
- improve lsmem (#1496421)
* Mon Oct 23 2017 Karel Zak 2.23.2-46
- fix #1496421 - Move lsmem and chmem to util-linux
* Tue Oct 17 2017 Karel Zak 2.23.2-45
- fix #1501953 - blkid shows wrong return code on failure with ambivalent results
- fix #1486777 - wipefs printing duplicate gpt clear messages
- fix #1454652 - fix test suite
* Mon Oct 16 2017 Karel Zak 2.23.2-44
- fix #1478002 - systemd read-only container produces errors
- fix #1499760 - gvfs-udisks2-volume-monitor generates huge amount of audit log with access denied messages
- fix #1498462 - agetty not parsing /etc/os-release correctly when processing /etc/issue
- fix #1490984 - Please update fdisk's manual page
- fix #1487031 - [GSS][RFE]The Ceph disk type is unknown then we run the command "fdisk -l"
- fix #1468646 - lscpu output missing Hypervisor
- fix #1455398 - flock --timeout=0 doesn't work on RHEL7
- fix #1336432 - journald: SYSLOG_IDENTIFIER is invalid when running logger
- fix #1427500 - util-linux: script does not retry on EINTR when logging command output
- fix #1336432 - journald: SYSLOG_IDENTIFIER is invalid when running logger
- fix #1296233 - login(1) writes 0.0.0.0 IP address to wtmp when executed with "-h " hostname
* Thu Jun 01 2017 Karel Zak 2.23.2-43
- fix #1457744 - lscpu -e get crashed after offline one host cpu on amd machine
* Wed May 31 2017 Karel Zak 2.23.2-42
- fix #1455664 - lscpu causes kernel panic on HPE Comanche / Cavium ThunderX2 (cn99xx)
* Tue May 23 2017 Karel Zak 2.23.2-41
- fix #1451704 - IMSM RAID on 4k disks not assembled on boot
- force gettext messages refresh (for #1358097 bugfix)
* Wed May 10 2017 Karel Zak 2.23.2-40
- improve libfdisk GPT UUID printing (#1344726)
* Tue Apr 04 2017 Karel Zak 2.23.2-39
- update package regression tests (due to #1360764 #1397709)
- improve zramctl man page (#1358755)
* Tue Apr 04 2017 Karel Zak 2.23.2-38
- improve fdisk menu for GPT (#1344720)
* Thu Mar 30 2017 Karel Zak 2.23.2-37
- improve zram mm_stat parser (#1358755)
* Wed Mar 22 2017 Karel Zak 2.23.2-36
- fix #1344102 - fdisk does not handle 4kN devices correctly in 'Blocks' calculation
- fix #1344720 - when fdisk detects gpt table, expected menu items seem to be missing in the 'm' output
- fix #1323916 - logger unnecessarily splits messages sent via stdin into 1024 byte chunks
- fix #1344726 - [RFE] fdisk: output UID from gpt in fdisk when detecting that a gpt partition table is present
- fix #1362662 - fdisk -l fails/stops on first passive/not ready device, works on RHEL6
- fix #1369436 - losetup man page incorrect syntax for Setup loop device
- fix #1392656 - [LLNL 7.4 Bug] fix buffer overflows in util-linux with upstream patch
- fix #1370959 - [FJ7.3 Bug]: man 8 umount is wrong.
- fix #1357746 - mount -av" report NFS "successfully mounted" but it is not.
- fix #1417722 - umount -a results in selinux being reported as Disabled
- fix #1402825 - RHEL7: "sfdisk -s" can't list the disk size
- fix #1403973 - /usr/bin/more crash on repeat search on failed regex match
- fix #1403971 - /usr/bin/more crash in end_it due to double free
- fix #1358095 - ipcs shows wrong gid information
- fix #1358097 - ipcs shows strange status message in ja locale
- fix #1378100 - fix swapon discard option parsing
- fix #1416467 - [RFE] Add support for posix_fallocate(3) call in fallocate(1) utility
- fix #1358755 - Backport request for zramctl on util-linux v2.23.2
- fix #1392661 - [LLNL 7.4 Bug] add zfs patches to util-linux
- fix #1360764 - SMT: "Threads Per Core" will automatically change when odd or even number of vcpu are enabled online.
- fix #1397709 - [7.4 FEAT] Refresh code for lscpu to support s390x cpu topology
- fix #1402183 - [HPE 7.3 Bug] fdisk -l does not list non-BTT NVDIMM devices
* Wed Feb 8 2017 Karel Zak 2.23.2-35
* fix #1419474 - su: properly clear child PID
* Mon Jan 23 2017 Karel Zak 2.23.2-34
- fix #1405238 - findmnt --target behaviour changed in 7.3, shows all mount-points in chroot
* Tue Jul 12 2016 Karel Zak 2.23.2-33
- improve patch for #1007734 (libblkid realpaths)
* Tue Jul 12 2016 Karel Zak 2.23.2-32
- improve patch for chrt(1) deadline support #1298384
- fix #1007734 - blkid shows devices as /dev/block/$MAJOR:$MINOR
- fix #1349536 - Extended partition loop in MBR partition table leads to DOS
* Mon Jul 04 2016 Karel Zak 2.23.2-31
- improve spec file for #1092520
* Fri Jul 01 2016 Karel Zak 2.23.2-30
- improve patch for chrt(1) deadline support #1298384
- improve regression tests
* Thu Jun 30 2016 Karel Zak 2.23.2-29
- fix #1029385 - lack of non-ascii support
- fix #1092520 - util-linux - PIE and RELRO check
- fix #1153770 - backport lsipc
- fix #1248003 - mount only parses = lines from fstab fs_spec field available from blkid block device
- fix #1271850 - mount -a doesn't catch a typo in /etc/fstab and a typo in /etc/fstab can make a system not reboot properly
- fix #1281839 - [RFE]Bind mounts should be handled gracefully by the operating system
- fix #1290689 - util-linux: /bin/login does not retry getpwnam_r with larger buffers, leading to login failure
- fix #1296366 - Bash completion for more(1) handles file names with spaces incorrectly
- fix #1296521 - RHEL7: update audit event in hwclock
- fix #1298384 - RFE: add SCHED_DEADLINE support to chrt
- fix #1304246 - fdisk 'f' subcommand updates partition ranges wrongly
- fix #1304426 - [rfe] /bin/su should be improved to reduce stack use
- fix #1326615 - util-linux/lscpu: Fix model and model name on Power Systems
- fix #1327886 - Backport blkdiscard's "-z" flag to RHEL
- fix #1332084 - [RFE] Inclusion of lsns command in util-linux Package
- fix #1335671 - extra quotes around UUID confuses findfs in RHEL (but not in Fedora)
- fix #1344222 - logger port option in help is misleading
- fix #1344482 - util-linux fails valid_pmbr() size checks if device is > 2.14TB, Device label type: dos instead of gpt
- fix #587393 - [RFE] Make sure util-linux is ready for writable overlays
* Wed Mar 16 2016 Karel Zak 2.23.2-28
- fix #1291554 - lslogins crash when executed with buggy username
* Thu Jan 28 2016 Karel Zak 2.23.2-27
- fix #1301091 - [libblkid] Failed to get offset of the xfs_external_log signature
* Fri Aug 21 2015 Karel Zak 2.23.2-26
- fix #1182831 - blkid incorrectly detects boot sec + MBR as FAT
* Wed Aug 12 2015 Karel Zak 2.23.2-25
- fix #1251250 - blkid outputs nothing for some partitions (e.g. sun label)
* Thu Jul 2 2015 Karel Zak 2.23.2-24
- fix #1199619 - os-prober attempts to mount thin pool devices
* Tue Jun 23 2015 Karel Zak 2.23.2-23
- fix #1225235 - blockdev --report fails on loop and pmem devices
- fix #1225053 - [RFE] backport fstrim -a and unit file
- fix #1131523 - mount does not appear to be correctly documented for default mount options
- fix #1147526 - Incorrect message printed when su is killed
- fix #1165702 - make login(1) insensitive to SIGXFSZ and huge lastlog
- fix #1184558 - logger silently changes facility from kern to user
- fix #1198243 - blkid does not recognize xfs external log device
- fix #1208081 - lsblk does not list dm-multipath and partitioned devices
- fix #1209594 - RHEL7: unshare: add --propagation, use MS_PRIVATE by default
- fix #1229436 - Remove patch that disables User Namespaces
- fix #1116100 - Add -Z SELInux option to nsenter
* Mon Apr 20 2015 Karel Zak 2.23.2-22
- fix #1092039 - uuidd not configured to run permanently
* Tue Jan 13 2015 Karel Zak 2.23.2-21
- fix #1181444 - raw command fails with "Cannot locate raw device"
* Fri Dec 12 2014 Karel Zak 2.23.2-20
- fix lslogins patch (#1113043)
* Mon Oct 27 2014 Karel Zak 2.23.2-19
- fix #1156352 - blkdiscard progress report and interruptibility of the process
* Fri Oct 10 2014 Karel Zak 2.23.2-18
- fix #1149278 - partx fails to update a specific partition other than the first
* Thu Sep 25 2014 Karel Zak 2.23.2-17
- fix #1067354 - dmesg -w output not line-buffered
- fix #1072298 - util-linux/lscpu: '--sysroot' broken on XFS
- fix #1072930 - hwclock --systohc can hang on busy or virtual machine
- fix #1077310 - wipefs problem with some live .isos
- fix #1077864 - swapon: allow a more flexible swap discard policy
- fix #1080407 - libblkid XFS detection is too fragile
- fix #1115442 - kill(1) doesn't check errno after calling strtol()
- fix #1127823 - losetup does not accept offset
- fix #1127891 - wipefs 4k disks and gpt partitions
- fix #1136111 - "findmnt" returns incomplete output on kernel-3.14
- fix #1140591 - improve mount --move documentation
- fix #1131522 - backport --fork and --mount-proc to unshare(1)
- fix #1113043 - backport lslogins(1)
* Fri Mar 28 2014 Karel Zak 2.23.2-16
- fix bugs in patch for #1047376
* Tue Mar 25 2014 Karel Zak 2.23.2-15
- fix #1078618 - flock nfs file fails on nfsv4
- fix #1047376 - blkid hangs while reading from /dev/fd0
- fix #1079931 - fsck: warning on kdump boot
* Wed Mar 12 2014 Karel Zak 2.23.2-14
- fix #1073851 - disable user namespaces at all
* Thu Feb 20 2014 Karel Zak 2.23.2-13
- fix #1061751 - nsenter set uid for user namespaces
* Fri Jan 24 2014 Daniel Mach - 2.23.2-12
- Mass rebuild 2014-01-24
* Thu Jan 23 2014 Karel Zak 2.23.2-11
- fix #1046849 - filesystem type is not correctly displayed by df command
- fix #1055490 - libblkid: Do not problem for backup btrfs superblock
- fix #1054186 - wipefs does not clean gpt header fully, PMBR remains
* Tue Jan 14 2014 Karel Zak 2.23.2-10
- sort NOMA nodes in lscpu(1) output to improve fix for #1050852
* Tue Jan 14 2014 Karel Zak 2.23.2-9
- fix #1039189 - taskset man page PERMISSIONS section is incorrect
- fix #1050852 - lscpu: support discontinuous NUMA nodes
* Fri Dec 27 2013 Daniel Mach - 2.23.2-8
- Mass rebuild 2013-12-27
* Fri Nov 15 2013 Karel Zak 2.23.2-7
- fix #1024366 - losetup does not use loop-control to add device
- fix #1016471 - document that blockdev --setbsz call has never worked
* Mon Oct 7 2013 Karel Zak 2.23.2-6
- fix #1010193 - libmount umount issues
- fix #1009349 - Joking sfdisk rewriting PT after "n"
- fix #1007885 - utmpdump is not IPv6 ready
* Thu Sep 12 2013 Karel Zak 2.23.2-5
- fix #1006462 - RFE: allow \S escape that defaults to PRETTY_NAME in /etc/issue handling
* Mon Sep 9 2013 Karel Zak 2.23.2-4
- fix #1005566 - recount_geometry: Process /usr/sbin/fdisk was killed by signal 8 (SIGFPE)
- fix #1005194 - su generates incorrect log entries
* Mon Sep 9 2013 Karel Zak 2.23.2-3
- refresh and rename patches
- fix #987787 - Remove lastlogin from su
- fix #950497 - problem umounting loop device
- fix #921498 - multiple internal testsuite failures
* Thu Aug 1 2013 Karel Zak 2.23.2-2
- fix 990083 - su doesn't work with pam_ecryptfs
* Wed Jul 31 2013 Karel Zak 2.23.2-1
- upgrade to stable release 2.23.2
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.23/v2.23.2-ReleaseNotes
* Thu Jun 13 2013 Karel Zak 2.23.1-3
- fix #972457 - agetty idle I/O polling causes elevated CPU usage
* Wed Jun 5 2013 Karel Zak 2.23.1-2
- fix #962145 - in.telnetd immediately closes connection
* Tue May 28 2013 Karel Zak 2.23.1-1
- upgrade to 2.23.1
- backport agetty --local-line path
* Thu Apr 25 2013 Karel Zak 2.23-1
- upgrade to 2.23
- add --with check to call make check
* Mon Apr 15 2013 Karel Zak 2.23-0.7
- remove unused patches
* Mon Apr 15 2013 Karel Zak 2.23-0.6
- remove floppy from util-linux
* Fri Apr 12 2013 Karel Zak 2.23-0.5
- fix #948274 - interruption code 0x4003B in libmount.so.1.1.0
* Wed Apr 10 2013 Karel Zak 2.23-0.4
- upgrade to the release 2.23-rc2
* Wed Mar 27 2013 Karel Zak 2.23-0.3
- libblkid ntfs bugfix for build on s390
* Wed Mar 27 2013 Karel Zak 2.23-0.2
- add upstream patches for to fix umount and mount.
* Fri Mar 22 2013 Karel Zak 2.23-0.1
- upgrade to the release 2.23-rc1
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.23/v2.23-ReleaseNotes
- add nsenter and blkdiscard
- remove tunelp
* Wed Feb 20 2013 Karel Zak 2.22.2-6
- fix #912778 - "runuser -l" doesn't register session to systemd
* Tue Feb 19 2013 Karel Zak 2.22.2-5
- fix #902512 - Dependency failed for /home (and blkid fails to tell UUID)
- refresh old patches
* Wed Feb 6 2013 Karel Zak 2.22.2-4
- improve convertion to mtab symlink in post script
- spec file cleanup (based on #894199)
* Sun Feb 3 2013 Karel Zak 2.22.2-3
- fix #882305 - agetty: unstable /dev/tty* permissions
- fix #885314 - hexdump segfault
- fix #896447 - No newlines in piped "cal" command
- fix libblkid cache usage (upstream patch)
- fix #905008 - uuidd: /usr/sbin/uuidd has incorrect file permissions
* Tue Jan 15 2013 Karel Zak 2.22.2-2
- fix #889888 - wipefs does not completely wipe btrfs volume
* Thu Dec 13 2012 Karel Zak 2.22.2-1
- upgrade to upstream maintenance release 2.22.2
* Mon Nov 19 2012 Karel Zak 2.22.1-5
- sources cleanup
* Fri Nov 16 2012 Karel Zak 2.22.1-4
- fix #872787 - su: COMMAND not specified
* Thu Nov 1 2012 Karel Zak 2.22.1-3
- backport upstream runuser(1)
- enable su(1)
* Thu Nov 1 2012 Karel Zak 2.22.1-2
- apply pathes from upstream stable/v2.22 branch
- fix #865961 - wipefs -a should use O_EXCL
* Thu Oct 10 2012 Karel Zak 2.22.1-1
- upgrade to the release 2.22.1
* Wed Oct 3 2012 Karel Zak 2.22-2
- remove obsolete references to e2fsprogs
* Thu Sep 6 2012 Karel Zak 2.22-1
- upgrade to the release 2.22
- enable eject(1) from util-linux, obsolete original eject package
- fix #853164 - setuid program should have full RELRO
- fix #851230 - probe_ntfs: /usr/sbin/blkid was killed by SIGSEGV
* Thu Aug 16 2012 Karel Zak 2.22-0.1
- upgrade to the release 2.22-rc2
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.22/v2.22-ReleaseNotes
- add sulogin, utmpdump, lslocks, wdctl
* Fri Jul 27 2012 Fedora Release Engineering - 2.21.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Wed Jun 13 2012 Karel Zak 2.21.2-2
- replace udev dependenceis with systemd
* Fri May 25 2012 Karel Zak 2.21.2-1
- upgrade to bugfix release 2.21.2
- fix #814699 - namei(1) incorrectly resolves relative symlinks
- fix #820707 - Impossible to unmount nfsv4/krb5 mounts after network disconnect
- fix #816877 - libmount does not close device fd before mount(2)
- fix #822705 - unable to login after installing
* Fri Mar 30 2012 Karel Zak 2.21.1-1
- upgrade to bugfix release 2.21.1
* Fri Feb 24 2012 Karel Zak 2.21-1
- upgrade to release 2.21
* Thu Feb 09 2012 Karel Zak 2.21-0.2
- fix #788703 - /run/blkid does not exist
* Thu Feb 07 2012 Karel Zak 2.21-0.1
- upgrade to the release 2.21-rc2
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.21/v2.21-ReleaseNotes
- add {fsck,mkfs}.minix
- add new command chcpu(8)
- add new command prlimit(1)
- enable raw(8) command
- move 60-raw.rules from /etc from /usr/lib/udev/rules.d
- move blkid cache from etc to /run/blkid
* Wed Jan 25 2012 Harald Hoyer 2.20.1-5
- install everything in /usr
https://fedoraproject.org/wiki/Features/UsrMove
* Sat Jan 14 2012 Fedora Release Engineering - 2.20.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Nov 22 2011 Karel Zak 2.20.1-3
- fix #748216 - util-linux requires pam >= 1.1.3-7
- remove ddate(1)
* Wed Oct 26 2011 Fedora Release Engineering - 2.20.1-2
- Rebuilt for glibc bug#747377
* Thu Oct 20 2011 Karel Zak 2.20.1-1
- upgrade to the release 2.20.1
ftp://ftp.infradead.org/pub/util-linux/v2.20/v2.20.1-ReleaseNotes
* Mon Aug 29 2011 Karel Zak 2.20-1
- upgrade to the release 2.20
* Wed Aug 17 2011 Karel Zak 2.20-0.2
- upgrade to the release 2.20-rc2
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.20/v2.20-rc2-ChangeLog
* Fri Aug 2 2011 Karel Zak 2.20-0.1
- upgrade to the release 2.20-rc1
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.20/v2.20-ReleaseNotes
* Mon Jul 4 2011 Karel Zak 2.19.1-2
- fix #716483 - /var/tmp --(BIND-mounted)--> /tmp disrupts/hangs bootup
- fix #709681 - failure to mount if a mount point ends with a slash in /etc/fstab
- fix #709319 - 'mount -a' mounts already mounted directories
- fix kernel version parsing
* Fri May 6 2011 Karel Zak 2.19.1-1
- upgrade to the release 2.19.1
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.19/v2.19.1-ReleaseNotes
* Wed Apr 20 2011 Karel Zak 2.19.1-0.1
- upgrade to the release 2.19.1-rc1
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.19/v2.19.1-rc1-ChangeLog
* Mon Mar 7 2011 Karel Zak 2.19-2
- fix #682502 - Broken source URL to floppy tarball, new version available
- upgrade to floppy-0.18
* Thu Feb 10 2011 Karel Zak 2.19-1
- upgrade to the release 2.19
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.19/v2.19-ReleaseNotes
- remove /sbin/mount.tmpfs -- integrated to mount(8)
* Tue Feb 8 2011 Karel Zak 2.19-0.6
- fix #665062 - add support for the postlogin PAM stack to util-linux-ng
* Mon Feb 07 2011 Fedora Release Engineering - 2.19-0.5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Jan 25 2011 Karel Zak 2.19-0.4
- upgrade to the release 2.19-rc3
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.19/v2.19-rc3-ChangeLog
* Tue Jan 25 2011 Karel Zak 2.19-0.3
- upgrade to the release 2.19-rc2
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.19/v2.19-rc2-ChangeLog
- fix #671893 - SELinux is preventing /bin/chown from 'setattr' accesses
on the file mounts.
* Wed Jan 19 2011 Karel Zak 2.19-0.2
- clean up specfile (review #667416)
* Wed Jan 5 2011 Karel Zak 2.19-0.1
- upgrade to the release 2.19-rc1
ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.19/v2.19-ReleaseNotes
* Tue Oct 26 2010 Karel Zak 2.18-5
- fix #645640 - new "-s" parameter parsing in agetty does not work
- add -l (lock) support to fsck
* Wed Aug 18 2010 Karel Zak 2.18-4
- fix #623685 - please extend agetty to not require a baud rate to be specified
* Thu Aug 5 2010 Karel Zak 2.18-3
- fix #620924 - /sbin/mount.tmpfs uses not available /usr/bin/id
* Mon Aug 2 2010 Karel Zak 2.18-2
- fix #615719 - tmpfs mount fails with 'user' option.
- fix #598631 - shutdown, reboot, halt and C-A-D don't work
- fix #618957 - ISO images listed in fstab are mounted twice at boot
* Wed Jun 30 2010 Karel Zak 2.18-1
- upgrade to the final 2.18
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.18/v2.18-ReleaseNotes
* Fri Jun 18 2010 Karel Zak 2.18-0.2
- upgrade to 2.18-rc2
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.18/v2.18-rc2-ChangeLog
* Tue Jun 8 2010 Karel Zak 2.18-0.1
- upgrade to the release 2.18-rc1
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.18/v2.18-ReleaseNotes
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.18/v2.18-rc1-ChangeLog
* Mon Apr 12 2010 Karel Zak 2.17.2-1
- fix #581252 - remounting tmpfs fails because of hidden rootcontext=
- fix #580296 - "rtcwake" does miss the "off" option
- fix #575734 - use microsecond resolution for blkid cache entries
- upgrade to the bugfix release 2.17.2
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.17/v2.17.2-ReleaseNotes
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.17/v2.17.2-ChangeLog
- minor fixed in spec file
* Thu Mar 11 2010 Karel Zak 2.17.1-2
- fix #533874 - libblkid should allow scanning of slow devices (eg. cdroms)
* Mon Feb 22 2010 Karel Zak 2.17.1-1
- upgrade to the final 2.17.1
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.17/v2.17.1-ReleaseNotes
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.17/v2.17.1-ChangeLog
* Tue Feb 16 2010 Karel Zak 2.17.1-0.1
- upgrade to 2.17.1-rc1
* Tue Feb 16 2010 Karel Zak 2.17-4
- fix uuidd init script
* Fri Feb 12 2010 Karel Zak 2.17-3
- fix #541402 - uuidd initscript lsb compliance
* Fri Jan 8 2010 Karel Zak 2.17-2
- remove Provides: lib{uuid,blkid}-static (thanks to Michael Schwendt)
- remove useless URL to sf.net
* Thu Jan 8 2010 Karel Zak 2.17-1
- upgrade to the final 2.17
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.17/v2.17-ReleaseNotes
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.17/v2.17-ChangeLog
- fix #545147 - util-linux-ng : Violation of the Packaging Guidelines
(remove uuid and blkid static libs)
* Mon Dec 14 2009 Karel Zak 2.17-0.6
- minor fixes in spec file (fix URL, add Requires, add LGPLv2+)
* Wed Dec 9 2009 Karel Zak 2.17-0.5
- upgrade to 2.17-rc2
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.17/v2.17-rc2-ChangeLog
* Mon Dec 7 2009 Karel Zak 2.17-0.4
- add clock.8 man page (manlink to hwclock)
- add --help to mount.tmpfs
* Mon Nov 23 2009 Karel Zak 2.17-0.3
- upgrade to 2.17-rc1
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.17/v2.17-rc1-ChangeLog
* Tue Nov 10 2009 Karel Zak 2.17-0.2.git10dfc39
- upgrade to pre-release snapshot (official changelog not available yet, see
http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git for now)
* Mon Oct 19 2009 Karel Zak 2.17-0.1.git5e51568
- upgrade to pre-release snapshot (official changelog not available yet, see
http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git for now)
- new commands: fallocate, unshare, wipefs
- libblkid supports topology and partitions probing
- remove support for --rmpart[s] from blockdev(8) (util-linux-ng-2.14-blockdev-rmpart.patch)
- merged upstream:
util-linux-ng-2.14-sfdisk-dump.patch
util-linux-ng-2.16-blkid-swsuspend.patch
util-linux-ng-2.16-libblkid-compression.patch
util-linux-ng-2.16-libblkid-ext2.patch
util-linux-ng-2.16-switchroot-tty.patch
* Mon Oct 5 2009 Karel Zak 2.16-13
- fix spec file
* Fri Oct 2 2009 Karel Zak 2.16-12
- release++
* Thu Oct 1 2009 Karel Zak 2.16-11
- fix #519237 - bash: cannot set terminal process group (-1): Inappropriate ioctl for device
* Wed Sep 16 2009 Tomas Mraz - 2.16-10
- use password-auth common PAM configuration instead of system-auth and
drop pam_console.so call from the remote PAM config file
* Mon Sep 14 2009 Karel Zak 2.16-9
- fix #522718 - sfdisk -d /dev/xxx | sfdisk --force /dev/yyy fails when LANG is set
- fix typo in swsuspend detection
* Wed Aug 26 2009 Tomas Mraz - 2.16-8
- rebuilt with new audit
* Sun Aug 23 2009 Karel Zak 2.16-7
- fix #518572 - blkid requires ext2.ko to be decompressed on installation media
* Thu Aug 13 2009 Karel Zak 2.16-5
- fix #513104 - blkid returns no fstype for ext2 device when ext2 module not loaded
* Wed Aug 5 2009 Stepan Kasal 2.16-4
- set conflict with versions of e2fsprogs containing fsck
* Thu Jul 30 2009 Karel Zak 2.16-3
- remove the mount.conf support (see #214891)
* Mon Jul 27 2009 Karel Zak 2.16-2
- fix #214891 - add mount.conf and MTAB_LOCK_DIR= option
* Sat Jul 25 2009 Karel Zak 2.16-1
- upgrade to 2.16
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.16/v2.16-ReleaseNotes
- enable built-in libuuid (replacement for the old uuid stuff from e2fsprogs)
- new commands switch_root, uuidgen and uuidd (subpackage)
* Wed Jun 10 2009 Karel Zak 2.15.1-1
- upgrade to 2.15.1
* Mon Jun 8 2009 Karel Zak 2.15.1-0.2
- set BuildRequires: e2fsprogs-devel
- add Requires: e2fsprogs-devel to libblkid-devel
* Thu Jun 4 2009 Karel Zak 2.15.1-0.1
- upgrade to 2.15.1-rc1
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.15/v2.15-ReleaseNotes
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.15/v2.15.1-rc1-ChangeLog
- merged patches:
util-linux-ng-2.14-login-remote.patch
util-linux-ng-2.14-fdisk-4k-I.patch
util-linux-ng-2.14-fdisk-4k-II.patch
util-linux-ng-2.14-fdisk-4k-III.patch
util-linux-ng-2.14-dmesg-r.patch
util-linux-ng-2.14-flock-segfaults.patch
util-linux-ng-2.14-renice-n.patch
- new commands: lscpu, ipcmk
- remove support for "managed" and "kudzu" mount options
- cleanup spec file
- enable built-in libblkid (replacement for the old blkid from e2fsprogs)
* Thu Apr 2 2009 Karel Zak 2.14.2-8
- fix #490769 - post scriptlet failed (thanks to Dan Horak)
* Fri Mar 20 2009 Karel Zak 2.14.2-7
- fix some nits in mount.tmpfs
* Fri Mar 20 2009 Karel Zak 2.14.2-6
- fix #491175 - mount of tmpfs FSs fail at boot
* Thu Mar 19 2009 Karel Zak 2.14.2-5
- fix #489672 - flock segfaults when file name is not given (upstream)
- fix #476964 - Mount /var/tmp with tmpfs creates denials
- fix #487227 - fdisk 4KiB hw sectors support (upstream)
- fix #477303 - renice doesn't support -n option (upstream)
* Wed Feb 25 2009 Fedora Release Engineering - 2.14.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Fri Feb 20 2009 Karel Zak 2.14.2-3
- add -r option to dmesg(1)
* Mon Feb 9 2009 Karel Zak 2.14.2-2
- fix typo in spec file
* Mon Feb 9 2009 Karel Zak 2.14.2-1
- upgrade to stable 2.14.2
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.14/v2.14.2-ReleaseNotes
* Thu Jan 22 2009 Karel Zak 2.14.2-0.2
- fix #480413 - util-linux-ng doesn't include scriptreplay
- fix #479002 - remove dependency on ConsoleKit-libs
- upgrade to 2.14.2-rc2
* Mon Dec 22 2008 Karel Zak 2.14.2-0.1
- upgrade to 2.14.2-rc1
- refresh old patches
* Fri Nov 21 2008 Karel Zak 2.14.1-5
- fix #472502 - problem with fdisk and use +sectors for the end of partition
* Mon Oct 6 2008 Karel Zak 2.14.1-3
- fix #465761 - mount manpage is missing uid/gid mount options for tmpfs
- refresh util-linux-ng-2.14-mount-file_t.patch (fuzz=0)
* Wed Sep 10 2008 Karel Zak 2.14.1-2
- remove obsolete pam-console support
* Wed Sep 10 2008 Karel Zak 2.14.1-1
- upgrade to stable 2.14.1
* Thu Aug 14 2008 Karel Zak 2.14.1-0.1
- upgrade to 2.14.1-rc1
- refresh old patches
* Thu Jul 24 2008 Karel Zak 2.14-3
- update util-linux-ng-2.14-mount-file_t.patch to make
the SELinux warning optional (verbose mode is required)
* Tue Jul 1 2008 Karel Zak 2.14-2
- fix #390691 - mount should check selinux context on mount, and warn on file_t
* Mon Jun 9 2008 Karel Zak 2.14-1
- upgrade to stable util-linux-ng release
* Mon May 19 2008 Karel Zak 2.14-0.1
- upgrade to 2.14-rc3
- remove arch(8) (deprecated in favor of uname(1) or arch(1) from coreutils)
- add a new command ldattach(8)
- cfdisk(8) linked with libncursesw
* Tue Apr 22 2008 Karel Zak 2.13.1-9
- fix audit log injection attack via login
* Thu Apr 17 2008 Karel Zak 2.13.1-8
- fix location of the command raw(8)
* Tue Apr 15 2008 Karel Zak 2.13.1-7
- fix 244383 - libblkid uses TYPE="swsuspend" for S1SUSPEND/S2SUSPEND
* Wed Apr 2 2008 Karel Zak 2.13.1-6
- fix 439984 - backport mkswap -U
* Wed Mar 26 2008 Tom "spot" Callaway - 2.13.1-5
- clean up sparc conditionals
* Tue Feb 19 2008 Fedora Release Engineering - 2.13.1-4
- Autorebuild for GCC 4.3
* Mon Jan 28 2008 Karel Zak 2.13.1-3
- upgrade to new upstream release
- fix #427874 - util-linux-ng gets "excess command line argument" on update
* Wed Jan 2 2008 Karel Zak 2.13.1-2
- update to upstream 2.13.1-rc2
* Wed Dec 12 2007 Dan Walsh 2.13.1-1
- Fix pam files so that pam_keyinit happens after pam_selinux.so
* Wed Dec 12 2007 Karel Zak 2.13.1-0.2
- remove viwp and vigr (in favour of shadow-utils)
* Sun Dec 9 2007 Karel Zak 2.13.1-0.1
- update to the latest upstream stable branch
(commit: fda9d11739ee88c3b2f22a73f12ec019bd3b8335)
* Wed Oct 31 2007 Karel Zak 2.13-4
- fix #354791 - blockdev command calls the blkpg ioctl with a wrong data structure
* Tue Oct 16 2007 Karel Zak 2.13-3
- fix mount -L | -U segfault
- fix script die on SIGWINCH
* Thu Oct 4 2007 Karel Zak 2.13-2
- update to the latest upstream stable branch
* Tue Aug 28 2007 Karel Zak 2.13-1
- upgrade to stable util-linux-ng release
* Fri Aug 24 2007 Karel Zak 2.13-0.59
- add release number to util-linux Provides and increment setarch Obsoletes
- fix #254114 - spec typo
- upgrade to floppy-0.16
- add BuildRequires: popt-devel
* Wed Aug 22 2007 Jesse Keating 2.13-0.58
- Obsolete a sufficiently high enough version of setarch
* Mon Aug 20 2007 Karel Zak 2.13-0.57
- fix #253664 - util-linux-ng fails to build on sparc (patch by Dennis Gilmore)
- rebase to new GIT snapshot
* Mon Aug 20 2007 Karel Zak 2.13-0.56
- fix obsoletes field
* Mon Aug 20 2007 Karel Zak 2.13-0.55
- util-linux-ng includes setarch(1), define relevat Obsoletes+Provides
* Mon Aug 20 2007 Karel Zak 2.13-0.54
- port "blockdev --rmpart" patch from util-linux
- use same Provides/Obsoletes setting like in util-linux
* Wed Aug 15 2007 Karel Zak 2.13-0.53
- fix #252046 - review Request: util-linux-ng (util-linux replacement)
* Mon Aug 13 2007 Karel Zak 2.13-0.52
- rebase to util-linux-ng (new util-linux upstream fork,
based on util-linux 2.13-pre7)
- more than 70 Fedora/RHEL patches have been merged to upstream code
* Fri Apr 6 2007 Karel Zak 2.13-0.51
- fix #150493 - hwclock --systohc sets clock 0.5 seconds slow
- fix #220873 - starting RPC idmapd: Error: RPC MTAB does not exist.
(added rpc_pipefs to util-linux-2.13-umount-sysfs.patch)
- fix #227903 - mount -f does not work with NFS-mounted
* Sat Mar 3 2007 David Zeuthen 2.13-0.50
- include ConsoleKit session module by default (#229172)
* Thu Jan 11 2007 Karel Zak 2.13-0.49
- fix #222293 - undocumented partx,addpart, delpart
* Sun Dec 17 2006 Karel Zak 2.13-0.48
- fix paths in po/Makefile.in.in
* Fri Dec 15 2006 Karel Zak 2.13-0.47
- fix #217240 - namei ignores non-directory components instead of saying "Not a directory"
- fix #217241 - namei enforces symlink limits inconsistently
* Wed Dec 14 2006 Karel Zak 2.13-0.46
- fix leaking file descriptor in the more command (patch by Steve Grubb)
* Wed Dec 13 2006 Karel Zak 2.13-0.45
- use ncurses only
- fix #218915 - fdisk -b 4K
- upgrade to -pre7 release
- fix building problem with raw0 patch
- fix #217186 - /bin/sh: @MKINSTALLDIRS@: No such file or directory
(port po/Makefile.in.in from gettext-0.16)
- sync with FC6 and RHEL5:
- fix #216489 - SCHED_BATCH option missing in chrt
- fix #216712 - issues with raw device support ("raw0" is wrong device name)
- fix #216760 - mount with context or fscontext option fails
(temporarily disabled the support for additional contexts -- not supported by kernel yet)
- fix #211827 - Can't mount with additional contexts
- fix #213127 - mount --make-unbindable does not work
- fix #211749 - add -r option to losetup to create a read-only loop
* Thu Oct 12 2006 Karel Zak 2.13-0.44
- fix #209911 - losetup.8 updated (use dm-crypt rather than deprecated cryptoloop)
- fix #210338 - spurious error from '/bin/login -h $PHONENUMBER' (bug in IPv6 patch)
- fix #208634 - mkswap "works" without warning on a mounted device
* Sun Oct 01 2006 Jesse Keating - 2.13-0.43
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Wed Sep 20 2006 Karel Zak 2.13-0.42
- remove obsolete NFS code and patches (we use /sbin/mount.nfs
and /sbin/umount.nfs from nfs-utils now)
- move nfs.5 to nfs-utils
* Fri Sep 15 2006 Karel Zak 2.13-0.41
- fix #205038 - mount not allowing sloppy option (exports "-s"
to external /sbin/mount.nfs(4) calls)
- fix minor bug in util-linux-2.13-mount-twiceloop.patch
- fix #188193- util-linux should provide plugin infrastructure for HAL
* Mon Aug 21 2006 Karel Zak 2.13-0.40
- fix Makefile.am in util-linux-2.13-mount-context.patch
- fix #201343 - pam_securetty requires known user to work
(split PAM login configuration to two files)
- fix #203358 - change location of taskset binary to allow for early affinity work
* Fri Aug 11 2006 Karel Zak 2.13-0.39
- fix #199745 - non-existant simpleinit(8) mentioned in ctrlaltdel(8)
* Thu Aug 10 2006 Dan Walsh 2.13-0.38
- Change keycreate line to happen after pam_selinux open call so it gets correct context
* Thu Aug 10 2006 Karel Zak 2.13-0.37
- fix #176494 - last -i returns strange IP addresses (patch by Bill Nottingham)
* Thu Jul 27 2006 Karel Zak 2.13-0.36
- fix #198300, #199557 - util-linux "post" scriptlet failure
* Thu Jul 27 2006 Steve Dickson 2.13-0.35
- Added the -o fsc flag to nfsmount.
* Wed Jul 26 2006 Karel Zak 2.13-0.34
- rebuild
* Tue Jul 18 2006 Karel Zak 2.13-0.33
- add Requires(post): libselinux
* Mon Jul 17 2006 Karel Zak 2.13-0.32
- add IPv6 support to the login command (patch by Milan Zazrivec)
- fix #198626 - add keyinit instructions to the login PAM script
(patch by David Howells)
* Wed Jul 12 2006 Jesse Keating - 2.13-0.31.1
- rebuild
* Tue Jul 11 2006 Karel Zak 2.13-0.31
- cleanup dependences for post and preun scriptlets
* Mon Jul 10 2006 Karsten Hopp 2.13-0.30
- silence install in minimal buildroot without /var/log
* Fri Jul 7 2006 Karel Zak 2.13-0.29
- include the raw command for RHELs
* Mon Jun 26 2006 Florian La Roche 2.13-0.28
- move install-info parts from postun to preun
* Wed Jun 21 2006 Dan Walsh 2.13-0.27
- Only execute chcon on machines with selinux enabled
* Wed Jun 14 2006 Steve Dickson 2.13-0.26
- Remove unneeded header files from nfsmount.c
* Mon Jun 12 2006 Karel Zak 2.13-0.25
- fix #187014 - umount segfaults for normal user
- fix #183446 - cal not UTF-8-aware
- fix #186915 - mount does not translate SELIinux context options though libselinux
- fix #185500 - Need man page entry for -o context= mount option
- fix #152579 - missing info about /etc/mtab and /proc/mounts mismatch
- fix #183890 - missing info about possible ioctl() and fcntl() problems on NFS filesystem
- fix #191230 - using mount --move results in wrong data in /etc/mtab
- added mount subtrees support
- fdisk: wrong number of sectors for large disks (suse#160822)
- merge fdisk-xvd (#182553) with new fdisk-isfull (#188981) patch
- fix #181549 - raw(8) manpage has old information about dd
- remove asm/page.h usage
* Wed May 24 2006 Dan Walsh 2.13-0.24
- Remove requirement on restorecon, since we can do the same thing
- with chcon/matchpathcon, and not add requirement on policycoreutils
* Wed May 24 2006 Steve Dickson 2.13-0.23
- Fixed bug in patch for bz183713 which cause nfs4 mounts to fail.
* Tue May 2 2006 Steve Dickson 2.13-0.22
- Added syslog logging to background mounts as suggested
by a customer.
* Mon May 1 2006 Steve Dickson 2.13-0.21
- fix #183713 - foreground mounts are not retrying as advertised
- fix #151549 - Added 'noacl' mount flag
- fix #169042 - Changed nfsmount to try udp before using tcp when rpc-ing
the remote rpc.mountd (iff -o tcp is not specified).
This drastically increases the total number of tcp mounts
that can happen at once (ala autofs).
* Wed Mar 9 2006 Jesse Keating 2.13-0.20
- Better calling of restorecon as suggested by Bill Nottingham
- prereq restorecon to avoid ordering issues
* Wed Mar 9 2006 Jesse Keating 2.13-0.19
- restorecon /var/log/lastlog
* Wed Mar 8 2006 Karel Zak 2.13-0.17
- fix #181782 - mkswap selinux relabeling (fix util-linux-2.13-mkswap-selinux.patch)
* Wed Feb 22 2006 Karel Zak 2.13-0.16
- fix #181782 - mkswap should automatically add selinux label to swapfile
- fix #180730 - col is exiting with 1 (fix util-linux-2.12p-col-EILSEQ.patch)
- fix #181896 - broken example in schedutils man pages
- fix #177331 - login omits pam_acct_mgmt & pam_chauthtok when authentication is skipped.
- fix #177523 - umount -a should not unmount sysfs
- fix #182553 - fdisk -l inside xen guest shows no disks
* Fri Feb 10 2006 Jesse Keating - 2.13-0.15.1
- bump again for double-long bug on ppc(64)
* Wed Feb 8 2006 Peter Jones 2.13-0.15
- add "blockdev --rmpart N " and "blockdev --rmparts "
* Tue Feb 07 2006 Jesse Keating - 2.13-0.14.1
- rebuilt for new gcc4.1 snapshot and glibc changes
* Thu Jan 19 2006 Steve Dickson 2.13-0.14
- Updated the gssd_check() and idmapd_check(), used with
nfsv4 mounts, to looked for the correct file in /var/lock/subsys
which stops bogus warnings.
* Tue Jan 3 2006 Karel Zak 2.13-0.13
- fix #174676 - hwclock audit return code mismatch
- fix #176441: col truncates data
- fix #174111 - mount allows loopback devices to be mounted more than once to the same mount point
- better wide chars usage in the cal command (based on the old 'moremisc' patch)
* Mon Dec 12 2005 Karel Zak 2.13-0.12
- rebuilt
* Fri Dec 09 2005 Jesse Keating
- rebuilt
* Fri Nov 25 2005 Karel Zak 2.13-0.11.pre6
- update to upstream version 2.13-pre6
- fix #172203 - mount man page in RHEL4 lacks any info on cifs mount options
* Mon Nov 7 2005 Karel Zak 2.13-0.10.pre5
- fix #171337 - mkfs.cramfs doesn't work correctly with empty files
* Fri Oct 28 2005 Karel Zak 2.13-0.9.pre5
- rebuild
* Wed Oct 26 2005 Karel Zak 2.13-0.8.pre5
- updated version of the patch for hwclock audit
* Thu Oct 20 2005 Karel Zak 2.13-0.7.pre5
- fix #171337 - mkfs.cramfs dies creating installer image
* Thu Oct 20 2005 Karel Zak 2.13-0.6.pre5
- update to upstream 2.13pre5
- remove separated cramfs1.1 (already in upstream package)
- remove odd symlink /usr/bin/mkcramfs -> ../../sbin/mkfs.cramfs
- fix #170171 - ipcs -lm always report "max total shared memory (kbytes) = 0"
* Mon Oct 17 2005 Karel Zak 2.13-0.5.pre4
* fix #170564 - add audit message to login
* Fri Oct 7 2005 Karel Zak 2.13-0.4.pre4
- fix #169628 - /usr/bin/floppy doesn't work with /dev/fd0
- fix #168436 - login will attempt to run if it has no read/write access to its terminal
- fix #168434 - login's timeout can fail - needs to call siginterrupt(SIGALRM,1)
- fix #165253 - losetup missing option -a [new feature]
- update PAM files (replace pam_stack with new "include" PAM directive)
- remove kbdrate from src.rpm
- update to 2.13pre4
* Fri Oct 7 2005 Steve Dickson 2.13-0.3.pre3
- fix #170110 - Documentation for 'rsize' and 'wsize' NFS mount options
is misleading
* Fri Sep 2 2005 Karel Zak 2.13-0.3.pre2
- fix #166923 - hwclock will not run on a non audit-enabled kernel
- fix #159410 - mkswap(8) claims max swap area size is 2 GB
- fix #165863 - swsusp swaps should be reinitialized
- change /var/log/lastlog perms to 0644
* Tue Aug 16 2005 Karel Zak 2.13-0.2.pre2
- /usr/share/misc/getopt/* -move-> /usr/share/doc/util-linux-2.13/getopt-*
- the arch command marked as deprecated
- removed: elvtune, rescuept and setfdprm
- removed: man8/sln.8 (moved to man-pages, see #10601)
- removed REDAME.pg and README.reset
- .spec file cleanup
- added schedutils (commands: chrt, ionice and taskset)
* Tue Jul 12 2005 Karel Zak 2.12p-9.7
- fix #159339 - util-linux updates for new audit system
- fix #158737 - sfdisk warning for large partitions, gpt
- fix #150912 - Add ocfs2 support
- NULL is better than zero at end of execl()
* Thu Jun 16 2005 Karel Zak 2.12p-9.5
- fix #157656 - CRM 546998: Possible bug in vipw, changes permissions of /etc/shadow and /etc/gshadow
- fix #159339 - util-linux updates for new audit system (pam_loginuid.so added to util-linux-selinux.pamd)
- fix #159418 - sfdisk unusable - crashes immediately on invocation
- fix #157674 - sync option on VFAT mount destroys flash drives
- fix .spec file /usr/sbin/{hwclock,clock} symlinks
* Wed May 4 2005 Jeremy Katz - 2.12p-9.3
- rebuild against new libe2fsprogs (and libblkid) to fix cramfs auto-detection
* Mon May 2 2005 Karel Zak 2.12p-9.2
- rebuild
* Mon May 2 2005 Karel Zak 2.12p-9
- fix #156597 - look - doesn't work with separators
* Mon Apr 25 2005 Karel Zak 2.12p-8
- fix #154498 - util-linux login & pam session
- fix #155293 - man 5 nfs should include vers as a mount option
- fix #76467 - At boot time, fsck chokes on LVs listed by label in fstab
- new Source URL
- added note about ATAPI IDE floppy to fdformat.8
- fix #145355 - Man pages for fstab and fstab-sync in conflict
* Tue Apr 5 2005 Karel Zak 2.12p-7
- enable build with libblkid from e2fsprogs-devel
- remove workaround for duplicated labels
* Thu Mar 31 2005 Steve Dickson 2.12p-5
- Fixed nfs mount to rollback correctly.
* Fri Mar 25 2005 Karel Zak 2.12p-4
- added /var/log/lastlog to util-linux (#151635)
- disabled 'newgrp' in util-linux (enabled in shadow-utils) (#149997, #151613)
- improved mtab lock (#143118)
- fixed ipcs typo (#151156)
- implemented mount workaround for duplicated labels (#116300)
* Wed Mar 16 2005 Elliot Lee 2.12p-3
- rebuilt
* Fri Feb 25 2005 Steve Dickson 2.12p-2
- Changed nfsmount to only use reserve ports when necessary
(bz# 141773)
* Thu Dec 23 2004 Elliot Lee