Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 22 May 2011 16:12:26 +0400
From: Solar Designer <solar@...nwall.com>
To: owl-dev@...ts.openwall.com
Subject: Re: Owl test builds

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

Powered by blists - more mailing lists

Your e-mail address:

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