Your message dated Sat, 21 Jan 2017 16:48:44 +0000
with message-id <[email protected]>
and subject line Bug#847292: fixed in proot 5.1.0-1.2
has caused the Debian Bug report #847292,
regarding proot misses the "binary loader size" fix
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
847292: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847292
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: proot
Version: 5.1.0-1.1
Severity: normal
Tags: upstream
Hello,
It seems proot 5.1.0-1.1, as found in Debian Sid as I am reporting this, is
unusable.
How to reproduce?
$ # Work around https://github.com/proot-me/PRoot/issues/106
$ export PROOT_NO_SECCOMP=1
$ proot ls
proot error: can't write the loader: Bad address
proot error: execve("/bin/ls"): No such file or directory
proot info: possible causes:
* the program is a script but its interpreter (eg. /bin/sh) was not found;
* the program is an ELF but its interpreter (eg. ld-linux.so) was not
found;
* the program is a foreign binary but qemu was not specified;
* qemu does not work correctly (if specified);
* the loader was not found or doesn't work.
fatal error: see `proot --help`.
Expected outcome: this command should have listed the current directory.
A short investigation reveals that proot fails to determine the size of the
binary loader (it gets a garbage value), leading to that "can't write the
loader" error when the said garbage value is fed to write().
Fortunately, a fix is available upstream: https://github.com/proot-
me/PRoot/pull/108
And I can confirm that building the "hotfixLoader" branch makes proot usable
again.
Cheers,
Xavier.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages proot depends on:
ii libc6 2.24-7
ii libtalloc2 2.1.8-1
proot recommends no packages.
proot suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: proot
Source-Version: 5.1.0-1.2
We believe that the bug you reported is fixed in the latest version of
proot, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Simon McVittie <[email protected]> (supplier of updated proot package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 14 Jan 2017 15:58:21 +0000
Source: proot
Binary: proot
Architecture: source
Version: 5.1.0-1.2
Distribution: unstable
Urgency: medium
Maintainer: Rémi Duraffort <[email protected]>
Changed-By: Simon McVittie <[email protected]>
Description:
proot - emulate chroot, bind mount and binfmt_misc for non-root users
Closes: 847292
Changes:
proot (5.1.0-1.2) unstable; urgency=medium
.
* Non-maintainer upload.
* Add patch from upstream to fix simple invocation like "proot ls"
(Closes: #847292)
* Disable the seccomp-based tracing optimization, which just segfaults
with recent kernels (4.8.4+, according to upstream bug #160)
Checksums-Sha1:
f2c35626efa58a117f28c03ea9067769f32acc97 1856 proot_5.1.0-1.2.dsc
2bd54ac51e9c0d97750f0c224667755f6c6f4d48 5152 proot_5.1.0-1.2.debian.tar.xz
Checksums-Sha256:
d04113f32753f2bfd8cd9a09f34f81f0d351e8308bab2de71d0046e70d28b410 1856
proot_5.1.0-1.2.dsc
11a4796ebdb5b470c1c0fab51d74e16ee31be5a50336ce87344d3b1bc26e56ca 5152
proot_5.1.0-1.2.debian.tar.xz
Files:
7781228d7f213bcf188be6523213f113 1856 utils optional proot_5.1.0-1.2.dsc
ed316aaa4c3ada998c2c8db6428bdb7e 5152 utils optional
proot_5.1.0-1.2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE2pjyXAhxxJpZ6v8sTej/KmPHzJAFAlh6TswACgkQTej/KmPH
zJC9+RAAgQwZwyOYDvwR9oMiY0gDqjbyfqd/TA5JPRVymoPSUG4uG6t6NfMcHAyl
0KnX1QZuCpP/3fWp5pcimBhfQvhNvDzz2m1jlH/EZMgAYE7JXjdP8JD9hdBPNNeD
SJemwryjr5j9HFTC36Udiibgdl8djR0QgMOlQVw1jRyvHPEFFiVo2uuVMv7Yj0iZ
qDGv3c4rPIFLTMzSeUQ0Z27E1Pe5wSx6rnjYpeC60Su5NEH32nBiCYM7x2hg7jN9
rxeLOga156zHFpqNV3WEVVtWgf5gytnk91gZPrc+Hm8NfeYeOGxuWkkqQNxDW1dO
yRId/S8r+cAeza5LTBo1H9zaTNhMofqQQyknU3qONc3/7+4/E1fnNRZg7ZbqTp31
4abcn5U3taIAzkV95DmHE5Eu10zMVKgHvAxLB7HtzAZMikgCKp0wceicQZfsOJFO
5fySB9CycRq10UfCubWYz/s6GRxs3mlWxx43VMeBIBbi6iFc0g2X8XHmIzkC78lk
JvFVUKXb1Ps4QVnT0cedrs0jM5aV/f/Pb+SeU+B+4mHs2RCLh+eMhFgZnYuSzILF
dPNnLWOLYkJJAMoVMHg3IaoCrNE9uXGofWArdWZLV4knXDjVUWAZcn6WZYcO0Bzs
kwf1XAayYH+ZA3rc+82pENN4p3x9X5T2dB/EyOM4p9bPyOyxjgQ=
=nLlI
-----END PGP SIGNATURE-----
--- End Message ---