Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118801 - network services fail to start during boot
Summary: network services fail to start during boot
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
Keywords: InVCS
Depends on:
Reported: 2006-01-12 11:51 UTC by Martin Gramatke
Modified: 2006-01-20 09:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Martin Gramatke 2006-01-12 11:51:52 UTC
 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 
  *                                                                                                        [ ok ] 
  *   Adding routes 
  * ...                                                                                                    [ 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 20:16:39 
 lab5 login: root 
 Last login: Thu Jan 12 20:17:05 2006 on tty2 
 lab5 ~ # /etc/init.d/sshd start 
  * Starting sshd ...                                                                                                      [ ok ] 
 lab5 ~ # ping -c1 
 PING ( 56(84) bytes of data. 
 64 bytes from icmp_seq=1 ttl=237 time=175 ms 
 --- 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:
Comment 1 Roy Marples (RETIRED) gentoo-dev 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) gentoo-dev 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) gentoo-dev 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) gentoo-dev 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.
Thank you very much and please close this report.