BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} OpenBSD chroot Apache and History...



--On Thursday, October 28, 2004 13:03 -0600 Philip Clark <pcclark@tiscali.co.uk> wrote:

Oooooo, nasty :)

I'm going to assume that you have all the necessary binaries,
libraries and configuration files copied into the jail and
have no problem running a representative sample of lines
from the standard scripts from the command line (as the
BB user).

Two things then spring to mind. First, can you append to
the dev/null inside the jail? In other words, will:

echo "nonsense" >> /dev/null

work, where:

echo "nonsense" > /dev/null

will not?

Well, that turned out to be a Simpsons moment. Once you prompted what is passing for my brain today, I recalled that OBSD mounts "nodev" by default.


Remounted without "nodev" and found the _rest_ of the file dependencies (including having to create /dev/stdout) and it seems to work now!


Second, what are the permissions on the jailed "dev" directory? Does making it world writable help?

Cheers, Phil.

Thanks!


--
Ed V.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index