Gentoo Archives: gentoo-user

From: Daevid Vincent <daevid@××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] ntp-client starting before net.eth0
Date: Fri, 09 Sep 2005 21:13:18
Message-Id: 200509092104.j89L4gpD013645@robin.gentoo.org
1 What determines the order that things in rc-update (/etc/init.d) start?
2
3 I run ifplugd, and I notice that (as the title says), ntp-client is starting
4 before net.eth0 and therefore can't find the pool.ntp.org site (of course).
5
6 /etc/init.d/ntp-client shows
7
8 depend()
9 {
10 before cron portmap
11 need net
12 use dns logger
13 }
14
15 So shouldn't it wait till the network has started and I have an IP address
16 from ifplugd?
17
18 locutus ~ # rc-update show
19 acpid | boot
20 alsasound | boot default
21 anacron | default
22 apache2 |
23 apmd |
24 aumix | default
25 bluetooth |
26 bootmisc | boot
27 bootsplash |
28 bttrack |
29 checkfs | boot
30 checkroot | boot
31 clock | boot
32 coldplug | default
33 consolefont | boot
34 crypto-loop |
35 cupsd |
36 dbus | default
37 distccd |
38 domainname | default
39 esound |
40 famd | default
41 gkrellmd |
42 gpm | default
43 hdparm | boot
44 hostname | boot
45 hotplug | default
46 i8k | default
47 ifplugd | default
48 inetd |
49 ip6tables |
50 iptables |
51 irda |
52 keymaps | boot
53 kismet |
54 lisa | default
55 local | default nonetwork
56 localmount | boot
57 modules | boot
58 mysql |
59 net.ath0 |
60 net.eth0 |
61 net.eth1 |
62 net.eth2 |
63 net.lo | boot
64 net.ppp0 |
65 net.wlan0 |
66 netmount | default
67 nscd |
68 ntp-client | default
69 ntpd |
70 numlock |
71 pcmcia | boot default
72 portmap |
73 postfix | default
74 pwcheck |
75 reslisa |
76 rgpsp |
77 rmnologin | boot
78 rsyncd |
79 samba |
80 saslauthd |
81 serial | boot
82 shorewall | default
83 spamd |
84 splash |
85 sshd | default
86 switch |
87 syslog-ng | default
88 urandom | boot
89 vixie-cron | default
90 vsftpd |
91 winbind |
92 wlan |
93 xdm |
94 xinetd | default
95
96
97 --
98 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] ntp-client starting before net.eth0 Edward Catmur <ed@×××××××××.uk>
Re: [gentoo-user] ntp-client starting before net.eth0 Holly Bostick <motub@××××××.nl>
RE: [gentoo-user] ntp-client starting before net.eth0 Daevid Vincent <daevid@××××××.com>