mysql-server-5.1 starts before filesystem is mounted (karmic)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.1 (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
On my setup with an different partition for the mysql data the server is started before the filesystem is mounted. Starting the server after booting works without problems. My extra partition is on a lvm which also holds the root partition.
fstab:
=====
#/dev/vg1/var
UUID=7e2ba06c-
my.cnf:
======
datadir = /mnt/var/mysql
syslog:
======
Oct 22 21:19:37 hollywood kernel: [ 18.271254] Ending clean XFS mount for filesystem: dm-2
Oct 22 21:19:38 hollywood /etc/init.
Oct 22 21:19:39 hollywood kernel: [ 19.910926] XFS mounting filesystem dm-3
Oct 22 21:19:39 hollywood mysqld_safe: Starting mysqld daemon with databases from /mnt/var/mysql
Oct 22 21:19:39 hollywood wpa_supplicant[
Oct 22 21:19:39 hollywood wpa_supplicant[
Oct 22 21:19:39 hollywood kernel: [ 20.176999] ndiswrapper (iw_set_auth:1602): invalid cmd 12
Oct 22 21:19:39 hollywood mysqld: 091022 21:19:39 [Warning] Can't create test file /mnt/var/
Oct 22 21:19:39 hollywood mysqld: 091022 21:19:39 [Warning] Can't create test file /mnt/var/
Oct 22 21:19:39 hollywood mysqld: #007/usr/
Oct 22 21:19:39 hollywood mysqld: 091022 21:19:39 [ERROR] Aborting
Oct 22 21:19:39 hollywood mysqld:
Oct 22 21:19:39 hollywood mysqld: 091022 21:19:39 [Note] /usr/sbin/mysqld: Shutdown complete
Oct 22 21:19:39 hollywood mysqld:
Oct 22 21:19:39 hollywood mysqld_safe: mysqld from pid file /var/run/
Oct 22 21:19:40 hollywood acpid: client connected from 1725[0:0]
Oct 22 21:19:40 hollywood kernel: [ 21.164472] Ending clean XFS mount for filesystem: dm-3
Oct 22 21:19:40 hollywood kernel: [ 21.338747] XFS mounting filesystem dm-4
Oct 22 21:19:41 hollywood wpa_supplicant[
Oct 22 21:19:41 hollywood wpa_supplicant[
Oct 22 21:19:41 hollywood wpa_supplicant[
Oct 22 21:19:41 hollywood kernel: [ 21.588762] ADDRCONF(
Oct 22 21:19:42 hollywood kernel: [ 22.690264] Ending clean XFS mount for filesystem: dm-4
Oct 22 21:19:42 hollywood avahi-daemon[1335]: Registering new address record for fe80::219:
Oct 22 21:19:43 hollywood kernel: [ 23.891420] XFS mounting filesystem dm-5
Changed in mysql-dfsg-5.1 (Ubuntu): | |
status: | Confirmed → Incomplete |
affects: | launchpad → null |
no longer affects: | null |
Marked Launchpad task as invalid since this is not a Launchpad bug