Re: Bug#939898: glibc: setuid/getuid broken on alpha with 2.29-1

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.alpha
Message-ID <[email protected]>
Hi!

On 9/9/19 10:49 PM, John Paul Adrian Glaubitz wrote:
> Both on my Alpha XP-1000 as well as inside a qemu-user chroot, upgrading glibc
> to version 2.29-1 resulted in setuid/getuid breaking in a weird way:

To reproduce, one can simply run debootstrap with qemu-user-static installed and
enter the chroot:

root@epyc:/local_scratch> debootstrap --no-check-gpg --arch=alpha --foreign --variant=minbase unstable sid-alpha-sbuild http://ftp.ports.debian.org/debian-ports
(...)
root@epyc:/local_scratch> chroot sid-alpha-sbuild
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
I have no name!@epyc:/local_scratch> ./debootstrap/debootstrap --second-stage
E: debootstrap can only run as root
I have no name!@epyc:/local_scratch>

I assume this would also work on qemu-system-alpha although I haven't tried
yet. But it should work the same way but without the "--foreign" argument.

Adrian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.