[Bug 2073407] Re: fakechroot: update-alternatives crashes

2024-08-21 Thread Athos Ribeiro
Hi! Since I see no debdiffs nor merge proposals here, I am unsubscribing ubuntu-sponsors from this bug. Please, subscribe it back if we get something needing sponsoring. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.lau

[Bug 2073407] Re: fakechroot: update-alternatives crashes

2024-07-26 Thread Ondrej Kubik
repo with tested fix based on noble: https://code.launchpad.net/~ondrak/ubuntu/+source/fakechroot/+git/fakechroot/+ref/ubuntu/noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2073407 Title: fake

[Bug 2073407] Re: fakechroot: update-alternatives crashes

2024-07-25 Thread Ɓukasz Zemczak
** Also affects: fakechroot (Ubuntu Noble) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2073407 Title: fakechroot: update-alternatives crashes To manage

[Bug 2073407] Re: fakechroot: update-alternatives crashes

2024-07-19 Thread Ondrej Kubik
I was able to locate PR which is addressing this. I was able to confirm this is fixing the problem. Patch: https://paste.ubuntu.com/p/j8TKk4QfbF/ PR is here: https://github.com/dex4er/fakechroot/pull/115/files -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 2073407] Re: fakechroot: update-alternatives crashes

2024-07-18 Thread Ondrej Kubik
@juliank I stand corrected, indeed whem running with chroot, things do work. So it is limited to fakechroot Which unfortunately is the usecase we are after, running chroot without the need to do mount proc, dev,... -- You received this bug notification because you are a member of Ubuntu Bugs, wh

[Bug 2073407] Re: fakechroot: update-alternatives crashes

2024-07-18 Thread Julian Andres Klode
Funnily any intermediate command also makes it work: $ fakechroot env /usr/sbin/chroot /tmp/noble-amd64 groups: cannot find name for group ID 1000 groups: cannot find name for group ID 113 I have no name!@jak-t14-g3:/$ -- You received this bug notification because you are a member of Ubuntu Bugs

[Bug 2073407] Re: fakechroot: update-alternatives crashes

2024-07-18 Thread Julian Andres Klode
I assume this fakechroot crash is unrelated however, because it crashes directly on the chroot whereas what crashes in the bug report is update- alternatives. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/b

[Bug 2073407] Re: fakechroot: update-alternatives crashes

2024-07-18 Thread Julian Andres Klode
I investigated all sorts of possible combinations fakechroot fakeroot chroot fakeroot chroot fakechroot chroot chroot And it only crashed in the fakechroot case, I cannot confirm any crashes with just chroot; I did do the whole verification inside a container emulated by qemu-user-static. I did

[Bug 2073407] Re: fakechroot: update-alternatives crashes

2024-07-18 Thread Julian Andres Klode
This is the crash, you can see it crashes in fakechroot trying to locate bindtextdomain using dlsym: #0 0x7100c997d62a in ___dlsym (handle=0x, name=0x7100c9b13ac1 "bindtextdomain") at ./dlfcn/dlsym.c:66 warning: 66 ./dlfcn/dlsym.c: No such file or directory (gdb) bt full

[Bug 2073407] Re: fakechroot: update-alternatives crashes

2024-07-17 Thread Ondrej Kubik
to confirm, this problem is not limited when running using qemu-static and invoking chroot with . Same can be reproduced running natively chroot as $ chroot base-noble- arm64 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bug

[Bug 2073407] Re: fakechroot: update-alternatives crashes

2024-07-17 Thread Dilyn
This problem also impacts RISC-V -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2073407 Title: fakechroot: update-alternatives crashes To manage notifications about this bug go to: https://bugs.laun

[Bug 2073407] Re: fakechroot: update-alternatives crashes

2024-07-17 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: fakechroot (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2073407 Title:

[Bug 2073407] Re: fakechroot: update-alternatives crashes

2024-07-17 Thread Julian Andres Klode
** Description changed: fakechroot chroot chroot-directory "apt-get install -y fakeroot" fails on arm64, as update-alternatives is crashing; it works fine without fakechroot. + + Test case: + + #!/bin/sh + + apt install curl fakeroot fakechroot -y + curl https://cdimage.ubuntu.com/ubuntu