Adding ENV VARS with execvp Without Losing a Functional Shell {Was Re: Chroot problems}

2001-06-08 Thread Van
Jeremy: Looks like I might have to eat my words a little. Not entirely on the running of MySQL in a jail, but, perhaps that too, in time. The application started as a knowledge-base, billing application. The piece I'm concerned with now involves an implementation using .profile/.bash_profile m

Re: Chroot problems

2001-06-07 Thread Kyle Hayes
On Wednesday 06 June 2001 08:53, dariofg wrote: > Hello, > > I'm trying to run mysql in a chroot jail, but the server > errors out. I've modified safe_mysqld so it would call > MySQL with the following command: > > nice --5 nohup /usr/local/mysql/libexec/mysqld -- > basedir=/ --datadir=/var --use

Re: Chroot problems

2001-06-07 Thread Jeremy Zawodny
On Thu, Jun 07, 2001 at 04:56:12PM -0700, Kyle Hayes wrote: > > One of the problems I had when running MySQL in a chroot jail was > that the /etc/passwd, /etc/shadow etc. had to be correct in the > jail. However, I don't think I am running it in the same > configuration that you use. See below.

Re: Chroot problems

2001-06-06 Thread Jeremy Zawodny
On Wed, Jun 06, 2001 at 03:04:23PM -0700, Van wrote: > > I've dealt with jails and question the wisdom of using them. > > There are better ways to do this, and, your application will suffer > tremendous portability issues which will probably make it useless > for most people. > > If you're the

Re: Chroot problems

2001-06-06 Thread Van
dariofg wrote: > > Hello, > > I'm trying to run mysql in a chroot jail, but the server > errors out. I've modified safe_mysqld so it would call > MySQL with the following command: > > nice --5 nohup /usr/local/mysql/libexec/mysqld -- > basedir=/ --datadir=/var --user=mysql --pid- > file=/var/h

Chroot problems

2001-06-06 Thread dariofg
Hello, I'm trying to run mysql in a chroot jail, but the server errors out. I've modified safe_mysqld so it would call MySQL with the following command: nice --5 nohup /usr/local/mysql/libexec/mysqld -- basedir=/ --datadir=/var --user=mysql --pid- file=/var/hayek.pid --skip-locking -- chroot=/u