Apologies for bringing this up after such a long time, but it seems that this bug is present without 3rd party packages involved. The Akonadi daemon, part of KDE 4, launches its own instance and affects the output of ps cax | grep mysqld :
/usr/sbin/mysqld --defaults-file=/home/bram/.local/share/akonadi//mysql.conf --datadir=/home/bram/.local/share/akonadi/db_data/socket=/home/bram/.local/share/akonadi/db_misc/mysql.socket To fix this in /etc/logrotate.d/mysql-server, I check for the existence of the socket on its main location: if ps cax | grep -q mysqld; then becomes if [ -S '/var/run/mysqld/mysqld.sock' ]; then But I wonder if this solution applies in general, but at least it supports Debian's default settings. -- Bram Schoenmakers -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org