[Bug 559533] [NEW] [ubuntu 10.4] when _boot_ in single mode, mysql is running
Goffredo Baroncelli
kreijack at inwind.it
Fri Apr 9 20:35:48 BST 2010
Public bug reported:
System: Ubuntu 10.4
Package: mysql-server-5.1 (5.1.41-3ubuntu11)
When I *booted* the system in single mode (or recovery mode), the mysql
server is running. I think that in the single mode the mysql server
should not run.
Test case:
- install mysql-server
- boot the system in single mode (or recovery mode from the grub menu)
Explanation:
The upstart mysql.conf file, starts the mysql server when two events are reached:
1) net-device-up
2) local-filesystems
These two event are reached even when the system boots in single mode
with the network.
Suggested action:
change the line
start on (net-device-up and local-filesystems)
with
start on runlevel [2345]
or better
start on (net-device-up and local-filesystems and runlevel [2345])
Note:
The file mysql.conf has the following line
stop on runlevel [016]
but this line means:
STOP ( != not start) the mysql server in the runlevel 0,1,6
** Affects: mysql-dfsg-5.1 (Ubuntu)
Importance: Undecided
Status: New
--
[ubuntu 10.4] when _boot_ in single mode, mysql is running
https://bugs.launchpad.net/bugs/559533
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list