3
0
forked from pool/util-linux
Commit Graph

853 Commits

Author SHA256 Message Date
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
Dominique Leuenberger
5621b780f6 Accepting request 1057146 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1057146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=260
2023-01-11 13:32:46 +00:00
897c4bb522 Accepting request 1057133 from home:favogt:boo1206690
RFC, hasn't finished building yet.

- Move /var/lib/libuuid/ ownership exclusively to uuidd (boo#1206690)

OBS-URL: https://build.opensuse.org/request/show/1057133
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=484
2023-01-09 18:12:15 +00:00
Dominique Leuenberger
74b378dde1 Accepting request 1056354 from Base:System
- restore man and info pages
- clean up spec file slightly 

- Replace transitional %usrmerged macro with regular version check (boo#1206798)

OBS-URL: https://build.opensuse.org/request/show/1056354
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=259
2023-01-07 16:15:48 +00:00
69e479708c - restore man and info pages
- clean up spec file slightly

OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=482
2023-01-06 09:29:09 +00:00
7fb029c751 Accepting request 1055750 from home:lnussel:usrmerge
Replace transitional %usrmerged macro with regular version check (boo#1206798)

OBS-URL: https://build.opensuse.org/request/show/1055750
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=481
2023-01-04 11:41:01 +00:00
Dominique Leuenberger
1402ce4422 Accepting request 1044107 from Base:System
- restore lsblk and lslogins as well

- reinstanciate logger

- Fix /usr/bin/findmnt to be in only one package (bsc#1206347)

- Fix tests not passing when '@' character is in build path: 
  Fixes rpmbuild %checks fail when @ in the directory path (bsc#1194038).
- Add util-linux-fix-tests-when-at-symbol-in-path.patch

- Convert the build back to per-parts build, just use multibuild.

- libuuid continuous clock handling for time based UUIDs:
  Prevent use of the new libuuid ABI by uuidd %post before update
  of libuuid1 (bsc#1205646).

- Do not set SUID permissions for util-linux-mini.

- Fix pam directory for the staging package.
- Add util-linux-rpmlintrc removing unneeded warnings.

- Update to version 2.38.1:
  * column: fix buffer overflow when -l specified, fix greedy mode
  on -l
  * dmesg: fix --since and --until
  * libmount: when moving a mount point, all sub mount entries in
    utab should also be updated (bsc#1198731)
  * libuuid: improve cache handling (bsc#1201959, PED-1150)
  * lsblk: fix JSON output when without --bytes
  * lsfd:fix crash triggered by an empty filter expression

OBS-URL: https://build.opensuse.org/request/show/1044107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=258
2022-12-23 09:21:14 +00:00
98e95d2aba - restore lsblk and lslogins as well
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=479
2022-12-21 17:11:46 +00:00
f6688cabdc - reinstanciate logger
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=478
2022-12-19 19:15:55 +00:00
2b5eab6459 Accepting request 1042699 from home:david.anes:branches:Base:System
Fix typo in comment

OBS-URL: https://build.opensuse.org/request/show/1042699
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=477
2022-12-15 21:23:47 +00:00
c40e37f176 Accepting request 1043027 from home:goldwynr:branches:Base:System
bsc#1206347

OBS-URL: https://build.opensuse.org/request/show/1043027
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=476
2022-12-15 10:14:16 +00:00
7cf338d87c Accepting request 1041741 from home:sbrabec:branches:util-linux-multibuild-per-parts
- Convert the build back to per-parts build, just use multibuild.
- libuuid continuous clock handling for time based UUIDs:
  Prevent use of the new libuuid ABI by uuidd %post before update
  of libuuid1 (bsc#1205646).

OBS-URL: https://build.opensuse.org/request/show/1041741
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=475
2022-12-08 23:16:30 +00:00
61695a4a2b Accepting request 1003917 from home:sbrabec:branches:util-linux-2.38
- Do not set SUID permissions for util-linux-mini.

OBS-URL: https://build.opensuse.org/request/show/1003917
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=474
2022-09-15 15:39:18 +00:00
c692ff2551 Accepting request 1003033 from home:sbrabec:branches:util-linux-2.38
- Fix pam directory for the staging package.
- Add util-linux-rpmlintrc removing unneeded warnings.

OBS-URL: https://build.opensuse.org/request/show/1003033
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=473
2022-09-12 18:51:52 +00:00
37fe7330c9 Accepting request 999760 from home:sbrabec:branches:util-linux-2.38
This submit performs a substantial bootstrap and project changes:
- Project prjconf needs "Prefer: libuuid1".
- Project needs to remove link packages util-linux-systemd and python3-libmount.
- Bootstrap packages should build with util-linux-mini. All other packages should build with util-linux.
Main changes:
- Changed packaging style from multi spec build to multibuild with
  python multi-flavor build (PED-1007).
- Update to version 2.38.1...
- Fix some rpmlintrc warnings and remove util-linux-rpmlintrc.

- Update to version 2.38:
  * first release with translated util-linux man-pages
  * mount: new options --mkdir as shortcut for X-mount.mkdir
  * mount, libmount: new mount options X-mount.subdir=
  * lsfd: new command
  * dmesg: new option --json to print kernel log in JSON format
  * libfdisk: improved to set correct CHS addresses in MBR
  * fstrim: ignores all /ect/fstab entries with X-fstrim.notrim
    (jsc#SLE-17942)
  * hardlink: now supports reflinks and new option --method=
  * hwclock: new command line options --param-get and --param-set
  * irqtop: new option --cpu-stat
  * libblkid: supports zoned disks for btrfs
  * lsblk: new options --noempty to ignore all devices with zero
    size, and --zoned to print information about zones

OBS-URL: https://build.opensuse.org/request/show/999760
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=472
2022-09-01 18:34:07 +00:00
Dominique Leuenberger
8ddeccf761 Accepting request 994553 from Base:System
OBS-URL: https://build.opensuse.org/request/show/994553
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=257
2022-08-13 20:36:33 +00:00
2b9a1985d8 Accepting request 993955 from home:kukuk:branches:Base:System
- Use %_pam_vendordir

OBS-URL: https://build.opensuse.org/request/show/993955
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=470
2022-08-11 15:00:53 +00:00
Dominique Leuenberger
d1397ca3df Accepting request 991880 from Base:System
OBS-URL: https://build.opensuse.org/request/show/991880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=256
2022-08-04 11:22:39 +00:00
7018b627f0 Accepting request 991420 from home:lnussel:branches:Base:System
- exclude bash-completion stuff for programs that are in
  util-linux-systemd from util-linux for real.

- exclude bash-completion stuff for programs that are in
  util-linux-systemd from util-linux for real.

- exclude bash-completion stuff for programs that are in
  util-linux-systemd from util-linux for real.

OBS-URL: https://build.opensuse.org/request/show/991420
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=468
2022-07-31 14:47:47 +00:00
Richard Brown
e987a8ee80 Accepting request 990582 from Base:System
OBS-URL: https://build.opensuse.org/request/show/990582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=255
2022-07-29 14:46:52 +00:00
02350c5c98 Accepting request 990516 from home:Andreas_Schwab:glibc:rebuild
- linux-fs.patch: Fix conflict between <linux/fs.h> and <sys/mount.h>

OBS-URL: https://build.opensuse.org/request/show/990516
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=466
2022-07-21 17:46:13 +00:00
242896bc65 Revert r464. Too many deps for ring0.
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=465
2022-04-11 10:58:25 +00:00
62f459f45a Accepting request 967500 from home:aplanas:branches:Base:System
- Enable cryptsetup support

This will support mount options for dm-verity.

Note, I needed to add this in the project config:

Preinstall: libcryptsetup12
Preinstall: libdevmapper1_03
Preinstall: libopenssl1_1
Preinstall: libargon2-1
Preinstall: libjson-c5
Preinstall: libudev1

OBS-URL: https://build.opensuse.org/request/show/967500
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=464
2022-04-11 08:46:09 +00:00
Dominique Leuenberger
abafc4e652 Accepting request 960950 from Base:System
- Update to version 2.37.4...
- Fix "su -s" bash completion...

OBS-URL: https://build.opensuse.org/request/show/960950
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=254
2022-03-14 18:33:56 +00:00