Christian Hammers wrote:

Inside and outside the chroot this would always give /usr/sbin/mysqld, or?
Also the /etc/init.d/mysql script would have to change this way and there
the ps check was made specifically to catch running servers that are still running (due to crashes or because people modified the socket path
in my.cnf etc).
So currently I have no idea for a really improving patch.


bye,

-christian-

Here's an sample situation. Say I'm running mysqld under Red Hat Linux 7.3 while trying to install mysql-server in a chroot environment (created using debootstrap). In that case, the above patch finds (via ps) that the path to the running mysqld is /usr/libexec/mysqld. It then checks for the existence of /usr/libexec/mysqld, doesn't find it and therefore allows the installation to continue.


I don't need (or even necessarily want) /etc/init.d/mysql to successfully stop or start the server. I'm simply trying to _install_
the mysql-server package.


Scott


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to