| Summary: | mysql initscript lacks dependancy on net.lo | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Peter H <phok256> |
| Component: | [OLD] Server | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | trivial | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Peter H
2007-01-16 05:00:04 UTC
(In reply to comment #0) > I removed net.lo from the boot sequence as it was locking with udev. I'm > thinking it really belongs in 'default'? I'm not sure exactly. Advice there > might also be appreciated. Well, duh, that's the error. net.lo does belong in the boot runlevel. As udev starts before anything else, how was net.lo blocking udev? Well, get back to us please. Sorry, I had almost completely forgotten about this issue. I had been needing to physically move the box around a lot, and it had proved quite annoying, but it's been up 68 days until today, when I rebooted it to get more info. I'm pretty sure it's mostly that the boot process (and shutdown) are pretty messed up.
# rc-update show
alsasound | boot
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot default
gpm | default
hostname | boot
hotplug | default
keymaps | boot
local | default nonetwork
localmount | boot
modules | boot
mysql | default
netmount | default
ntp-client | default
numlock | default
rmnologin | boot
sshd | default
syslog-ng | default
urandom | boot
vixie-cron | default
With net.lo added to boot, the boot sequence goes something as follows:
* Setting user font ... (I have to ^C here)
* ERROR: net.lo caught an interupt
* ERROR: cannot start net.eth0 as net.lo could not start
[a few other steps]
* Starting gpm ... (completely hangs here)
Without net.lo (which requires chrooting from a livecd to change, so I'm not inclined to do too much testing...):
* Setting user font ... (I have to ^C here)
* ERROR: net.eth0 caught an interrupt
[continues booting to login shell]
I can manually start all of these services, but I don't know why it's breaking on boot. For what it's worth, it also hangs on stopping cupsd while shutting down. I do find it interesting that sending an interrupt stops the next process, so I'm not exactly sure what it's hanging on.g
please setup RC_BOOTLOG on your system and provide the logfiles. the mysql init scripts do correctly specify 'use net', to indicate that they can use the network, but in many cases don't actually need it (unix sockets instead). to exclude a potential other bug that may have been causing this strangeness for you, please upgrade to mysql-5.0.40 and retest. Once again, please get back to us. |