From unknown Thu Jun 19 14:03:07 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#40901 <40901@debbugs.gnu.org> To: bug#40901 <40901@debbugs.gnu.org> Subject: Status: gnu: ktsuss: Fix paths. Reply-To: bug#40901 <40901@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:03:07 +0000 retitle 40901 gnu: ktsuss: Fix paths. reassign 40901 guix-patches submitter 40901 Raghav Gururajan severity 40901 normal tag 40901 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 09:37:30 2020 Received: (at submit) by debbugs.gnu.org; 27 Apr 2020 13:37:30 +0000 Received: from localhost ([127.0.0.1]:35930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT3ww-00066y-0W for submit@debbugs.gnu.org; Mon, 27 Apr 2020 09:37:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:60728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT3wu-00066s-V3 for submit@debbugs.gnu.org; Mon, 27 Apr 2020 09:37:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46658) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT3wu-0006oQ-5Y for guix-patches@gnu.org; Mon, 27 Apr 2020 09:37:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jT3wq-0002TG-7h for guix-patches@gnu.org; Mon, 27 Apr 2020 09:37:27 -0400 Received: from knopi.disroot.org ([178.21.23.139]:59506) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1jT3wp-0002RT-55; Mon, 27 Apr 2020 09:37:23 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 5611B27F0C; Mon, 27 Apr 2020 15:37:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eLx_PbY8I6rN; Mon, 27 Apr 2020 15:37:17 +0200 (CEST) Date: Mon, 27 Apr 2020 09:37:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1587994637; bh=kJTW+wUiDL7d6iqAI9tP/yH5Woc6EjWlH8lT+utYCuI=; h=Date:From:To:Cc:Subject; b=biwL9sc5Y8CtgW/BgKq3pc9F4PLs39eKg3H9ixlIVMwAbBfhRUCu/ubyNuPlcdizy INriAEK5i/0rXwWbJr77356p4oAhHsTbxbZIwitQBgvDr8PL16hCYLQVQluzCDvDgr du/rb4dalEwQQiZYxSDt5Y0QnZVOce6AW0ln9uPojw2caMKwxRLLlE6lPikY64SLqJ ssJtEIdPUVs+81gCHr9eseg9JqpWmi1/U84zEnUf9tKKliiSpX/BCZbGTGfxf4xTXk 1OamFhJFASjNxQYZLb2pUb9U/YFyyrNt/Zn+4yDvC4ro0yC3dOAh/GPwFa6xucMJXT 0578PQkOhgHLw== From: Raghav Gururajan To: guix-patches@gnu.org Subject: gnu: ktsuss: Fix paths. Message-ID: <20200427093702.16f9d953.raghavgururajan@disroot.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/2Edl5fhf3GhUFbuXuhaxjUk" Received-SPF: pass client-ip=178.21.23.139; envelope-from=raghavgururajan@disroot.org; helo=knopi.disroot.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/27 09:37:19 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 178.21.23.139 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Jan Nieuwenhuizen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --MP_/2Edl5fhf3GhUFbuXuhaxjUk Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline --MP_/2Edl5fhf3GhUFbuXuhaxjUk Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-gnu-ktsuss-Fix-paths.patch >From ecdb9f73f2aa9854f03ace199fcc4c4547a2be49 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Mon, 27 Apr 2020 09:32:43 -0400 Subject: [PATCH] gnu: ktsuss: Fix paths. * gnu/packages/admin.scm (ktsuss): Fix paths. --- gnu/packages/admin.scm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 236eebe53c..9316e974bc 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -150,24 +150,25 @@ (list "--enable-sudo=yes") #:phases (modify-phases %standard-phases - (add-after 'unpack 'patch-sudo-path - (lambda* (#:key inputs #:allow-other-keys) + (add-after 'unpack 'patch-paths + (lambda* (#:key inputs outputs #:allow-other-keys) + (substitute* "src/ktsuss.c" + (("/usr/sbin:/usr/local/sbin:/sbin") + "~/.guix-profile/sbin")) (substitute* "configure.ac" + (("supath=`which su 2>/dev/null`") + "supath=/run/setuid-programs/su") (("sudopath=`which sudo 2>/dev/null`") - (string-append "sudopath=" - (string-append (assoc-ref inputs "sudo") - "/bin/sudo")))) + "sudopath=/run/setuid-programs/sudo")) #t))))) (native-inputs `(("autoconf" ,autoconf) - ("autogen" ,autogen) ("automake" ,automake) ("libtool" ,libtool) ("pkg-config" ,pkg-config))) (inputs `(("glib" ,glib) - ("gtk+" ,gtk+-2) - ("sudo" ,sudo))) + ("gtk+" ,gtk+-2))) (synopsis "Graphical front end for @command{su}") (description "Ktsuss stands for ``Keep the @command{su} simple, stupid''. -- 2.26.2 --MP_/2Edl5fhf3GhUFbuXuhaxjUk-- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 12:21:55 2020 Received: (at 40901) by debbugs.gnu.org; 27 Apr 2020 16:21:55 +0000 Received: from localhost ([127.0.0.1]:37972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT6Vu-0007RN-F4 for submit@debbugs.gnu.org; Mon, 27 Apr 2020 12:21:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT6Vo-0007Qv-88 for 40901@debbugs.gnu.org; Mon, 27 Apr 2020 12:21:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39416) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT6Vh-0002Mx-Ie; Mon, 27 Apr 2020 12:21:33 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=33188 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jT6Vg-0003XR-W8; Mon, 27 Apr 2020 12:21:33 -0400 From: Jan Nieuwenhuizen To: Raghav Gururajan Subject: Re: [bug#40901] gnu: ktsuss: Fix paths. References: <20200427093702.16f9d953.raghavgururajan@disroot.org> Date: Mon, 27 Apr 2020 18:21:31 +0200 In-Reply-To: <20200427093702.16f9d953.raghavgururajan@disroot.org> (Raghav Gururajan's message of "Mon, 27 Apr 2020 09:37:02 -0400") Message-ID: <87k120527o.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40901 Cc: 40901@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Raghav Gururajan writes: Hello Raghav, > From ecdb9f73f2aa9854f03ace199fcc4c4547a2be49 Mon Sep 17 00:00:00 2001 > From: Raghav Gururajan > Date: Mon, 27 Apr 2020 09:32:43 -0400 > Subject: [PATCH] gnu: ktsuss: Fix paths. > > * gnu/packages/admin.scm (ktsuss): Fix paths. I changed the commit message to --8<---------------cut here---------------start------------->8--- gnu: ktsuss: Use setuid "su" and "sudo" commands. This has ktsudo actually gain root access. * gnu/packages/admin.scm (ktsuss)[arguments]: Instead of /bin/{su,sud= o} file names, use the setuid' verrsions. --8<---------------cut here---------------end--------------->8--- When there is a fix being made, a short explanation is nice to have. What was wrong that the file name were changed, what was fixed? Also, we are (mainly) fixing the file names of SU and SUDO, not PATHs. > - (add-after 'unpack 'patch-sudo-path > - (lambda* (#:key inputs #:allow-other-keys) > + (add-after 'unpack 'patch-paths Renamed to 'patch-file-names' > + (lambda* (#:key inputs outputs #:allow-other-keys) Parameters inputs and outputs are both not used; I changed this to + (lambda _ > + (substitute* "src/ktsuss.c" > + (("/usr/sbin:/usr/local/sbin:/sbin") > + "~/.guix-profile/sbin")) No way! :-) I removed/did not apply this change. > (substitute* "configure.ac" > + (("supath=3D`which su 2>/dev/null`") > + "supath=3D/run/setuid-programs/su") > (("sudopath=3D`which sudo 2>/dev/null`") > - (string-append "sudopath=3D" > - (string-append (assoc-ref inputs "sudo") > - "/bin/sudo")))) > + "sudopath=3D/run/setuid-programs/sudo")) LGTM! Can you please remember to test a program before submitting it? And I mean not only check if "it runs", but also if it is actually useful? Pushed to master with these changes. Greetings, janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 03:43:39 2020 Received: (at 40901) by debbugs.gnu.org; 28 Apr 2020 07:43:39 +0000 Received: from localhost ([127.0.0.1]:38740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTKu3-0006kE-C8 for submit@debbugs.gnu.org; Tue, 28 Apr 2020 03:43:39 -0400 Received: from knopi.disroot.org ([178.21.23.139]:46816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTKu0-0006k5-Np for 40901@debbugs.gnu.org; Tue, 28 Apr 2020 03:43:37 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8A75E27F38; Tue, 28 Apr 2020 09:43:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AcdY2QykzBg1; Tue, 28 Apr 2020 09:43:34 +0200 (CEST) Date: Tue, 28 Apr 2020 03:43:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1588059814; bh=C10dc18AjLoQ4k+PcorCWYP2Xpg3dnKIR13QyN6I/k0=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=JH8zC7HIEqZg2VjvqeuMJYnh6gvL32sgjkMMGmdoUr3tTAnq78DJFaqsqjHllvvLG V95w49OOlmRStX8EsT2kZLIBE/ovmoWzNqi6ZN3wv1SAK1igEkKYAobSDV5E1bd0NA /HX+Bt2jQy6wBDoZqnIBeihSaLNbI3jwFILvb1cMywLgHbxzOz1HBj+Ttw/5epq/dG pt6yt2zo5M3ZEsAn46GLpbShv563bJiVVG4WY9WlSajnQybW5ZjRHV3hlY3DAJMqds MUJd0HrCf8rgM1Bs7tm4kpYIMSz55bbsVqf6GfP9kJlB0OObUrJOKkUKpCAY/AftnK ohBegoUkI4kAQ== From: Raghav Gururajan To: Jan Nieuwenhuizen Subject: Re: [bug#40901] gnu: ktsuss: Fix paths. Message-ID: <20200428034314.37f199f3.raghavgururajan@disroot.org> In-Reply-To: <87k120527o.fsf@gnu.org> References: <20200427093702.16f9d953.raghavgururajan@disroot.org> <87k120527o.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/5VEwrMxmPd+cIDKAg7A6F5A" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40901 Cc: 40901@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --MP_/5VEwrMxmPd+cIDKAg7A6F5A Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello Jan! > Can you please remember to test a program before submitting it? And I > mean not only check if "it runs", but also if it is actually useful? Sorry. I have attached a patch with this email to make ktsuss work correctly. This, along with #40922, allows me to fix SpaceFM. Regards, RG. --MP_/5VEwrMxmPd+cIDKAg7A6F5A Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0002-gnu-ktsuss-Disable-sudo.patch >From a1d5a14bb634fe52201fdde9ffbd3e385b89d234 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Tue, 28 Apr 2020 03:34:05 -0400 Subject: [PATCH 2/2] gnu: ktsuss: Disable sudo. * gnu/packages/admin.scm (ktsuss): Disable sudo. Disabled sudo-backend as there is an unknown bug in upstream. Ktsuss now fall-back to using su-backend, which works correctly. --- gnu/packages/admin.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index cb3de79713..356fd1cdf4 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -146,9 +146,7 @@ (file-name (git-file-name name version)))) (build-system glib-or-gtk-build-system) (arguments - `(#:configure-flags - (list "--enable-sudo=yes") - #:phases + `(#:phases (modify-phases %standard-phases (add-after 'unpack 'patch-file-names (lambda _ -- 2.26.2 --MP_/5VEwrMxmPd+cIDKAg7A6F5A-- From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 28 13:13:23 2020 Received: (at 40901) by debbugs.gnu.org; 28 Apr 2020 17:13:24 +0000 Received: from localhost ([127.0.0.1]:41257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTTnL-0006k5-LK for submit@debbugs.gnu.org; Tue, 28 Apr 2020 13:13:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTTnJ-0006js-LP for 40901@debbugs.gnu.org; Tue, 28 Apr 2020 13:13:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35969) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTTnC-0000mj-Np; Tue, 28 Apr 2020 13:13:10 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=35118 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jTTnB-0007vE-9w; Tue, 28 Apr 2020 13:13:09 -0400 From: Jan Nieuwenhuizen To: Raghav Gururajan Subject: Re: [bug#40901] gnu: ktsuss: Fix paths. Organization: AvatarAcademy.nl References: <20200427093702.16f9d953.raghavgururajan@disroot.org> <87k120527o.fsf@gnu.org> <20200428034314.37f199f3.raghavgururajan@disroot.org> X-Url: http://AvatarAcademy.nl Date: Tue, 28 Apr 2020 19:13:07 +0200 Message-ID: <87sggncz4s.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40901 Cc: 40901@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Raghav Gururajan writes: Hello Raghav, >> Can you please remember to test a program before submitting it? And I >> mean not only check if "it runs", but also if it is actually useful? > > Sorry. I have attached a patch with this email to make ktsuss work > correctly. Hmm, I experienced no problem when I tested it. What did you observe (see my question below). > From a1d5a14bb634fe52201fdde9ffbd3e385b89d234 Mon Sep 17 00:00:00 2001 > From: Raghav Gururajan > Date: Tue, 28 Apr 2020 03:34:05 -0400 > Subject: [PATCH 2/2] gnu: ktsuss: Disable sudo. > > * gnu/packages/admin.scm (ktsuss): Disable sudo. > > Disabled sudo-backend as there is an unknown bug in upstream. > Ktsuss now fall-back to using su-backend, which works correctly. Having a like this is great. Two remarks * please move it above the "* gnu/packages/admin" line * it would be great if you can add link to the ktsuss bug tracer about this "unknown" bug Without any indication about what the bug is or how it can be reproduced, it becomes hard to remove this workaround. Other than that: LGTM. Greetings, janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 30 04:39:41 2020 Received: (at 40901) by debbugs.gnu.org; 30 Apr 2020 08:39:41 +0000 Received: from localhost ([127.0.0.1]:45326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jU4jN-0007Mm-J2 for submit@debbugs.gnu.org; Thu, 30 Apr 2020 04:39:41 -0400 Received: from knopi.disroot.org ([178.21.23.139]:33156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jU4jL-0007Me-QX for 40901@debbugs.gnu.org; Thu, 30 Apr 2020 04:39:40 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6588528A3D; Thu, 30 Apr 2020 10:39:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F9DScDi1Kc-J; Thu, 30 Apr 2020 10:39:37 +0200 (CEST) Date: Thu, 30 Apr 2020 04:39:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1588235977; bh=GPGkeqQjjHvKxzvuiKy90quWJlRAAXrHO354voeMeq4=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=D2KptaNF/KX3st5z6Ke3a838s4sP4TC5WFzTtpxsCF40gGUhW+DeIKb+z3iKX9/ql zmidExLBOdMqi7flaMLAtg6iGeJkzLVBZxNp9CaNZFry1d0CBC08FVY1agnchqy8fZ NtGnNQTpU2ZxllN7KoxVQTPtPZc/+KMcOxMbv2Un63N62s+jhwLMQ/xXwwHsBbGuQU 3fY7TI1iirpJ0XNehtfzgUGOrUfqovFc6T4ixSohw84SrragdROrTd256HsVkaK2jJ 1dTfabH7aQUSsqsG9Qf8sS3JJ4cW6DPNWIxcGHA9hwbb9Xec/UNCaC8Y+hX78BOcyB 9dKG/tL/yQqPw== From: Raghav Gururajan To: Jan Nieuwenhuizen Subject: Re: [bug#40901] gnu: ktsuss: Fix paths. Message-ID: <20200430043918.0f36cbc0.raghavgururajan@disroot.org> In-Reply-To: <87sggncz4s.fsf@gnu.org> References: <20200427093702.16f9d953.raghavgururajan@disroot.org> <87k120527o.fsf@gnu.org> <20200428034314.37f199f3.raghavgururajan@disroot.org> <87sggncz4s.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/G/VfgDmFUh5OQQL4F++M7OJ" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40901 Cc: 40901@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --MP_/G/VfgDmFUh5OQQL4F++M7OJ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Jan! > Having a like this is great. Two remarks > > * please move it above the "* gnu/packages/admin" line Done! > * it would be great if you can add link to the ktsuss bug tracer about > this "unknown" bug It is not reported yet. I could report it, but I am not sure how to debug deeper to pin-point the exact part of the sudo-backend that has the bug. So I have changed commit-message to fit situation. Please find the revised patch attached with this email. Regards, RG. --MP_/G/VfgDmFUh5OQQL4F++M7OJ Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-gnu-ktsuss-Revert-back-to-su-from-sudo.patch >From 736ac4d7940bdc9982f05b5b58fbaf32f3d6aec4 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Thu, 30 Apr 2020 04:26:05 -0400 Subject: [PATCH] gnu: ktsuss: Revert back to su from sudo. Sudo authentication does not work in guix system. Disabled sudo-backend. Ktsuss will now use su-backend, which is the default. * gnu/packages/admin.scm (ktsuss): Revert back to su from sudo. --- gnu/packages/admin.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index cb3de79713..356fd1cdf4 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -146,9 +146,7 @@ (file-name (git-file-name name version)))) (build-system glib-or-gtk-build-system) (arguments - `(#:configure-flags - (list "--enable-sudo=yes") - #:phases + `(#:phases (modify-phases %standard-phases (add-after 'unpack 'patch-file-names (lambda _ -- 2.26.2 --MP_/G/VfgDmFUh5OQQL4F++M7OJ-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 30 09:54:33 2020 Received: (at 40901) by debbugs.gnu.org; 30 Apr 2020 13:54:33 +0000 Received: from localhost ([127.0.0.1]:45569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jU9e5-0004N5-05 for submit@debbugs.gnu.org; Thu, 30 Apr 2020 09:54:33 -0400 Received: from knopi.disroot.org ([178.21.23.139]:58146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jU9e2-0004Mw-Ly for 40901@debbugs.gnu.org; Thu, 30 Apr 2020 09:54:31 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 344572B302; Thu, 30 Apr 2020 15:54:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id ukABxl4DMbke; Thu, 30 Apr 2020 15:54:28 +0200 (CEST) Date: Thu, 30 Apr 2020 09:54:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1588254866; bh=KVejyoZ8OJhk0mccZ4pOOqgi0juD4LW6eL6ALvTFd/Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=WvCoOnidpD6e6iSYefRGLjMHTTYsjqmtXFJKgq7xki8VYAxtAzSfaPWUNdGEgLysQ xGVZywiwhhJqqUxQE6VRCEIQwlIBeHtxnAOUKwe25IV0Al3DJfHiV68GW7zAmxQOj8 LHAs8Kn0MxeaUXJFK/sVUyfY4274u9bdikUXSYgv+BCoNeDnG8cxCinWQww14Mrh5t 3VJP0IP/qvgA5X1soJz+nfVBO948tT8HqVICg5d1Jz/S/8Zfe4v+RArsGG1uobiqty Gi4mmS0etsmFy654eqQpTQLs9PeRLepmpeaBsA52nn03Bkyen9tJ7bCMrf5RkIwilZ 1fyFYS6dY/FTw== From: Raghav Gururajan To: Jan Nieuwenhuizen Subject: Re: [bug#40901] gnu: ktsuss: Fix paths. Message-ID: <20200430095407.5384bf61.raghavgururajan@disroot.org> In-Reply-To: <20200430043918.0f36cbc0.raghavgururajan@disroot.org> References: <20200427093702.16f9d953.raghavgururajan@disroot.org> <87k120527o.fsf@gnu.org> <20200428034314.37f199f3.raghavgururajan@disroot.org> <87sggncz4s.fsf@gnu.org> <20200430043918.0f36cbc0.raghavgururajan@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40901 Cc: 40901@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Jan! Please ignore #40901. Let's leave it closed. Regards, RG. From debbugs-submit-bounces@debbugs.gnu.org Sat May 02 10:23:48 2020 Received: (at control) by debbugs.gnu.org; 2 May 2020 14:23:48 +0000 Received: from localhost ([127.0.0.1]:53599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUt3T-0000KE-PS for submit@debbugs.gnu.org; Sat, 02 May 2020 10:23:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUt3S-0000K0-E7 for control@debbugs.gnu.org; Sat, 02 May 2020 10:23:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58503) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUt3N-00059a-6Q for control@debbugs.gnu.org; Sat, 02 May 2020 10:23:41 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=47788 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jUt3M-0006GY-JG for control@debbugs.gnu.org; Sat, 02 May 2020 10:23:40 -0400 Date: Sat, 02 May 2020 16:23:39 +0200 Message-Id: <87v9le5sb8.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #40901 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 40901 fixed close 40901 quit From unknown Thu Jun 19 14:03:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 31 May 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator