3
0
forked from pool/util-linux
Commit Graph

502 Commits

Author SHA256 Message Date
ef49e98461 Accepting request 1187958 from home:vlefebvre:branches:devel:tools:building
uncomment  to use the new version of automake

OBS-URL: https://build.opensuse.org/request/show/1187958
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=571
2024-07-16 17:00:52 +00:00
8fa93575a6 - Typo fix.
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=569
2024-06-21 09:48:39 +00:00
a4f0d5c364 OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=567 2024-06-11 08:45:40 +00:00
c6d3edf7db Accepting request 1179681 from home:dirkmueller:Factory
- 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
2024-06-10 12:55:39 +00:00
cf337561d8 Accepting request 1174396 from home:jirislaby:branches:Base:System
- add support for pidfs in kernel 6.9 (bsc#1224285)
  * 0001-include-Include-unistd.h-in-pidfd-utils.h-for-syscal.patch
  * 0002-lsfd-Refactor-the-pidfd-logic-into-lsfd-pidfd.c.patch
  * 0003-lsfd-Support-pidfs.patch
  * 0004-lsfd-test-Adapt-test-cases-for-pidfs.patch

OBS-URL: https://build.opensuse.org/request/show/1174396
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=564
2024-05-16 09:01:08 +00:00
2e3ca9416a Accepting request 1172771 from home:kukuk:cleanup
- 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
2024-05-09 12:12:43 +00:00
a7b911f7cf Accepting request 1172372 from home:sbrabec:branches:util-linux-sub
- Don't delete binaries not common for all architectures. Create an
  util-linux-extra subpackage instead, so users of third party
  tools can use them. (bsc#1222285)

OBS-URL: https://build.opensuse.org/request/show/1172372
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=561
2024-05-07 08:28:01 +00:00
a2db911746 Add missing libblkid-devel-static -> libeconf-devel-static relation
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=560
2024-04-18 12:23:28 +00:00
fbce8abdec update patch description
add patch to .changes file to please the bots

OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=559
2024-04-15 14:51:02 +00:00
ca9a9a56c4 Accepting request 1167819 from home:schubi2
- Added "Requires.private: libeconf" in order to build with static
  libeconf.a .

OBS-URL: https://build.opensuse.org/request/show/1167819
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=558
2024-04-15 14:11:45 +00:00
8d2428ba26 Accepting request 1166119 from home:kukuk:cleanup
- Add new lastlog2 sub-package (to solve migration problems due to
  rpm %post/%postun ordering)
  * Add pam-config calls to enable pam_lastlog2
  * Add lastlog2.conf systemd-tmpfile to create database directory

OBS-URL: https://build.opensuse.org/request/show/1166119
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=557
2024-04-08 12:51:13 +00:00
00862c3ba1 Accepting request 1165983 from home:Andreas_Schwab:Factory
- Skip tests marked as ts_skip_qemu_user when running under qemu
- Mark racy lslocks test as known fail

OBS-URL: https://build.opensuse.org/request/show/1165983
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=556
2024-04-07 20:16:21 +00:00
494c422074 Accepting request 1165857 from home:sbrabec:branches:ALP-fixes
- Re-enable lsfd tests using mkfds, as it is fixed now.

OBS-URL: https://build.opensuse.org/request/show/1165857
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=555
2024-04-06 17:34:38 +00:00
8629e901ee Accepting request 1165691 from home:sbrabec:branches:ALP-fixes
Return accidentally removed structured comments.

OBS-URL: https://build.opensuse.org/request/show/1165691
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=554
2024-04-05 15:48:05 +00:00
d78c891258 Accepting request 1165500 from home:kukuk:cleanup
- liblastlog2-devel:
  * Obsolete/provide lastlog2-devel for migration
  * Add header file to filelist

OBS-URL: https://build.opensuse.org/request/show/1165500
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=553
2024-04-05 10:33:55 +00:00
796cf6f6e1 Accepting request 1164989 from home:kukuk:cleanup
- 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
2024-04-04 22:34:28 +00:00
db8cb8ac35 Accepting request 1145508 from home:sbrabec:branches:util-linux-conflict
- Add file conflict of util-linux-tty-tools and busybox-util-linux.

OBS-URL: https://build.opensuse.org/request/show/1145508
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=550
2024-02-09 18:42:42 +00:00
0322e1b64f Another verbose changes.
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=548
2024-01-29 11:37:07 +00:00
afb0dc65ab Add verbose changes.
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=547
2024-01-29 11:33:33 +00:00
62de89292c Add BSC reference to tests-increase-delay-for-waitpid-test.patch.
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=546
2024-01-29 11:26:42 +00:00
4e5fdb2f9b replace archaic packageand() from r543
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=544
2024-01-19 10:30:53 +00:00
0ae9148d04 Accepting request 1139751 from home:sbrabec:branches:util-linux-comments
- Minor multibuild fixes (PED-307):
  * Restore /bin symlinks in util-linux-systemd if building with
    ul_extra_bin_sbin.
  * Restore compatibility supplements and split-provides.
  * Update safety check instructions.

OBS-URL: https://build.opensuse.org/request/show/1139751
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=543
2024-01-18 17:19:00 +00:00
63f17f82d0 curate changelog
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=541
2023-12-07 14:40:19 +00:00
058e73a6ff Accepting request 1131612 from home:goldwynr:branches:Base:System
Update to 2.39.3 & bsc#1217651)

OBS-URL: https://build.opensuse.org/request/show/1131612
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=540
2023-12-07 14:33:30 +00:00
ad4403d6ff - Add libuuid-avoid-truncate-clocks.txt-to-improve-performance.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=538
2023-11-28 12:13:00 +00:00
d134d47844 Accepting request 1129508 from home:kukuk:branches:Base:System
- Remove /etc/filesystem, the content is outdated
  (/etc cleanup, [jsc#PED-240])

OBS-URL: https://build.opensuse.org/request/show/1129508
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=537
2023-11-28 11:17:05 +00:00
b8470c9443 Accepting request 1127321 from home:goldwynr:branches:Base:System
bsc#1207987 - libuuid fix xfs regression for clocks.txt

OBS-URL: https://build.opensuse.org/request/show/1127321
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=536
2023-11-17 14:13:03 +00:00
784cf57436 move metadata together with the patches
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=534
2023-10-31 16:39:09 +00:00
c952799170 Accepting request 1121456 from home:Guillaume_G:branches:Base:System
- Add patch:
  * setterm-resize-uninit-flags.patch

OBS-URL: https://build.opensuse.org/request/show/1121456
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=533
2023-10-31 16:34:51 +00:00
81aa838370 remove nondescript (to the end-user) entries
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=531
2023-09-08 22:18:39 +00:00
82331b4196 Accepting request 1109871 from home:ateixeira:branches:Base:System
- 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
2023-09-08 22:16:47 +00:00
e0f435887c Accepting request 1104401 from home:kukuk:no-utmp
- Use logind as Y2038 safe utmp replacement [jsc#PED-3144]
  - drop libutempter
  - use-logind-not-utmp.patch: agetty, wall, write: use logind
    instead of utmp

OBS-URL: https://build.opensuse.org/request/show/1104401
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=529
2023-08-17 13:31:46 +00:00
666ef63887 Accepting request 1102422 from home:ateixeira:branches:Base:System
- Re-add util-linux-fix-tests-with-64k-pagesize.patch because it is
  not in 2.39.1

OBS-URL: https://build.opensuse.org/request/show/1102422
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=527
2023-08-04 19:08:36 +00:00
f13ad1d696 Accepting request 1101899 from home:kukuk:branches:Base:System
- Disable last and lastb for ALP, too.

OBS-URL: https://build.opensuse.org/request/show/1101899
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=525
2023-08-02 09:10:55 +00:00
89f694e079 Accepting request 1101224 from home:goldwynr:branches:Base:System
Readded patch because of https://build.opensuse.org/request/show/1100707#status-history-20975903

OBS-URL: https://build.opensuse.org/request/show/1101224
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=523
2023-07-28 16:39:56 +00:00
Goldwyn Rodrigues
b14f3c47ee Accepting request 1100706 from home:neilbrown:branches:Base:System
- Upgrade to version 2.39.1
  (bsc#1213328)
   Various bug fixes including problem with parsing mount options.
- Dropped upstreamed patches:
    0001-Revert-libblkid-try-LUKS2-first-when-probing.patch
    0001-libmount-fix-sync-options-between-context-and-fs-str.patch
    util-linux-fix-tests-with-64k-pagesize.patch

OBS-URL: https://build.opensuse.org/request/show/1100706
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=522
2023-07-26 02:38:20 +00:00
0083c709c8 Accepting request 1098476 from home:favogt:boo1213227
- Add patch to detect MD array as container of LUKS properly
  (boo#1213227, gh#util-linux/util-linux#2373):
  * 0001-Revert-libblkid-try-LUKS2-first-when-probing.patch

OBS-URL: https://build.opensuse.org/request/show/1098476
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=520
2023-07-13 10:11:34 +00:00
b86ebe4d2d Accepting request 1097974 from home:favogt:wtmpdb
- No longer provide last and lastb on Tumbleweed. last is provided by
  wtmpdb and lastb is no longer supported.

OBS-URL: https://build.opensuse.org/request/show/1097974
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=518
2023-07-10 14:36:03 +00:00
ae5a1c3844 Accepting request 1094801 from home:favogt:branches:Base:System
- Add patch to fix regression with mount options handling (gh#util-linux/util-linux#2326):
  * 0001-libmount-fix-sync-options-between-context-and-fs-str.patch

- Set --disable-libmount-mountfd-support, it's very broken and needs
  both util-linux and kernel fixes (gh#util-linux/util-linux#2287)

OBS-URL: https://build.opensuse.org/request/show/1094801
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=516
2023-06-23 09:44:19 +00:00
08b585224a use an even better matching strategy
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=515
2023-06-14 02:33:38 +00:00
682c2c092c Accepting request 1092872 from home:kukuk:cleanup
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
2023-06-14 00:59:17 +00:00
Goldwyn Rodrigues
c6a167f252 Accepting request 1092594 from home:ateixeira:branches:Base:System
- 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
2023-06-12 19:48:44 +00:00
bbaf74ce95 Accepting request 1085798 from home:ateixeira:branches:Base:System
- Suppress error messages for grep command where the input file 
  might not exist (boo#1169835)

OBS-URL: https://build.opensuse.org/request/show/1085798
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=511
2023-05-09 20:35:45 +00:00
4b94d5ddf0 Accepting request 1085768 from home:dgarcia:branches:Base:System
- Call fdupes without -s to avoid broken symlinks, pointing to
  different subpackage. boo#1209990
- Add upstream patch fix-lib-internal-cache-size.patch
  bsc#1210164, gh#util-linux/util-linux@2fa4168c8bc9

OBS-URL: https://build.opensuse.org/request/show/1085768
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=510
2023-05-09 18:33:25 +00:00
0aa7b6c2aa Accepting request 1077511 from home:mkoutny:pam-nl
- su.pamd: Fixup common-session-nonlogin usage
- runuser.pamd, su.pamd: Guard common-session-nonlogin away for <=15 codestreams
  More info in https://github.com/SUSE/pam-config/pull/16

OBS-URL: https://build.opensuse.org/request/show/1077511
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=508
2023-04-05 14:18:51 +00:00
6d0ece2a50 Accepting request 1074606 from home:kukuk:branches:Base:System
- login.pamd, remote.pamd: include postlogin-* rules
- runuser.pamd, su.pamd: Include common-session-nonlogin instead
  of common-session

OBS-URL: https://build.opensuse.org/request/show/1074606
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=506
2023-03-27 09:02:37 +00:00
78ea07e3ae fix spello
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=504
2023-03-14 11:25:29 +00:00
9999368afe Accepting request 1071401 from home:dgarcia:branches:Base:System
- 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
2023-03-14 10:02:52 +00:00
91bafd44ec - Use requires(post,verify) instead of the PreReq hammer
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=502
2023-03-08 22:23:00 +00:00
0013ae4f06 Accepting request 1070248 from home:dgarcia:branches:Base:System
- Add Provides for all tty-tools binaries in the tty-tools package to
  handle conflict with previous versions of util-linux.
- Split out mesg, wall and write to their own util-linux-tty-tools
  package. (bsc#1208310)

OBS-URL: https://build.opensuse.org/request/show/1070248
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=501
2023-03-08 22:17:55 +00:00