Martynas Venckus wrote:
I am not sure as I have not tried it, but I think mySQL creates its unix
socket *before* it calls chroot() [or can be very easily fixed anyways].

No it can't create socket before chroot(), then how it would access mysql
data?

Can you elaborate on this? I don't get it. Unchrooted it creates a socket (e.g. /var/run/mysql.sock) and then chroots itself to /var/mysql, where the data exists.

What is (or would be) wrong with that?

/Alexander

Reply via email to