Commit Graph

375 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
98818bc8ae Accepting request 960118 from home:sbrabec:branches:util-linux-round14
- Update to version 2.37.4...
- Fix "su -s" bash completion.

OBS-URL: https://build.opensuse.org/request/show/960118
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=461
2022-03-08 09:54:48 +00:00
cab3427859 Accepting request 948494 from home:dirkmueller:Factory
- update to 2.37.3 (bsc#1194976):
  This release fixes two security mount(8) and umount(8) issues: 
  * CVE-2021-3996
    Improper UID check in libmount allows an unprivileged user to unmount FUSE
    filesystems of users with similar UID.
  * CVE-2021-3995
    This issue is related to parsing the /proc/self/mountinfo file allows an
    unprivileged user to unmount other user's filesystems that are either
    world-writable themselves or mounted in a world-writable directory.

OBS-URL: https://build.opensuse.org/request/show/948494
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=460
2022-01-24 22:38:41 +00:00
2e15cdd619 Accepting request 940498 from home:sbrabec:branches:util-linux-b1192954
- The legacy code does not support /etc/login.defs.d used by YaST.
  Enable libeconf to read it (bsc#1192954) on released products.
Actually, the change is not needed for Factory, but I like to keep
Factory in sync with released products.

OBS-URL: https://build.opensuse.org/request/show/940498
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=459
2021-12-14 14:40:09 +00:00
c7565d51e2 Accepting request 932031 from home:sbrabec:branches:Base:System
Fix download URL.

OBS-URL: https://build.opensuse.org/request/show/932031
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=458
2021-11-17 22:29:29 +00:00
aa79804772 Accepting request 931925 from home:sbrabec:branches:Base:System
- Update to version 2.37.2...

OBS-URL: https://build.opensuse.org/request/show/931925
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=456
2021-11-17 09:56:57 +00:00
bcbc304a35 - Remove the raw utility altogether
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=454
2021-09-09 20:58:33 +00:00
83054a757f Compact symlink lists
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=453
2021-09-09 20:13:02 +00:00
c05781d16a osc copypac from project:Base:System package:util-linux revision:450
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=452
2021-08-03 13:12:24 +00:00
5dc76a5911 Accepting request 909748 from home:pgajdos
- package motd.5 man page as link to login.1 [bsc#1133929]

OBS-URL: https://build.opensuse.org/request/show/909748
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=451
2021-08-03 12:33:00 +00:00
ecb225dbb1 Accepting request 897345 from home:kukuk:tiu
- login.pamd: use pam_motd to unify motd handling [bsc#1185897].
  Else motd snippets of e.g. cockpit will not be shown.

OBS-URL: https://build.opensuse.org/request/show/897345
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=449
2021-06-04 10:46:54 +00:00
038a3fdb04 Accepting request 873242 from home:sbrabec:branches:util-linux-2.36.2
- Update to version 2.36.2...
  obsoletes util-linux-libmount-dont-use-symfollow.patch

OBS-URL: https://build.opensuse.org/request/show/873242
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=447
2021-02-18 10:14:50 +00:00
f76dd9471f Accepting request 871017 from home:sbrabec:branches:util-linux-boo1181750
- libmount: don't use "symfollow" for helpers on user mounts
  (boo#1181750, util-linux-libmount-dont-use-symfollow.patch)

OBS-URL: https://build.opensuse.org/request/show/871017
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=445
2021-02-10 23:51:24 +00:00
d23ec5587a Accepting request 870580 from home:jengelh:branches:Base:System
- Override GTKDOCIZE with /bin/true so we can run autoreconf
  without needing gtk-doc as a dependency.

OBS-URL: https://build.opensuse.org/request/show/870580
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=444
2021-02-10 10:50:18 +00:00
1ca06d70d9 Accepting request 869061 from home:sbrabec:branches:distconfdir-fix
- Merge package with SLE15 SP3 and openSUSE Leap 15.3...
- Build with libudev support to support non-root users
  (boo#1169006).
- Move findmnt and lsblk to util-linux-systemd, as they use libudev
  (bsc#1169006#c10).

OBS-URL: https://build.opensuse.org/request/show/869061
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=442
2021-02-04 10:53:12 +00:00
0f9a19d787 Accepting request 867613 from home:sbrabec:branches:distconfdir-fix
- Do not require libeconf-devel on products without /usr/etc.

OBS-URL: https://build.opensuse.org/request/show/867613
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=440
2021-01-30 08:05:30 +00:00
76cdbe85e3 Accepting request 866824 from home:lnussel:usrmove
- s/--enable-vendordir/--with-vendordir/
- remove pam_securetty line again. As long as there is no agreement
  from pam side having it would fail openQA (boo#1033626)

OBS-URL: https://build.opensuse.org/request/show/866824
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=439
2021-01-26 13:17:45 +00:00
cddb9b57ff Accepting request 863424 from home:sbrabec:branches:util-linux-2.36.1
- Update to version 2.36.1...
- Revert the conversion to multibuild, which coflicts with OBS way it tests built packages.
Successful build requires fix of regression of system-users: rq#863423

OBS-URL: https://build.opensuse.org/request/show/863424
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=438
2021-01-18 10:29:39 +00:00
c8c1379cb6 Accepting request 851169 from home:jengelh:branches:Base:System
- Do search /usr/sbin for mount helpers. (This drops /sbin/fs,
  /sbin/fs.d, which we do not use in openSUSE.)

OBS-URL: https://build.opensuse.org/request/show/851169
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=437
2021-01-15 18:44:36 +00:00
Dr. Werner Fink
fd21f8d012 sulogin
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=435
2020-10-30 14:33:02 +00:00
9ae5124e0d Accepting request 834768 from home:sbrabec:branches:util-linux-multibuild
Fix flavor names and cross provides.

OBS-URL: https://build.opensuse.org/request/show/834768
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=434
2020-09-16 00:36:58 +00:00
644790947b Accepting request 833344 from home:sbrabec:branches:util-linux-multibuild
- Migrate multi-spec build to multibuild.
- Change packaging from per-partes build to mini+full build.
- Fix default permissions of wall and write.
- Build all python flavors.
- Fix error in scriptlets after migration to /usr/etc.
- Update to version 2.36...
- Refresh Add-documentation-on-blacklisted-modules-to-mount-8-.patch.
- Drop upstreamed libeconf.patch,
  libmount-Avoid-triggering-autofs-in-lookup_umount_fs.patch.
- util-linux-login_defs-check.sh: Perform all steps to integrate
  MOTD_FIRSTONLY.
- Update baselibs.conf.

OBS-URL: https://build.opensuse.org/request/show/833344
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=433
2020-09-09 23:47:10 +00:00
8df1b42ed3 Accepting request 808196 from home:favogt:branches:Base:System
- Use plain #!/bin/sh for flushb

OBS-URL: https://build.opensuse.org/request/show/808196
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=431
2020-05-24 22:48:07 +00:00
20b1dd3c6f Accepting request 808136 from home:mcalabkova:branches:Base:System
- Include pam_securetty in login.pamd again (bsc#1033626)
- Update to 2.35.2
  * make glibc 2.31 compatible
- Dropped unneeded patch libfdisk-script-accept-sector-size.patch

- Include pam_securetty in login.pamd again (bsc#1033626)
- Update to 2.35.2
  * make glibc 2.31 compatible
- Dropped unneeded patch libfdisk-script-accept-sector-size.patch

- Include pam_securetty in login.pamd again (bsc#1033626)
- Update to 2.35.2
  * make glibc 2.31 compatible
- Dropped unneeded patch libfdisk-script-accept-sector-size.patch

OBS-URL: https://build.opensuse.org/request/show/808136
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=430
2020-05-24 22:42:32 +00:00
b8b77fde7a Accepting request 805239 from home:favogt:branches:Base:System
Tested, works.

- Add patch to fix sfdisk not reading its own scripts:
  * libfdisk-script-accept-sector-size.patch
- Use %autopatch

- Fix verification of mount, su and umount (bsc#1166948)

OBS-URL: https://build.opensuse.org/request/show/805239
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=429
2020-05-19 18:19:32 +00:00
06d1a88bec Accepting request 791864 from home:sbrabec:branches:Base:System
- Update to version 2.35.1:
- Add libmount-Avoid-triggering-autofs-in-lookup_umount_fs.patch:

OBS-URL: https://build.opensuse.org/request/show/791864
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=427
2020-04-06 21:48:18 +00:00
88d010c8af Accepting request 791807 from home:fos:branches:Base:System
Add libmount-Avoid-triggering-autofs-in-lookup_umount_fs.patch: Avoid triggering autofs in lookup_umount_fs_by_statfs (boo#1168389)

OBS-URL: https://build.opensuse.org/request/show/791807
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=426
2020-04-06 18:29:40 +00:00
d87a3bb4cf Accepting request 734617 from home:kukuk:etc
- libeconf.patch: Add support for libeconf
- Move /etc/pam.d/* to /usr/etc/pam.d
- Remove migration code for su from coreutils to util-linux, not
  needed anymore

- libeconf.patch: Add support for libeconf
- Move /etc/pam.d/* to /usr/etc/pam.d
- Remove migration code for su from coreutils to util-linux, not
  needed anymore

- libeconf.patch: Add support for libeconf
- Move /etc/pam.d/* to /usr/etc/pam.d
- Remove migration code for su from coreutils to util-linux, not
  needed anymore

OBS-URL: https://build.opensuse.org/request/show/734617
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=423
2019-10-02 22:24:59 +00:00
3b4c142f6e Accepting request 731938 from home:lnussel:branches:Base:System
- Do not recommend lang package. The lang package already has a
  supplements.

OBS-URL: https://build.opensuse.org/request/show/731938
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=421
2019-09-19 16:52:11 +00:00
0d6eab372f Accepting request 727215 from home:olh:branches:Base:System
- lsblk: force to print PKNAME for partition with
  e3bb9bfb76c17b1d05814436ced62c05c4011f48.patch

OBS-URL: https://build.opensuse.org/request/show/727215
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=419
2019-09-03 17:01:02 +00:00