[ubuntu 10.4] when _boot_ in single mode, mysql is running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.1 (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
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
Related branches
Changed in mysql-dfsg-5.1 (Ubuntu): | |
status: | Incomplete → Confirmed |
Isn't single mode supposed to *not* start the network?