pkgsrc-Users archive

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

Re: Directions to chroot MySQL ?



On 7 Dec 2010 13:52, "Joel Carnat" <joel%carnat.net@localhost> wrote:
> Hello,
>
> I've installed mysql-server 5.1 from pkgsrc binaries (on netbsd-5/i386) and 
> wanted to chroot it.
> I've added 'mysqld_flags="--chroot=/home/sql"' to /etc/rc.conf, added various 
> files (errmsg.sys, master.passwd...) and issued various command lines. But I 
> still get loads of errors from MySQL (about write permissions, missing 
> plugins...).
>
> I already have quite a few chrooted daemons (pound, named, slapd...) that 
> were far easier to deal with :)
>
> While continuing digging to solve the errors one by one, I wanted to know if 
> there were "easy" directions to chroot mysql on netbsd ?

Not that I am aware. But if you're successful could I ask if you'd be
interested in writing some? :)

I was wondering if there was any merit in trying to have pkgsrc better
support chroot but unfortunately its one of those ideas I've never had
time to take anywhere.... ;/


Home | Main Index | Thread Index | Old Index