1
0
forked from pool/util-linux
Commit Graph

50 Commits

Author SHA256 Message Date
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
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
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
ece2227e4c Merge conflicts.
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=432
2020-07-17 00:42:11 +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
fedbd5c3be Accepting request 724588 from home:kukuk:branches:Base:System
- Remove outdated buildignore for pwdutils, had no effect with
  shadow anyways

- Remove outdated buildignore for pwdutils, had no effect with
  shadow anyways

- Remove outdated buildignore for pwdutils, had no effect with
  shadow anyways

OBS-URL: https://build.opensuse.org/request/show/724588
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=418
2019-09-03 16:59:06 +00:00
cb377b82e3 Accepting request 723394 from home:sbrabec:branches:util-linux-2.34
- Provide and obsolete hardlink package.

OBS-URL: https://build.opensuse.org/request/show/723394
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=416
2019-08-14 23:24:10 +00:00
f45666d93e Typo fix.
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=415
2019-08-08 00:23:26 +00:00
762b3880c9 Accepting request 721379 from home:sbrabec:branches:Base:System
- Issue a warning for outdated pam files
  (bsc#1082293, boo#1081947#c68).
- Fix comments and unify look of PAM files (login.pamd,
  remote.pamd, runuser-l.pamd, runuser.pamd, su-l.pamd, su.pamd).
- Revert broken change.

OBS-URL: https://build.opensuse.org/request/show/721379
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=413
2019-08-06 23:09:02 +00:00
fc59bea46e Accepting request 720086 from home:sbrabec:branches:util-linux-2.34
Previous request was declined by factory-auto. Fix download URI.

OBS-URL: https://build.opensuse.org/request/show/720086
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=412
2019-07-31 16:09:54 +00:00
47aaf083a0 Accepting request 719008 from home:sbrabec:branches:util-linux-2.34
- Update to version 2.34.

OBS-URL: https://build.opensuse.org/request/show/719008
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=411
2019-07-26 22:24:05 +00:00
e0eedbb342 Accepting request 717649 from home:sbrabec:branches:Base:System
- Fix /etc/default/su comments and create /etc/default/runuser
  (bsc#1121197#31).

OBS-URL: https://build.opensuse.org/request/show/717649
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=410
2019-07-22 16:53:23 +00:00
59936b0f48 Accepting request 716105 from home:sbrabec:branches:util-linux-pam_d-b1082293
- Prevent outdated pam files (bsc#1082293, boo#1081947#c68):
  * Remove "(noreplace)". It will enforce update whenever package
    changes it.
  * Expand tabs to trigger a change and replace potentially
    outdated files just now.
  * Remove script that migrates old coreutils su pam files.

OBS-URL: https://build.opensuse.org/request/show/716105
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=407
2019-07-17 17:21:26 +00:00
d0f4a733b6 Accepting request 712922 from home:sbrabec:branches:util-linux-license-b1135708
- Fix license of libraries: LGPL-2.1-or-later and BSD-3-Clause for
  libuuid (bsc#1135708).

OBS-URL: https://build.opensuse.org/request/show/712922
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=405
2019-07-01 22:18:40 +00:00
6bb207a4a8 Accepting request 711045 from home:marxin:branches:Base:System
- Use FAT LTO objects in order to provide proper static library (boo#1138795).

OBS-URL: https://build.opensuse.org/request/show/711045
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=404
2019-07-01 09:49:09 +00:00
edfe7ee1c6 Accepting request 701841 from home:sbrabec:branches:util-linux-2.33.2
- Update to version 2.33.2:
  * agetty: Fix 8-bit processing in get_logname() (bsc#1125886).
  * mount: Fix "mount" output for net file systems (bsc#1122417).
  * Many Other fixes, see
    https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.33/v2.33.2-ReleaseNotes

OBS-URL: https://build.opensuse.org/request/show/701841
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=399
2019-05-09 20:06:34 +00:00
fed1a56686 Accepting request 700496 from home:sbrabec:branches:util-linux-2.33.1
Depends on https://build.opensuse.org/request/show/700494!
- Fix problems in reading of login.defs values (bsc#1121197,
  util-linux-login_defs-priority1.patch,
  util-linux-login_defs-priority2.patch,
  util-linux-login_defs-SYS_UID.patch).
- Perform one-time reset of /etc/default/su (bsc#1121197).
- Add virtual symbols for login.defs compatibility (bsc#1121197).
- Add login.defs safety check util-linux-login_defs-check.sh
  (bsc#1121197).
- Drop bc BuildRequires: not needed.

OBS-URL: https://build.opensuse.org/request/show/700496
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=398
2019-05-09 15:58:55 +00:00
a47afa8bba Accepting request 681470 from home:sbrabec:branches:util-linux-login-b1081947
- Integrate pam_keyinit pam module to login
  (boo#1081947, login.pamd, remote.pamd).
-  libmount: remove jffs2 and ubifs from blacklist (jsc#SLE-4085).
- libmount: print a blacklist hint for "unknown filesystem type"
  (jsc#SLE-4085, fate#326832), and add documentation
  * add libmount-print-a-blacklist-hint-for-unknown-filesyst.patch
  * add Add-documentation-on-blacklisted-modules-to-mount-8-.patch

OBS-URL: https://build.opensuse.org/request/show/681470
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=395
2019-03-04 14:28:19 +00:00
6295ab1cea Accepting request 677957 from home:mwilck:branches:Base:System
-  libmount: remove jffs2 and ubifs from blacklist (jsc#SLE-4085).

- libmount: print a blacklist hint for "unknown filesystem type"
  (jsc#SLE-4085, fate#326832), and add documentation
  * add libmount-print-a-blacklist-hint-for-unknown-filesyst.patch
  * add Add-documentation-on-blacklisted-modules-to-mount-8-.patch

OBS-URL: https://build.opensuse.org/request/show/677957
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=394
2019-03-01 20:19:58 +00:00
a7ab3a33bc Accepting request 667887 from home:sbrabec:branches:util-linux-2.33.1
- Update to version 2.33.1:
  * agetty fixes (drop util-linux-agetty-smart-reload-10.patch,
    util-linux-agetty-smart-reload-11.patch,
    util-linux-agetty-smart-reload-12.patch).
  * Other minor fixes and documentation updates.

OBS-URL: https://build.opensuse.org/request/show/667887
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=392
2019-01-24 15:28:59 +00:00
bb4a013d42 Accepting request 662937 from home:sbrabec:branches:util-linux-b1120298
- agetty: Fixes for reload issue only if it is really needed
  (bsc#1085196, boo#1120298,
  util-linux-agetty-smart-reload-10.patch,
  util-linux-agetty-smart-reload-11.patch,
  util-linux-agetty-smart-reload-12.patch).

OBS-URL: https://build.opensuse.org/request/show/662937
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=391
2019-01-08 16:41:49 +00:00
Ruediger Oertel
df7d07a772 revert accidental change in python3-libmount.spec
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=389
2018-12-18 14:47:58 +00:00
Ruediger Oertel
9266eeef55 drop rfkill*service files removed in last commit
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=387
2018-12-18 14:37:24 +00:00
91d77c4d90 Accepting request 656921 from home:sbrabec:branches:Base:System
- Drop rfkill-block@.service and rfkill-unblock@.service that
  functionally conflict with systemd-rfkill@.service
  (boo#1092820#c13).

OBS-URL: https://build.opensuse.org/request/show/656921
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=386
2018-12-11 08:41:54 +00:00
97efb9cb53 Accepting request 650772 from home:sbrabec:branches:Base:System
- Update to version 2.33:
  * choom: new command to adjust and display the current OOM-killer
    score.
  * libsmartcols has been improved to differentiate between
    numbers, booleans and strings in JSON output.
  * fstrim(8): trim all mounted filesystems from /etc/fstab
    (-A|--fstab), new command line option --dry-run.
  * hwclock(8) new command line option --delay.
  * mount umount, libmount allow to mount and umount filesystem in
    another namespace.
  * rename(1) new command line option --interactive.
  * setarch(8) does not require architecture when modify
    personality like ADDR_NO_RANDOMIZE. The architecture argument
    is optional now.
  * command su(1) new command line option --whitelist-environment.
  * setpriv(1) new command line option --reset-env and --pdeathsig.
  * fdisk(8), sfdisk(8): print disk model name to simplify device
    identification.
  * column --table-empty-lines" allows to use empty lines in
    formatted output.
  * wipefs improved to postpone BLKRRPART ioctl until all magic
    strings are wiped.
  * script(1) extended to store more information about terminal
    size and type to the typescript header. New command line
    option --output-limit.
  * libblkid provides BitLocker and basic APFS detection now.
  * lsblk is possible to execute against /sys and /proc dumps with
    --sysroot is specified.
  * agetty(8) reload issue only if it is really needed
    (bsc#1085196).
- Drop klogconsole in favor of dmesg --console-level plus
  setlogcons (kbd) (boo#1116277).

OBS-URL: https://build.opensuse.org/request/show/650772
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=384
2018-11-27 18:17:59 +00:00
4278302324 Accepting request 644909 from home:sbrabec:branches:numlock-b1113188
- Fix runstatedir path (to /run) (boo#1113188#c1).

OBS-URL: https://build.opensuse.org/request/show/644909
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=382
2018-11-07 07:46:39 +00:00
7de341a83d Accepting request 641677 from home:sbrabec:branches:Base:System
- Create empty /etc/issue.d for the new agetty feature.

OBS-URL: https://build.opensuse.org/request/show/641677
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=381
2018-10-15 15:41:28 +00:00
20a7790bbb Accepting request 638843 from home:sbrabec:branches:util-linux-cleanup
- Drop obsolete downstream ppc utilities
  chrp-addnote and mkzimage_cmdline (boo#1109284).
- Drop obsolete setctsid (boo#1109290).

OBS-URL: https://build.opensuse.org/request/show/638843
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=380
2018-10-01 15:30:44 +00:00
7bfb1c344a Accepting request 627729 from home:sbrabec:branches:util-linux-python3
- Update to version 2.32.1...
- Switch python-libmount to python3-libmount.

OBS-URL: https://build.opensuse.org/request/show/627729
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=378
2018-08-07 23:53:11 +00:00