On Tue, 17 Sep 2019, Thorsten Glaser wrote: > linux-user/syscall.c:open_self_stat() fills the emulated > /proc/self/stat with a lot of 0s, whereas sudo reads the > tty from it, making it fail in chroots using qemu-user-static.
The weird thing is that /proc/$$/stat a.k.a. $(readlink /proc/self)/stat is correct… > Workaround: use sudo -S It ought to be still fixed ☻ bye, //mirabilos -- tarent solutions GmbH Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/ Tel: +49 228 54881-393 • Fax: +49 228 54881-235 HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941 Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

