Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 22 May 2011 16:08:07 +0300
From: Georgi Geshev <root@...k-labs.exploits-bg.com>
To: owl-dev@...ts.openwall.com
Subject: Re: Owl test builds

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On 5/22/2011 3:12 PM, Solar Designer wrote:
> Georgi,
> 
> On Fri, May 20, 2011 at 11:30:04PM +0300, Georgi Geshev wrote:
>> I've run into some trouble performing the actual test builds - I wasn't
>> able to `su' inside the chrooted environment -
> ...
>> Fortunately, Alex has already correctly suggested that there was an
>> obvious issue with the permissions and a simple `chmod 755 /' inside the
>> chroot would solve the problem.
> 
> Thank you for documenting this.
> 
> There's another minor issue with my suggested chroot setups: since /proc
> is not mounted in there (unless you do a "mount /proc" after chroot),
> the buildworld script is unable to determine the processor count.  So it
> assumes 1.  You can make your builds run a lot faster by either setting
> PROCESSORS= in buildworld.conf (set it to 16 for this machine) or
> mounting /proc.
> 
> Also, it is a good idea to use "screen" for builds that you run on a
> remote server.  Then possible disconnects won't be an issue.
> 
> I hope this helps.
> 
> Alexander
> 

I've already done it!

root@...:~ # mount|grep owl
/proc/cpuinfo on /owl32/proc/cpuinfo type proc (ro,bind)
/proc/cpuinfo on /owl64/proc/cpuinfo type proc (ro,bind)


Regards,
Georgi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)

iQEcBAEBAgAGBQJN2Qq1AAoJECp4GRJNSNT5WMEH/RTASVI1DE5r707ynxho5Sfw
gVbe1FU5ZYPg2NUDKh8b/jZDnbzJx9KohUwGncY8Ur6loYEyGpMa1mUgCDYDrA1C
hsy9UCJbnIOzvDEnO7rPuHcwBf02ORdj7fUAFo8ZVdDdxduPkkKwClcUxRGKWVmn
zoiUBz4ia5/lQZmeO7lUo61CAnPkVj6AG1MEM7eVHFCgXCBZik+6+gbCE1iIQHh4
Br9epGOquQOXjwdMqpfLYJPxtqDDEzyiTOXCGksAKdy7WAruPRx8JuyrEAOoVsAF
h+ajf/BtAdQEHH18lae8/BnZN24GAZHZhEzDkhPGUBdHXq3M2ElpFxz2uVZo50o=
=U5n/
-----END PGP SIGNATURE-----

Powered by blists - more mailing lists

Your e-mail address:

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