|Summary:||network services fail to start during boot|
|Product:||Gentoo Linux||Reporter:||Martin Gramatke <xmit>|
|Component:||[OLD] baselayout||Assignee:||Roy Marples (RETIRED) <uberlord>|
|Package list:||Runtime testing required:||---|
Description Martin Gramatke 2006-01-12 11:51:52 UTC
Hi, network services like sshd do not start during boot here. But if I start it manually afterwards they work flawless. It seems that baselayout's net script returns before the net is completely up so following net service init scripts time out. I have baselayout-1.12.0_pre13-r1 installed. Here is a boot log: ---------------------- * Loading networking modules for lo * modules: ifconfig system * ifconfig provides interface * Bringing up lo * 127.0.0.1/8 [ ok ] * Adding routes * 127.0.0.0/8 ... [ ok ] * Initializing random number generator ... [ ok ] INIT: Entering runlevel: 3 * sysklogd -> start: syslogd ... [ ok ] * sysklogd -> start: klogd ... [ ok ] * Starting acpid ... [ ok ] * Starting ath0 * Loading networking modules for ath0 * modules: adsl apipa arping macchanger macnet rename wpa_supplicant essidnet iptunnel ifconfig pppd system dhcpcd * wpa_supplicant provides wireless * ifconfig provides interface * pppd provides ppp * dhcpcd provides dhcp * Configuring ath0 for MAC address 00:30:95:FE:21:48 ... [ ok ] * Starting wpa_supplicant on ath0 ... [ ok ] * Starting wpa_cli on ath0 ... [ ok ] * Waiting for association [ ok ] * Backgrounding ... * ERROR: Problem starting needed services. * "distccd" was not started. * ERROR: Problem starting needed services. * "ntp-client" was not started. * ERROR: Problem starting needed services. * "spamd" was not started. * Starting postfix ... [ !! ] * ERROR: Problem starting needed services. * "sshd" was not started. * Starting vixie-cron ... [ ok ] * Setting up kdm ... [ ok ] * Starting local ... [ ok ] This is lab5.unknown_domain (Linux i686 220.127.116.11) 20:16:39 lab5 login: root Password: Last login: Thu Jan 12 20:17:05 2006 on tty2 lab5 ~ # /etc/init.d/sshd start * Starting sshd ... [ ok ] lab5 ~ # ping -c1 google.de PING google.de (18.104.22.168) 56(84) bytes of data. 64 bytes from 22.214.171.124: icmp_seq=1 ttl=237 time=175 ms --- google.de ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 175.275/175.275/175.275/0.000 ms --------------------- I already tried hotplug_ath0="no" and hotplug_wifi0="no" (I have a madwifi wireless lan card) in /etc/conf.d/net and set RC_NET_STRICT_CHECKING="yes" in rc to no avail. If you need more info about the systems with this problem (thinkpad X24 and T22, ~x86), please let me know. Please note I also started a discussion about this issue here: http://forums.gentoo.org/viewtopic-t-422314-highlight-.html
Comment 1 Roy Marples (RETIRED) 2006-01-12 14:04:14 UTC
associate_timeout_ath0=-1 by by default, which means go into background immediately. The downside of this is that you get this problem at boot time. associate_timeout_ath0=60 means wait 60 seconds before timing out, which solves this problem. I would like to keep the default at -1 (same goes for ifplugd and netplug with plug_timeout_eth0) AND solve this at the same time, so I'll keep this bug open, but you now know how to resolve it for the time being.
Comment 2 Roy Marples (RETIRED) 2006-01-12 14:07:56 UTC
You can also resvole the issue by setting RC_NET_STRICT_CHECKING="none" or RC_NET_STRICT_CHECKING="lo". It's not a hotplug issue.
Comment 3 Roy Marples (RETIRED) 2006-01-13 04:07:40 UTC
I have code to fix this in svn, will be in baselayout-1.12.0_pre14
Comment 4 Roy Marples (RETIRED) 2006-01-13 05:09:22 UTC
baselayout-1.12.0_pre14 is out
Comment 5 Martin Gramatke 2006-01-20 09:53:38 UTC
I updated any related packets and now the network services start as expected. sys-kernel/vanilla-sources-126.96.36.199 sys-fs/udev-081 sys-apps/baselayout-1.12.0_pre14-r2 net-wireless/madwifi-driver-0.1401.20060117 net-wireless/madwifi-tools-0.1401.20060117 net-wireless/wpa_supplicant-0.5.0-r1 Thank you very much and please close this report.