GNU bug report logs - #40920
gnu: Add gtksu.

Previous Next

Package: guix-patches;

Reported by: "Raghav Gururajan" <raghavgururajan <at> disroot.org>

Date: Tue, 28 Apr 2020 02:36:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40920 in the body.
You can then email your comments to 40920 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#40920; Package guix-patches. (Tue, 28 Apr 2020 02:36:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Raghav Gururajan" <raghavgururajan <at> disroot.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 28 Apr 2020 02:36:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Raghav Gururajan" <raghavgururajan <at> disroot.org>
To: guix-patches <at> gnu.org
Subject: gnu: Add gtksu.
Date: Tue, 28 Apr 2020 02:35:41 +0000
[Message part 1 (text/plain, inline)]

[0002-gnu-Add-gtksu.patch (application/octet-stream, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#40920; Package guix-patches. (Sun, 03 May 2020 06:39:01 GMT) Full text and rfc822 format available.

Message #8 received at 40920 <at> debbugs.gnu.org (full text, mbox):

From: iyzsong <at> member.fsf.org (宋文武)
To: "Raghav Gururajan" <raghavgururajan <at> disroot.org>
Cc: 40920 <at> debbugs.gnu.org
Subject: Re: [bug#40920] gnu: Add gtksu.
Date: Sun, 03 May 2020 14:38:29 +0800
"Raghav Gururajan" <raghavgururajan <at> disroot.org> writes:

> From 50743e3c242c3e5e10f5e144c72025610278c94d Mon Sep 17 00:00:00 2001
> From: Raghav Gururajan <raghavgururajan <at> disroot.org>
> Date: Mon, 27 Apr 2020 22:32:56 -0400
> Subject: [PATCH 2/2] gnu: Add gtksu.
>
> * gnu/packages/admin.scm (gtksu): New variable.

Hello, this patch looks good to me, but after install, it doesn't works..

I think gtksuwrap should be setup with 'setuid', and gtksu should look
it through PATH or under '/run/setuid-programs'.  Also this program
lookup executables in '_PATH_STDPATH' (and '_PATH_DEFPATH') from glibc's
'shadow.h' and 'paths.h', they're defined as
'/usr/bin:/bin:/usr/sbin:/sbin' and '/usr/bin:/bin', so we'd better
modify 'paths.h' in glibc or modify gtksu to use a suitable 'PATH'.




Information forwarded to guix-patches <at> gnu.org:
bug#40920; Package guix-patches. (Mon, 04 May 2020 03:24:01 GMT) Full text and rfc822 format available.

Message #11 received at 40920 <at> debbugs.gnu.org (full text, mbox):

From: Raghav Gururajan <raghavgururajan <at> disroot.org>
To: iyzsong <at> member.fsf.org (宋文武)
Cc: 40920 <at> debbugs.gnu.org
Subject: Re: [bug#40920] gnu: Add gtksu.
Date: Sun, 3 May 2020 23:23:04 -0400
Hi!

> Hello, this patch looks good to me, but after install, it doesn't works..
> 
> I think gtksuwrap should be setup with 'setuid', and gtksu should look
> it through PATH or under '/run/setuid-programs'.  Also this program
> lookup executables in '_PATH_STDPATH' (and '_PATH_DEFPATH') from glibc's
> 'shadow.h' and 'paths.h', they're defined as
> '/usr/bin:/bin:/usr/sbin:/sbin' and '/usr/bin:/bin', so we'd better
> modify 'paths.h' in glibc or modify gtksu to use a suitable 'PATH'.

Sorry, I sent this patch by mistake. I was packaged ktsuss, which is now in
master. :-)

Regards,
RG.




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Sat, 30 May 2020 05:06:01 GMT) Full text and rfc822 format available.

Notification sent to "Raghav Gururajan" <raghavgururajan <at> disroot.org>:
bug acknowledged by developer. (Sat, 30 May 2020 05:06:01 GMT) Full text and rfc822 format available.

Message #16 received at 40920-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Raghav Gururajan <raghavgururajan <at> disroot.org>
Cc: 40920-done <at> debbugs.gnu.org,
 宋文武 <iyzsong <at> member.fsf.org>
Subject: Re: [bug#40920] gnu: Add gtksu.
Date: Sat, 30 May 2020 01:05:37 -0400
Raghav Gururajan <raghavgururajan <at> disroot.org> writes:

> Hi!
>
>> Hello, this patch looks good to me, but after install, it doesn't works..
>> 
>> I think gtksuwrap should be setup with 'setuid', and gtksu should look
>> it through PATH or under '/run/setuid-programs'.  Also this program
>> lookup executables in '_PATH_STDPATH' (and '_PATH_DEFPATH') from glibc's
>> 'shadow.h' and 'paths.h', they're defined as
>> '/usr/bin:/bin:/usr/sbin:/sbin' and '/usr/bin:/bin', so we'd better
>> modify 'paths.h' in glibc or modify gtksu to use a suitable 'PATH'.
>
> Sorry, I sent this patch by mistake. I was packaged ktsuss, which is now in
> master. :-)

Closing, then, by editing the debbugs email in my wide reply to
40920-done <at> debbugs.gnu.org (hint: you can do it yourself next time :-)).

Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 27 Jun 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 12 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.