1
0
forked from pool/util-linux
Commit Graph

876 Commits

Author SHA256 Message Date
Ana Guerrero
fe1e0140a7 Accepting request 1121506 from Base:System
- Add patch setterm-resize-uninit-flags.patch
- move metadata into patches

OBS-URL: https://build.opensuse.org/request/show/1121506
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=278
2023-11-02 19:19:55 +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
Ana Guerrero
84606c4bc4 Accepting request 1109874 from Base:System
- Upgrade to version 2.39.2:

OBS-URL: https://build.opensuse.org/request/show/1109874
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=277
2023-09-11 19:19:47 +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
Dominique Leuenberger
01cdf0fa5d Accepting request 1102425 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1102425
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=276
2023-08-07 13:28:52 +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
Dominique Leuenberger
5a3973ecde Accepting request 1101918 from Base:System
- Disable last and lastb for ALP, too. (forwarded request 1101899 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/1101918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=275
2023-08-04 13:02: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
Yuchen Lin
2317201eb7 Accepting request 1101236 from Base:System
Readded patch because of https://build.opensuse.org/request/show/1100707#status-history-20975903 (forwarded request 1101224 from goldwynr)

OBS-URL: https://build.opensuse.org/request/show/1101236
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=274
2023-07-31 13:24:04 +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
Dominique Leuenberger
c386c67f54 Accepting request 1098505 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1098505
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=273
2023-07-16 15:28:31 +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
Dominique Leuenberger
404281e7b8 Accepting request 1097977 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1097977
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=272
2023-07-12 15:26:41 +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
Dominique Leuenberger
03d101ebae Accepting request 1094821 from 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) (forwarded request 1094801 from favogt)

OBS-URL: https://build.opensuse.org/request/show/1094821
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=271
2023-06-24 18:13:25 +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
Dominique Leuenberger
96c4e4e9fb Accepting request 1085804 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1085804
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=270
2023-05-13 15:16:52 +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
Dominique Leuenberger
b652f8ab09 Accepting request 1077556 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1077556
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=269
2023-04-08 15:38:16 +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
Dominique Leuenberger
ec8b994e7d Accepting request 1074913 from 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/1074913
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=268
2023-04-01 19:13:18 +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
Dominique Leuenberger
a12d868447 Accepting request 1071484 from Base:System
- Redistribute file entries to make sure that the files goes to the
  corresponding subpackage, util-linux or util-linux-systemd
  (bsc#1207023)

OBS-URL: https://build.opensuse.org/request/show/1071484
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=267
2023-03-17 16:00:42 +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
Dominique Leuenberger
19f2f432a0 Accepting request 1069593 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1069593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=266
2023-03-06 17:54:40 +00:00
c11a03c275 Accepting request 1069592 from home:dimstar:Factory
Somem ore cleanup of the same style; bleeds in to a script, but does not cause harm there

OBS-URL: https://build.opensuse.org/request/show/1069592
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=499
2023-03-06 10:57:30 +00:00
d25c431e40 Accepting request 1069590 from home:dimstar:Factory
- Fix comments bleeding into rpm scriptlets. /sbin/ldconfig does
  not take any parameters and thus we must not have content in the
  script body. Use %dnl to properly mark the comments as 'rpm
  comments' (boo#1208963).

OBS-URL: https://build.opensuse.org/request/show/1069590
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=498
2023-03-06 10:50:16 +00:00
Dominique Leuenberger
19e86033f8 Accepting request 1068510 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1068510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=265
2023-03-05 19:07:41 +00:00
271c52a2ba Accepting request 1067908 from home:pgajdos
- added patches
  agetty: don't ignore --noclear when re-print issue file
  0c0fb46dce.diff
  [bsc#1194322]
  + util-linux-honor-noclear-when-reprint-issue.patch

OBS-URL: https://build.opensuse.org/request/show/1067908
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=496
2023-03-01 16:51:04 +00:00
Dominique Leuenberger
6c835b5329 Accepting request 1065921 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1065921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=264
2023-02-16 20:09:51 +00:00
f73c6d41bc Accepting request 1065914 from home:kukuk:branches:Base:System
- Remove requires for adjtimex, which and time: this where wrongly
  implemented split provides we don't need anymore.
- Remove pam_lastlog, not Y2038 safe, will be removed upstream.
  Additional tools update the files themself.
- Readd hwclock.8 manual page.
- Move permissions pre-require to correct package.
- Remove install_info_prereq, we have no info pages.

OBS-URL: https://build.opensuse.org/request/show/1065914
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=494
2023-02-15 10:43:56 +00:00
54381d0b98 Accepting request 1063747 from home:dgarcia:branches:Base:System
- clean up spec file, tag all the %if-endif to make it easy to read the file
  and try to simplify a bit the if-endif logic grouping by core, systemd and
  python.

OBS-URL: https://build.opensuse.org/request/show/1063747
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=493
2023-02-13 08:44:32 +00:00
Dominique Leuenberger
c3e6e68a5e Accepting request 1061167 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1061167
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=263
2023-01-27 09:15:09 +00:00
Dominique Leuenberger
33ebcb5fab Accepting request 1061130 from home:dimstar:Factory
- Fix previous commit: setterm, cfdisk, fdformat, hwclock, sfdisk,
  and tunelp  unintentionally fell out of both variants.

  + /usr/bin/lslocks
  + /usr/bin/setterm
  + /usr/bin/wall
  + /usr/bin/write
  + /usr/sbin/cfdisk
  + /usr/sbin/fdformat
  + /usr/sbin/fdisk
  + /usr/sbin/hwclock
  + /usr/sbin/sfdisk
  + /usr/sbin/tunelp

OBS-URL: https://build.opensuse.org/request/show/1061130
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=491
2023-01-26 10:11:48 +00:00
91145f2d35 Accepting request 1060870 from home:dimstar:Factory
- Exclude these binaries from the -systemd build, as they exist in
  the core package already:
  + /usr/bin/lslocks 
  + /usr/bin/setterm 
  + /usr/bin/wall 
  + /usr/bin/write 
  + /usr/sbin/cfdisk 
  + /usr/sbin/fdformat 
  + /usr/sbin/fdisk 
  + /usr/sbin/hwclock 
  + /usr/sbin/sfdisk 
  + /usr/sbin/tunelp

OBS-URL: https://build.opensuse.org/request/show/1060870
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=490
2023-01-25 12:04:36 +00:00
Dominique Leuenberger
ad486e0a21 Accepting request 1059522 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1059522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=262
2023-01-21 18:09:37 +00:00
Dominique Leuenberger
38bc159cec Accepting request 1057945 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1057945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=261
2023-01-14 19:30:30 +00:00
c224b221dd Accepting request 1057149 from home:matwey:branches:Base:System
- %dir /var/lib/libuuid/ is owned by uuidd:uuidd but no such user are required.

OBS-URL: https://build.opensuse.org/request/show/1057149
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=487
2023-01-12 20:55:25 +00:00
293b7d027d Accepting request 1057807 from home:dimstar:Factory
- Replace usage of deprecated fgrep with grep -F.

OBS-URL: https://build.opensuse.org/request/show/1057807
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=486
2023-01-12 09:47:51 +00:00