Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package util-linux for openSUSE:Factory checked in at 2021-02-16 22:36:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/util-linux (Old) and /work/SRC/openSUSE:Factory/.util-linux.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "util-linux" Tue Feb 16 22:36:03 2021 rev:247 rq:871018 version:2.36.1 Changes: -------- --- /work/SRC/openSUSE:Factory/util-linux/python3-libmount.changes 2021-02-08 11:47:11.201686597 +0100 +++ /work/SRC/openSUSE:Factory/.util-linux.new.28504/python3-libmount.changes 2021-02-16 22:41:19.006026231 +0100 @@ -1,0 +2,12 @@ +Wed Feb 10 23:18:39 UTC 2021 - Stanislav Brabec <sbra...@suse.com> + +- libmount: don't use "symfollow" for helpers on user mounts + (boo#1181750, util-linux-libmount-dont-use-symfollow.patch) + +------------------------------------------------------------------- +Tue Feb 9 11:19:40 UTC 2021 - Jan Engelhardt <jeng...@inai.de> + +- Override GTKDOCIZE with /bin/true so we can run autoreconf + without needing gtk-doc as a dependency. + +------------------------------------------------------------------- util-linux-systemd.changes: same change util-linux.changes: same change New: ---- util-linux-libmount-dont-use-symfollow.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-libmount.spec ++++++ --- /var/tmp/diff_new_pack.YpEPE0/_old 2021-02-16 22:41:22.510030431 +0100 +++ /var/tmp/diff_new_pack.YpEPE0/_new 2021-02-16 22:41:22.514030435 +0100 @@ -152,6 +152,8 @@ 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.ne...@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) @@ -541,7 +543,7 @@ # # SUSE now supports only systemd based system. We do not build # sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities. -AUTOPOINT=true autoreconf -vfi +AUTOPOINT=true GTKDOCIZE=true autoreconf -vfi %configure \ --disable-silent-rules \ --docdir=%{_docdir}/%{_name} \ util-linux-systemd.spec: same change ++++++ util-linux.spec ++++++ --- /var/tmp/diff_new_pack.YpEPE0/_old 2021-02-16 22:41:22.590030526 +0100 +++ /var/tmp/diff_new_pack.YpEPE0/_new 2021-02-16 22:41:22.598030536 +0100 @@ -152,6 +152,8 @@ 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.ne...@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) @@ -541,7 +543,7 @@ # # SUSE now supports only systemd based system. We do not build # sysvinit-only versions of UTIL_LINUX_SYSTEMD_SOURCES utilities. -AUTOPOINT=true autoreconf -vfi +AUTOPOINT=true GTKDOCIZE=true autoreconf -vfi %configure \ --disable-silent-rules \ --docdir=%{_docdir}/%{_name} \ ++++++ util-linux-libmount-dont-use-symfollow.patch ++++++ >From 76bb9b30cfcf54b59591a57a3d2a747e514469b2 Mon Sep 17 00:00:00 2001 From: Karel Zak <k...@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 <k...@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)