GNU bug report logs - #63904
Can't setuid programs to anybody but root

Previous Next

Package: guix;

Reported by: edk <at> beaver-labs.com

Date: Mon, 5 Jun 2023 10:13:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Edouard Klein <edou <at> rdklein.fr>
To: Josselin Poiret <dev <at> jpoiret.xyz>
Cc: 63904 <at> debbugs.gnu.org
Subject: bug#63904: Can't setuid programs to anybody but root
Date: Thu, 06 Jul 2023 14:04:02 +0200
Thank you Josselin :)

I ended up basically reusing this code in my own system layer, while we
wait on 62726 to be merged.

Also, I needed a new keyword argument to change the name of the setuid
binary.

It works flawlessly, thanks !

Cheers,

Edouard.




Josselin Poiret <dev <at> jpoiret.xyz> writes:

> [[PGP Signed Part:Undecided]]
> Hi everyone,
>
> You might want to have a look at [1], which should resolve this.  I've
> held off on reviewing it for quite a bit but have talked on IRC recently
> with bjc about it.  With this approach, while cleaner, we'll need to
> identify which services rely on the setuid binaries being present, as
> well as ensure they're up before any interaction with the user is
> possible.
>
> [1] https://issues.guix.gnu.org/62726
>
> HTH,




This bug report was last modified 1 year and 345 days ago.

Previous Next


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