FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

LinkBack Thread Tools
Old 09-05-2008, 02:24 AM
"Wang, Baojun"
Default /etc/init.d/hwclock & /etc/init.d/ntp-client failed to start due to service dependency problem?


I'm using gentoo 2008.0 ~amd64 (and up-to-date). My kernel is compiled
with almost everything into modules (using initramfs of course) include
rtc-cmos.ko, which is required by hwclock to set time properly. If
rtc-coms is loaded, then hwclock will start with no error. but in the
depend section of /etc/init.d/hwclock, there is a line

before *

thus hwclock will start before modules (where I put rtc-cmos
in /etc/conf.d/modules), so it will always fail to ajust hwclock.

Besides, I'm using networkmanager (using gnome nm-applet) , so there
is no /etc/init.d/net.eth* stuff, but ntp-client have a section of

need net

but at that time when ntp-client start, there is no network avaliable (I
always get error will unable to reslove hostname XXX, so at least DNS is
not usable at that time, even I put after NetworkManager
in /etc/init.d/ntp-client).

Any hints? Thanks very much!

Wang, Baojun Lanzhou University
Distributed & Embedded System Lab http://dslab.lzu.edu.cn
School of Information Science and Engeneering wangbj@dslab.lzu.edu.cn
Tianshui South Road 222. Lanzhou 730000 .P.R.China
Tel: +86-931-8912025 Fax: +86-931-8912022

Thread Tools

All times are GMT. The time now is 06:51 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org