From fc3e4de1fbb7d454aba36c3db38869b73209c568 Mon Sep 17 00:00:00 2001 From: Jiri Kucera Date: Wed, 16 Jun 2021 21:09:51 +0200 Subject: [PATCH] Do not use fexecve Script executed via fexecve has a file descriptor number in argv[0]. This results in unexpected output: when displaying the script help, a user see "Usage: [options]" instead of "Usage: [options]". Resolves: #1969918 --- usermode.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/usermode.spec b/usermode.spec index 5e07f58..94cd0ad 100644 --- a/usermode.spec +++ b/usermode.spec @@ -4,7 +4,7 @@ Summary: Tools for certain user account management tasks Name: usermode Version: 1.114 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://pagure.io/%{name}/ Source: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.xz @@ -50,7 +50,7 @@ graphical tools for certain account management tasks. %setup -q %build -%configure --with-selinux %{!?with_gtk:--without-gtk} +%configure --with-selinux --without-fexecve %{!?with_gtk:--without-gtk} %make_build @@ -108,6 +108,14 @@ done %endif %changelog +* Wed Jun 16 2021 Jiri Kucera - 1.114-2 +- Do not use fexecve + Script executed via fexecve has a file descriptor number in + argv[0]. This results in unexpected output: when displaying + the script help, a user see "Usage: [options]" + instead of "Usage: [options]". + Resolves: #1969918 + * Tue May 04 2021 Jiri Kucera - 1.114-1 - Update to usermode-1.114 - Allow to optionally disable GTK