3
0
forked from pool/util-linux
Richard Brown 2021-02-22 13:23:02 +00:00 committed by Git OBS Bridge
commit be4dcc2ba5
11 changed files with 112 additions and 65 deletions

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Tue Feb 16 19:33:08 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>
- Update to version 2.36.2:
* agetty: tty eol defaults to REPRINT
* fsck.cramfs: fix fsck.cramfs crashes on blocksizes > 4K
* lib/caputils: add fall back for last cap using prctl.
* lib/signames: change license to public domain
* libfdisk:
* (dos) fix last possible sector calculation
* (script) ignore empty values for start and size
* ignore 33553920 byte optimal I/O size
* libmount:
* add vboxsf, virtiofs to pseudo filesystems
* do not canonicalize ZFS source dataset
* don't use "symfollow" for helpers on user mounts (boo#1181750,
obsoletes util-linux-libmount-dont-use-symfollow.patch)
* fix /{etc,proc}/filesystems use
* login: use full tty path for PAM_TTY
* lsblk: read SCSI_IDENT_SERIAL also from udev
* rfkill: stop execution when rfkill device cannot be opened
* setpriv: allow using [-+]all for capabilities.
* su: use full tty path for PAM_TTY
* switch_root: check if mount point to move even exists
* umount:
* ignore --no-canonicalize,-c for non-root users
* Show the 'r' option in the help menu
* Code cleanups and documentation improvements.
* Translation updates.
-------------------------------------------------------------------
Wed Feb 10 23:18:39 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>

View File

@ -126,7 +126,7 @@ BuildRequires: libmount-devel
%endif
%endif
#END SECOND STAGE DEPENDENCIES
Version: 2.36.1
Version: 2.36.2
Release: 0
URL: https://www.kernel.org/pub/linux/utils/util-linux/
Source: https://www.kernel.org/pub/linux/utils/util-linux/v2.36/util-linux-%{version}.tar.xz
@ -152,8 +152,6 @@ Patch1: libmount-print-a-blacklist-hint-for-unknown-filesyst.patch
Patch2: Add-documentation-on-blacklisted-modules-to-mount-8-.patch
# PATCH-FIX-SUSE: Avoid sulogin failing on not existing or not functional console devices
Patch3: util-linux-sulogin4bsc1175514.patch
# PATCH-FIX-UPSTREAM util-linux-libmount-dont-use-symfollow.patch boo1181750 ailin.nemui@gmail.com -- libmount: don't use "symfollow" for helpers on user mounts https://github.com/karelzak/util-linux/issues/1193
Patch4: util-linux-libmount-dont-use-symfollow.patch
#
%if %build_util_linux
Supplements: filesystem(minix)

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEsMZNFDAcxu+u32Dk5LcdXuw5woQFAl+yYy4ACgkQ5LcdXuw5
woTeog/7B+1LH5MQZnBYo3Tx4g5NNj0fwky8Y6/B8LqsxVHs8padD3ur3sieaQLu
PlmFr6zKH0OM2AVQHOJOxmxuMil98bg5+SNBPDBuxlVJB3F3kr5/N4UIUHdH5VSW
LcpaFbNTKupt9C92BGSYpaYRqRV8O0Rm39kg7bnwybNVRRB/6S3HNfvRQt6bUszF
Kx9EGtQYKEMO1cBiT9G+mWhgmXgabQGErVJYizVkrnSqWI76PQge/N5N3yPRTyZW
0l56sGAI3pMl99xqWiHJZZ1lSBb5a7M6+MsvrggVs2NlYKwuzrKgI18wN14+NAxM
Lvs9XF1xtcffcuy0IDs8WEuJXpRpo587g0X+wdSefQGkUlcScZ2YXMhqjPl1GJM/
XImN1lUqDPKETY0BQmjqH+OLJTmtU/1iygLh4YQlugbxzpceXNO15LMqQFuiFz14
AwKvhoJu7LEWo8wMOUN8maEltD/kDV8a2BP0blU642S11A+Ei9voVHg8AsqW1uSO
uF6P/g0+kY5+jIm+HJykVwKdyuNn2VQPOw3+BIAx2NdHV06eGPDBM0n0UmCHENba
d63qeb6FfP/3NKOTPsI+GO5k6gBdzw6gUZhnGD+Da4Cd4i19vF9yPWfASCt/9QB+
yOUYD9anmP3KPwSpAhtjk+2UAe6kikdaRfopUboDrkNqd8lbBe8=
=M0k0
-----END PGP SIGNATURE-----

BIN
util-linux-2.36.1.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEsMZNFDAcxu+u32Dk5LcdXuw5woQFAmAmjhkACgkQ5LcdXuw5
woST7A//Q1Ob56RDs7nZxYu4g6GMRVAL0vX23k+9hQU8lHj3s6E/3qnFnRQIA8JJ
cUeU6l+TXI0vMLs6s9yf9cAMvfByuG50h/68KFiLrsLlRe648VqMfSoZf1i3WZPD
IqD4amwmz+aqRZcB0x7+EsUL5wxPXsUw/hdJVpcBB/f3OaZNxbpwyfZGtDxmL9BK
DScBub+oyGalUriGb1N1xNNVUscKxuoI+wY1QX6fmQSsletjuaA2kI4IH2jkkVOU
LapJ77wUwicsHVNTIwncJ4DGeNAPr2r0K//Q/U868xvxlGTRQC1eugxM6ZMonT0P
Vqy48v7MhfU2QA3ZDHst+TV72eXeGP3ulj0Fdq1GKECVMLbD7tTkrtMO9vJmuIHe
0bAWs1sRNSfe3L7/bH8hWn/Sbuox2XRL+/K12HITGYhs7CSIJlkBhft814wqkytT
VXcweXfEkf1w5E0+ruLDlH18g06jboQztPsKPbgdXXJmCk9YSMEzHX+LczWNZ0Ze
f7T74NimiLNy/ytOtDU0lawIIqtl9CAztZTFW1d4WyboH4SUoCrgOqNKPopFWhd6
KxZiXm3wlMedTAtAwLdcNfSFqFDwYtTldSxlY1xk1EvXkkYPg7WBHasNIO7Iuwec
W9nCGvLxBCw3HcbResHHmoUtSED8TmQrQdMolCYg+5m+ubv3E9o=
=9GkW
-----END PGP SIGNATURE-----

BIN
util-linux-2.36.2.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,37 +0,0 @@
From 76bb9b30cfcf54b59591a57a3d2a747e514469b2 Mon Sep 17 00:00:00 2001
From: Karel Zak <kzak@redhat.com>
Date: Thu, 19 Nov 2020 09:49:16 +0100
Subject: [PATCH] libmount: don't use "symfollow" for helpers on user mounts
Addresses: https://github.com/karelzak/util-linux/issues/1193
Signed-off-by: Karel Zak <kzak@redhat.com>
---
libmount/src/context_mount.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c
index 8c394c1ff..dd1786176 100644
--- a/libmount/src/context_mount.c
+++ b/libmount/src/context_mount.c
@@ -415,6 +415,9 @@ static int generate_helper_optstr(struct libmnt_context *cxt, char **optstr)
* string, because there is nothing like MS_EXEC (we only have
* MS_NOEXEC in mount flags and we don't care about the original
* mount string in libmount for VFS options).
+ *
+ * This use-case makes sense for MS_SECURE flags only (see
+ * mnt_optstr_get_flags() and mnt_context_merge_mflags()).
*/
if (!(cxt->mountflags & MS_NOEXEC))
mnt_optstr_append_option(optstr, "exec", NULL);
@@ -422,11 +425,8 @@ static int generate_helper_optstr(struct libmnt_context *cxt, char **optstr)
mnt_optstr_append_option(optstr, "suid", NULL);
if (!(cxt->mountflags & MS_NODEV))
mnt_optstr_append_option(optstr, "dev", NULL);
- if (!(cxt->mountflags & MS_NOSYMFOLLOW))
- mnt_optstr_append_option(optstr, "symfollow", NULL);
}
-
if (cxt->flags & MNT_FL_SAVED_USER)
rc = mnt_optstr_set_option(optstr, "user", cxt->orig_user);
if (rc)

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Tue Feb 16 19:33:08 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>
- Update to version 2.36.2:
* agetty: tty eol defaults to REPRINT
* fsck.cramfs: fix fsck.cramfs crashes on blocksizes > 4K
* lib/caputils: add fall back for last cap using prctl.
* lib/signames: change license to public domain
* libfdisk:
* (dos) fix last possible sector calculation
* (script) ignore empty values for start and size
* ignore 33553920 byte optimal I/O size
* libmount:
* add vboxsf, virtiofs to pseudo filesystems
* do not canonicalize ZFS source dataset
* don't use "symfollow" for helpers on user mounts (boo#1181750,
obsoletes util-linux-libmount-dont-use-symfollow.patch)
* fix /{etc,proc}/filesystems use
* login: use full tty path for PAM_TTY
* lsblk: read SCSI_IDENT_SERIAL also from udev
* rfkill: stop execution when rfkill device cannot be opened
* setpriv: allow using [-+]all for capabilities.
* su: use full tty path for PAM_TTY
* switch_root: check if mount point to move even exists
* umount:
* ignore --no-canonicalize,-c for non-root users
* Show the 'r' option in the help menu
* Code cleanups and documentation improvements.
* Translation updates.
-------------------------------------------------------------------
Wed Feb 10 23:18:39 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>

View File

@ -126,7 +126,7 @@ BuildRequires: libmount-devel
%endif
%endif
#END SECOND STAGE DEPENDENCIES
Version: 2.36.1
Version: 2.36.2
Release: 0
URL: https://www.kernel.org/pub/linux/utils/util-linux/
Source: https://www.kernel.org/pub/linux/utils/util-linux/v2.36/util-linux-%{version}.tar.xz
@ -152,8 +152,6 @@ Patch1: libmount-print-a-blacklist-hint-for-unknown-filesyst.patch
Patch2: Add-documentation-on-blacklisted-modules-to-mount-8-.patch
# PATCH-FIX-SUSE: Avoid sulogin failing on not existing or not functional console devices
Patch3: util-linux-sulogin4bsc1175514.patch
# PATCH-FIX-UPSTREAM util-linux-libmount-dont-use-symfollow.patch boo1181750 ailin.nemui@gmail.com -- libmount: don't use "symfollow" for helpers on user mounts https://github.com/karelzak/util-linux/issues/1193
Patch4: util-linux-libmount-dont-use-symfollow.patch
#
%if %build_util_linux
Supplements: filesystem(minix)

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Tue Feb 16 19:33:08 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>
- Update to version 2.36.2:
* agetty: tty eol defaults to REPRINT
* fsck.cramfs: fix fsck.cramfs crashes on blocksizes > 4K
* lib/caputils: add fall back for last cap using prctl.
* lib/signames: change license to public domain
* libfdisk:
* (dos) fix last possible sector calculation
* (script) ignore empty values for start and size
* ignore 33553920 byte optimal I/O size
* libmount:
* add vboxsf, virtiofs to pseudo filesystems
* do not canonicalize ZFS source dataset
* don't use "symfollow" for helpers on user mounts (boo#1181750,
obsoletes util-linux-libmount-dont-use-symfollow.patch)
* fix /{etc,proc}/filesystems use
* login: use full tty path for PAM_TTY
* lsblk: read SCSI_IDENT_SERIAL also from udev
* rfkill: stop execution when rfkill device cannot be opened
* setpriv: allow using [-+]all for capabilities.
* su: use full tty path for PAM_TTY
* switch_root: check if mount point to move even exists
* umount:
* ignore --no-canonicalize,-c for non-root users
* Show the 'r' option in the help menu
* Code cleanups and documentation improvements.
* Translation updates.
-------------------------------------------------------------------
Wed Feb 10 23:18:39 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>

View File

@ -126,7 +126,7 @@ BuildRequires: libmount-devel
%endif
%endif
#END SECOND STAGE DEPENDENCIES
Version: 2.36.1
Version: 2.36.2
Release: 0
URL: https://www.kernel.org/pub/linux/utils/util-linux/
Source: https://www.kernel.org/pub/linux/utils/util-linux/v2.36/util-linux-%{version}.tar.xz
@ -152,8 +152,6 @@ Patch1: libmount-print-a-blacklist-hint-for-unknown-filesyst.patch
Patch2: Add-documentation-on-blacklisted-modules-to-mount-8-.patch
# PATCH-FIX-SUSE: Avoid sulogin failing on not existing or not functional console devices
Patch3: util-linux-sulogin4bsc1175514.patch
# PATCH-FIX-UPSTREAM util-linux-libmount-dont-use-symfollow.patch boo1181750 ailin.nemui@gmail.com -- libmount: don't use "symfollow" for helpers on user mounts https://github.com/karelzak/util-linux/issues/1193
Patch4: util-linux-libmount-dont-use-symfollow.patch
#
%if %build_util_linux
Supplements: filesystem(minix)