История изменений
Исправление fehhner, (текущая версия) :
Поставил qemu-arm-static и proot, перепробовал по-разному - не чрутит.
Можно мне ман тогда рабочий, если всё просто?
fehhner@dell ~ % sudo proot -q /usr/bin/qemu-arm-static -v 6 -r /mnt :(
proot info: binding = /dev/null:/etc/ld.so.preload
proot info: binding = /:/host-rootfs
proot info: binding = /mnt:/
proot warning: can't chdir("/home/fehhner/./.") in the guest rootfs: No such file or directory
proot info: default working directory is now "/"
proot info: vpid 1: translate("/" + "/bin/sh")
proot info: vpid 1: -> "/mnt/bin/dash"
proot info: vpid 1: translate("/" + "/bin/sh")
proot info: vpid 1: -> "/mnt/bin/sh"
proot info: host rootfs = /host-rootfs
proot info: glue rootfs = /tmp/proot-2445-D8GkJY
proot info: exe = /bin/sh
proot info: argv =
proot info: qemu = /usr/bin/qemu-arm
proot info: initial cwd = /
proot info: verbose level = 6
proot info: pid 2445: access to "/dev/pts/1" (fd 0) won't be translated until closed
proot info: pid 2445: access to "/dev/pts/1" (fd 1) won't be translated until closed
proot info: pid 2445: access to "/dev/pts/1" (fd 2) won't be translated until closed
proot info: pid 2445: access to "/proc/2445/fd" (fd 3) won't be translated until closed
proot info: vpid 1: sysenter start: prctl(0x26, 0x1, 0x0, 0x0, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb63051e8, 0]
proot info: vpid 1: sysenter end: prctl(0x26, 0x1, 0x0, 0x0, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb63051e8, 0]
proot info: vpid 1: sysexit start: prctl(0x26, 0x1, 0x0, 0x0, 0x0, 0xd58) = 0x0 [0x7ffcb63051e8, 0]
proot info: vpid 1: sysexit end: prctl(0x26, 0x1, 0x0, 0x0, 0x0, 0xd58) = 0x0 [0x7ffcb63051e8, 0]
proot info: vpid 1: sysenter start: prctl(0x16, 0x2, 0x7ffcb6305230, 0x7f99e4cb166e, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb63051e8, 0]
proot info: vpid 1: sysenter end: prctl(0x16, 0x2, 0x7ffcb6305230, 0x7f99e4cb166e, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb63051e8, 0]
proot info: vpid 1: sysexit start: prctl(0x16, 0x2, 0x7ffcb6305230, 0x7f99e4cb166e, 0x0, 0xd58) = 0x0 [0x7ffcb63051e8, 0]
proot info: vpid 1: sysexit end: prctl(0x16, 0x2, 0x7ffcb6305230, 0x7f99e4cb166e, 0x0, 0xd58) = 0x0 [0x7ffcb63051e8, 0]
proot info: vpid 1: sysenter start: execve(0x55f82d082660, 0x7ffcb63052f0, 0x55f82d0824b0, 0x7f99e4cb166e, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb6305268, 0]
proot info: vpid 1: translate("/" + "/bin/sh")
proot info: vpid 1: -> "/mnt/bin/dash"
proot info: vpid 1: translate("/" + "/host-rootfs/lib64/ld-linux-x86-64.so.2")
proot info: vpid 1: -> "/usr/lib/ld-2.28.so"
proot info: loader: /tmp/prooted-2445-f4FeEc
proot info: vpid 1: sysenter end: execve(0x7ffcb6304643, 0x7ffcb630517c, 0x7ffcb630465c, 0x7f99e4cb166e, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb6304643, 0]
proot info: ptrace acceleration (seccomp mode 2) enabled
proot info: vpid 1: translate("/" + "/bin/sh")
proot info: vpid 1: -> "/mnt/bin/sh"
proot info: vpid 1: terminated with signal 11
Исправление fehhner, :
Поставил qemu-arm-static и proot, перепробовал по-разному - не чрутит.
Можно мне ман тогда рабочий, если всё просто?
fehhner@dell ~ % sudo proot -q /usr/bin/qemu-arm -v 6 -r /mnt :(
proot info: binding = /dev/null:/etc/ld.so.preload
proot info: binding = /:/host-rootfs
proot info: binding = /mnt:/
proot warning: can't chdir("/home/fehhner/./.") in the guest rootfs: No such file or directory
proot info: default working directory is now "/"
proot info: vpid 1: translate("/" + "/bin/sh")
proot info: vpid 1: -> "/mnt/bin/dash"
proot info: vpid 1: translate("/" + "/bin/sh")
proot info: vpid 1: -> "/mnt/bin/sh"
proot info: host rootfs = /host-rootfs
proot info: glue rootfs = /tmp/proot-2445-D8GkJY
proot info: exe = /bin/sh
proot info: argv =
proot info: qemu = /usr/bin/qemu-arm
proot info: initial cwd = /
proot info: verbose level = 6
proot info: pid 2445: access to "/dev/pts/1" (fd 0) won't be translated until closed
proot info: pid 2445: access to "/dev/pts/1" (fd 1) won't be translated until closed
proot info: pid 2445: access to "/dev/pts/1" (fd 2) won't be translated until closed
proot info: pid 2445: access to "/proc/2445/fd" (fd 3) won't be translated until closed
proot info: vpid 1: sysenter start: prctl(0x26, 0x1, 0x0, 0x0, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb63051e8, 0]
proot info: vpid 1: sysenter end: prctl(0x26, 0x1, 0x0, 0x0, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb63051e8, 0]
proot info: vpid 1: sysexit start: prctl(0x26, 0x1, 0x0, 0x0, 0x0, 0xd58) = 0x0 [0x7ffcb63051e8, 0]
proot info: vpid 1: sysexit end: prctl(0x26, 0x1, 0x0, 0x0, 0x0, 0xd58) = 0x0 [0x7ffcb63051e8, 0]
proot info: vpid 1: sysenter start: prctl(0x16, 0x2, 0x7ffcb6305230, 0x7f99e4cb166e, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb63051e8, 0]
proot info: vpid 1: sysenter end: prctl(0x16, 0x2, 0x7ffcb6305230, 0x7f99e4cb166e, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb63051e8, 0]
proot info: vpid 1: sysexit start: prctl(0x16, 0x2, 0x7ffcb6305230, 0x7f99e4cb166e, 0x0, 0xd58) = 0x0 [0x7ffcb63051e8, 0]
proot info: vpid 1: sysexit end: prctl(0x16, 0x2, 0x7ffcb6305230, 0x7f99e4cb166e, 0x0, 0xd58) = 0x0 [0x7ffcb63051e8, 0]
proot info: vpid 1: sysenter start: execve(0x55f82d082660, 0x7ffcb63052f0, 0x55f82d0824b0, 0x7f99e4cb166e, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb6305268, 0]
proot info: vpid 1: translate("/" + "/bin/sh")
proot info: vpid 1: -> "/mnt/bin/dash"
proot info: vpid 1: translate("/" + "/host-rootfs/lib64/ld-linux-x86-64.so.2")
proot info: vpid 1: -> "/usr/lib/ld-2.28.so"
proot info: loader: /tmp/prooted-2445-f4FeEc
proot info: vpid 1: sysenter end: execve(0x7ffcb6304643, 0x7ffcb630517c, 0x7ffcb630465c, 0x7f99e4cb166e, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb6304643, 0]
proot info: ptrace acceleration (seccomp mode 2) enabled
proot info: vpid 1: translate("/" + "/bin/sh")
proot info: vpid 1: -> "/mnt/bin/sh"
proot info: vpid 1: terminated with signal 11
Исходная версия fehhner, :
Поставил qemu-arm-static и proot, перепробовал по-разному - не чрутит.
Можно мне ман тогда рабочий, если всё просто?
fehhner@dell ~ % sudo proot -q /usr/bin/qemu-arm -v 6 -r /mnt :(
proot info: binding = /dev/null:/etc/ld.so.preload
proot info: binding = /:/host-rootfs
proot info: binding = /mnt:/
proot warning: can't chdir("/home/fehhner/./.") in the guest rootfs: No such file or directory
proot info: default working directory is now "/"
proot info: vpid 1: translate("/" + "/bin/sh")
proot info: vpid 1: -> "/mnt/bin/dash"
proot info: vpid 1: translate("/" + "/bin/sh")
proot info: vpid 1: -> "/mnt/bin/sh"
proot info: host rootfs = /host-rootfs
proot info: glue rootfs = /tmp/proot-2445-D8GkJY
proot info: exe = /bin/sh
proot info: argv =
proot info: qemu = /usr/bin/qemu-arm
proot info: initial cwd = /
proot info: verbose level = 6
proot info: pid 2445: access to "/dev/pts/1" (fd 0) won't be translated until closed
proot info: pid 2445: access to "/dev/pts/1" (fd 1) won't be translated until closed
proot info: pid 2445: access to "/dev/pts/1" (fd 2) won't be translated until closed
proot info: pid 2445: access to "/proc/2445/fd" (fd 3) won't be translated until closed
proot info: vpid 1: sysenter start: prctl(0x26, 0x1, 0x0, 0x0, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb63051e8, 0]
proot info: vpid 1: sysenter end: prctl(0x26, 0x1, 0x0, 0x0, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb63051e8, 0]
proot info: vpid 1: sysexit start: prctl(0x26, 0x1, 0x0, 0x0, 0x0, 0xd58) = 0x0 [0x7ffcb63051e8, 0]
proot info: vpid 1: sysexit end: prctl(0x26, 0x1, 0x0, 0x0, 0x0, 0xd58) = 0x0 [0x7ffcb63051e8, 0]
proot info: vpid 1: sysenter start: prctl(0x16, 0x2, 0x7ffcb6305230, 0x7f99e4cb166e, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb63051e8, 0]
proot info: vpid 1: sysenter end: prctl(0x16, 0x2, 0x7ffcb6305230, 0x7f99e4cb166e, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb63051e8, 0]
proot info: vpid 1: sysexit start: prctl(0x16, 0x2, 0x7ffcb6305230, 0x7f99e4cb166e, 0x0, 0xd58) = 0x0 [0x7ffcb63051e8, 0]
proot info: vpid 1: sysexit end: prctl(0x16, 0x2, 0x7ffcb6305230, 0x7f99e4cb166e, 0x0, 0xd58) = 0x0 [0x7ffcb63051e8, 0]
proot info: vpid 1: sysenter start: execve(0x55f82d082660, 0x7ffcb63052f0, 0x55f82d0824b0, 0x7f99e4cb166e, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb6305268, 0]
proot info: vpid 1: translate("/" + "/bin/sh")
proot info: vpid 1: -> "/mnt/bin/dash"
proot info: vpid 1: translate("/" + "/host-rootfs/lib64/ld-linux-x86-64.so.2")
proot info: vpid 1: -> "/usr/lib/ld-2.28.so"
proot info: loader: /tmp/prooted-2445-f4FeEc
proot info: vpid 1: sysenter end: execve(0x7ffcb6304643, 0x7ffcb630517c, 0x7ffcb630465c, 0x7f99e4cb166e, 0x0, 0xd58) = 0xffffffffffffffda [0x7ffcb6304643, 0]
proot info: ptrace acceleration (seccomp mode 2) enabled
proot info: vpid 1: translate("/" + "/bin/sh")
proot info: vpid 1: -> "/mnt/bin/sh"
proot info: vpid 1: terminated with signal 11