[debian-mysql] Bug#676539: mysql-server-5.5: migration from /var/run/mysqld to /run/mysqld incomplete
Greg Alexander
gretkw at galexander.org
Thu Jun 7 17:10:17 UTC 2012
Package: mysql-server-5.5
Version: 5.5.24+dfsg-2
Severity: important
Dear Maintainer,
Upon upgrading to mysql-server-5.5, I find that /var/run/mysqld has been
needlessly renamed to /run/mysqld.
Pointless renaming is considered harmful!
You forgot to update a few things when you performed this pointless
operation. /etc/mysql/debian.cnf continues to reference /var/run/mysqld.
The perl DBI package continues to reference /var/run/mysqld.
The need to enumerate the innumerable potential dependencies on the
mysqld socket location can be ameliorated through the use of symlinks.
Add this to the postrm file:
ln -s /run/mysqld /var/run/mysqld
But in fact, you could have avoided this whole problem in the first
place by not pointlessly renaming /var/run to /run.
In the future, try not to break things for no reason. We have symlinks
for a reason. Any unix admin who needs /var/run to live in a special
location can achieve this effect using mount or ln already. There is
no need to render every mysql-dependent configuration file suspect to
achieve this end.
If the person who decided to rename /var/run/mysqld to /run/mysqld
should happen to read this thread, I beg you to please consider swearing
off future contribution to open source projects. You are simply not cool
enough for my club.
- Greg
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32.22 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages mysql-server-5.5 depends on:
ii adduser 3.102
ii debconf [debconf-2.0] 1.5.40
ii libc6 2.13-10
ii libdbi-perl 1.621-1
ii libgcc1 1:4.6.1-4
ii libstdc++6 4.6.1-4
ii lsb-base 3.2-23
ii mysql-client-5.5 5.5.24+dfsg-2
ii mysql-common 5.5.24+dfsg-2
ii mysql-server-core-5.5 5.5.24+dfsg-2
ii passwd 1:4.0.18.1-7
ii perl 5.14.2-11
ii psmisc 20.2-2.1
ii zlib1g 1:1.2.3.4.dfsg-3
Versions of packages mysql-server-5.5 recommends:
ii libhtml-template-perl 2.9-1
ii mailx 1:8.1.2-0.20020411cvs-1
Versions of packages mysql-server-5.5 suggests:
pn tinyca <none>
-- debconf information:
mysql-server/root_password_again: (password omitted)
* mysql-server/root_password: (password omitted)
mysql-server-5.5/postrm_remove_databases: false
mysql-server/error_setting_password:
mysql-server-5.5/nis_warning:
mysql-server-5.5/really_downgrade: false
mysql-server-5.5/start_on_boot: true
mysql-server/password_mismatch:
mysql-server/no_upgrade_when_using_ndb:
More information about the pkg-mysql-maint
mailing list