GNU bug report logs - #59616
[Hurd] glibc lacks 'pt_chown' setuid program

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Sat, 26 Nov 2022 18:24:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: 59616 <at> debbugs.gnu.org
Subject: bug#59616: Texinfo 6.7 test hangs on i586-gnu (GNU/Hurd)
Date: Sun, 27 Nov 2022 23:34:21 +0100
Hi,

Ludovic Courtès <ludo <at> gnu.org> skribis:

> The childhurd only has this:
>
> ludo <at> childhurd /tmp/guix-build-texinfo-6.7.drv-0/texinfo-6.7/info$ ls -l /dev/ptyp*
> crw--w---- 1 root tty  0, 0 Nov 26 16:05 /dev/ptyp0
> crw--w---- 1 ludo tty  0, 0 Nov 26 16:05 /dev/ptyp1
> crw------- 1 root root 0, 0 Nov 26 16:05 /dev/ptyp2

Part of the solution is to create more of them in hurd-boot.scm.

But there’s a second problem: we need to build glibc’s ‘pt_chown’ setuid
program (with ‘--enable-pt_chown’) so that ‘grantpt’ can change the
owner of /dev/ttyp*.

At least that’s how it’s done on Debian GNU/Hurd, but I’m surprised
/hurd/term (for pty-slave) doesn’t just return the right UID on
‘io_stat’.

Ludo’.




This bug report was last modified 2 years and 239 days ago.

Previous Next


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