Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 28 Apr 2016 18:34:42 +0800
From: Barry Kauler <bkauler@...il.com>
To: sabotage@...ts.openwall.com
Subject: enter-chroot doesn't work

Hi,
I followed the instructions exactly. I am running an x86_64 distro. I
did this, running as root:

# git clone git://github.com/sabotage-linux/sabotage
...creates folder 'sabotage', i renamed to sabotage-20160428

# cd sabotage-20160428
# cp KEEP/config.stage0 config
edit config...
export SABOTAGE_BUILDDIR="/mnt/sdc5/sabotage_builddir"
export A=x86_64

# ./build-stage0
# ./enter-chroot

this is the result...
----------------------------------------
# ./build-stage0
2016-04-28 17:52:56 initializing root system
2016-04-28 17:52:56 building butch
2016-04-28 17:53:01 installing stage0
*** downloadqueue ***
gcc3
stage0-musl
kernel-headers
butch
patch
busybox
binutils
make
*** buildqueue ***
services
gcc3
stage0-gcc
stage0-musl
kernel-headers
butch
patch
busybox
binutils
make
stage0
2016-04-28 17:53:01 downloading gcc3
(/mnt/sdc5/sabotage_builddir/src/build/dl_gcc3.sh) ->
/mnt/sdc5/sabotage_builddir/src/logs/dl_gcc3.log
2016-04-28 17:53:01 downloading stage0-musl
(/mnt/sdc5/sabotage_builddir/src/build/dl_stage0-musl.sh) ->
/mnt/sdc5/sabotage_builddir/src/logs/dl_stage0-musl.log
2016-04-28 17:53:01 downloading kernel-headers
(/mnt/sdc5/sabotage_builddir/src/build/dl_kernel-headers.sh) ->
/mnt/sdc5/sabotage_builddir/src/logs/dl_kernel-headers.log
2016-04-28 17:53:01 downloading butch
(/mnt/sdc5/sabotage_builddir/src/build/dl_butch.sh) ->
/mnt/sdc5/sabotage_builddir/src/logs/dl_butch.log
2016-04-28 17:53:01 downloading patch
(/mnt/sdc5/sabotage_builddir/src/build/dl_patch.sh) ->
/mnt/sdc5/sabotage_builddir/src/logs/dl_patch.log
2016-04-28 17:53:01 downloading busybox
(/mnt/sdc5/sabotage_builddir/src/build/dl_busybox.sh) ->
/mnt/sdc5/sabotage_builddir/src/logs/dl_busybox.log
2016-04-28 17:53:01 downloading binutils
(/mnt/sdc5/sabotage_builddir/src/build/dl_binutils.sh) ->
/mnt/sdc5/sabotage_builddir/src/logs/dl_binutils.log
2016-04-28 17:53:01 downloading make
(/mnt/sdc5/sabotage_builddir/src/build/dl_make.sh) ->
/mnt/sdc5/sabotage_builddir/src/logs/dl_make.log
2016-04-28 17:53:01 building services
(/mnt/sdc5/sabotage_builddir/src/build/build_services.sh) ->
/mnt/sdc5/sabotage_builddir/src/logs/build_services.log
2016-04-28 17:53:05 building kernel-headers
(/mnt/sdc5/sabotage_builddir/src/build/build_kernel-headers.sh) ->
/mnt/sdc5/sabotage_builddir/src/logs/build_kernel-headers.log
2016-04-28 17:53:28 building gcc3
(/mnt/sdc5/sabotage_builddir/src/build/build_gcc3.sh) ->
/mnt/sdc5/sabotage_builddir/src/logs/build_gcc3.log
2016-04-28 17:55:28 building stage0-gcc
(/mnt/sdc5/sabotage_builddir/src/build/build_stage0-gcc.sh) ->
/mnt/sdc5/sabotage_builddir/src/logs/build_stage0-gcc.log
2016-04-28 17:55:29 building stage0-musl
(/mnt/sdc5/sabotage_builddir/src/build/build_stage0-musl.sh) ->
/mnt/sdc5/sabotage_builddir/src/logs/build_stage0-musl.log
2016-04-28 17:57:05 building butch
(/mnt/sdc5/sabotage_builddir/src/build/build_butch.sh) ->
/mnt/sdc5/sabotage_builddir/src/logs/build_butch.log
2016-04-28 17:57:06 building patch
(/mnt/sdc5/sabotage_builddir/src/build/build_patch.sh) ->
/mnt/sdc5/sabotage_builddir/src/logs/build_patch.log
WARNING: butch failed to build! wait for other jobs to finish.
2016-04-28 17:57:09 building binutils
(/mnt/sdc5/sabotage_builddir/src/build/build_binutils.sh) ->
/mnt/sdc5/sabotage_builddir/src/logs/build_binutils.log
WARNING: butch failed to build! wait for other jobs to finish.
WARNING: patch failed to build! wait for other jobs to finish.
2016-04-28 17:57:51 building make
(/mnt/sdc5/sabotage_builddir/src/build/build_make.sh) ->
/mnt/sdc5/sabotage_builddir/src/logs/build_make.log
WARNING: butch failed to build! wait for other jobs to finish.
WARNING: patch failed to build! wait for other jobs to finish.
WARNING: binutils failed to build! wait for other jobs to finish.
WARNING: butch failed to build! wait for other jobs to finish.
WARNING: patch failed to build! wait for other jobs to finish.
WARNING: binutils failed to build! wait for other jobs to finish.
WARNING: make failed to build! wait for other jobs to finish.
2016-04-28 17:57:56 done.
# ./enter-chroot
Entering chroot...
chroot: can't execute '/bin/env': No such file or directory

#
--------------------------------------

It did compile bin/butch-core
Could you please advise what I need to do to make "./enter-chroot" work.

Regards,
Barry

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ