tags 294629 + wontfix confirmed severity 294629 minor thanks Hello Scott
On 2005-02-10 Scott Glenn wrote: > The preinst file for mysql-server-4.1 does not work correctly when run from > within a chroot'ed evironment. It uses a simple "ps" to determine if > mysqld is running and attempts to stop it. When stopping mysqld fails > (because the mysqld instance is running outside the chroot'ed environment) > the package installation fails. I suspect this bug is present in multiple > versions of the mysql-server package. ... > ! for running_mysqld in `ps -eo command | cut -d" " -f1 | grep > '/mysqld$' | sort | uniq | xargs`; do > ! if [ -e $running_mysqld ]; then > ! FOUND_RUNNING_MYSQLD_BINARY="true" > ! fi 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- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

