Gentoo Archives: gentoo-user

From: "Wang
To: gentoo-user@l.g.o
Subject: [gentoo-user] /etc/init.d/hwclock & /etc/init.d/ntp-client failed to start due to service dependency problem?
Date: Fri, 05 Sep 2008 02:24:39
Message-Id: 1220581465.32291.7.camel@wangbj-hp6515b
1 hi,
2
3 I'm using gentoo 2008.0 ~amd64 (and up-to-date). My kernel is compiled
4 with almost everything into modules (using initramfs of course) include
5 rtc-cmos.ko, which is required by hwclock to set time properly. If
6 rtc-coms is loaded, then hwclock will start with no error. but in the
7 depend section of /etc/init.d/hwclock, there is a line
8
9 before *
10
11 thus hwclock will start before modules (where I put rtc-cmos
12 in /etc/conf.d/modules), so it will always fail to ajust hwclock.
13
14 Besides, I'm using networkmanager (using gnome nm-applet) , so there
15 is no /etc/init.d/net.eth* stuff, but ntp-client have a section of
16
17 need net
18
19 but at that time when ntp-client start, there is no network avaliable (I
20 always get error will unable to reslove hostname XXX, so at least DNS is
21 not usable at that time, even I put after NetworkManager
22 in /etc/init.d/ntp-client).
23
24 Any hints? Thanks very much!
25
26 --
27 Wang, Baojun Lanzhou University
28 Distributed & Embedded System Lab http://dslab.lzu.edu.cn
29 School of Information Science and Engeneering wangbj@×××××××××××××.cn
30 Tianshui South Road 222. Lanzhou 730000 .P.R.China
31 Tel: +86-931-8912025 Fax: +86-931-8912022

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies