Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86781 - ntpd starts after net.lo, before net.eth0 even with NET_STRICT_CHECKING
Summary: ntpd starts after net.lo, before net.eth0 even with NET_STRICT_CHECKING
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
: 90725 101429 105725 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-26 08:52 UTC by Philippe Laflamme
Modified: 2005-09-12 13:15 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Laflamme 2005-03-26 08:52:01 UTC
When my machine boots I can clearly see in the rc script output that the ntpd service is started immediatly after net.lo. Of course, this makes ntpd fail since it is unable to resolve any time servers. On my setup, it should start after net.eth0.

I have RC_NET_STRICT_CHECKING="yes" and the ntpd script has "need net". To my understanding, this should be sufficient for ntpd to start after all net.* have started.

I don't know if it could be an issue, bu I have RC_PARALLEL_STARTUP="no".

Reproducible: Always
Steps to Reproduce:
1.reboot
2.
3.

Actual Results:  
ntpd starts immediately after net.lo.

Expected Results:  
ntpd should start after net.eth0.

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.4.28-gentoo-r7 i686)
=================================================================
System uname: 2.4.28-gentoo-r7 i686 AMD Athlon(TM) XP1800+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4
(#1, Feb 21 2005, 19:48:16)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.2.3-r5, 2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.19-r1, 2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="ftp://www.cs.ubishops.ca/pub/gentoo http://gentoo.osuosl.org
http://adelie.polymtl.ca http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.ISO-8859-1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apm avi berkdb bitmap-fonts bonobo crypt cups curl emboss
encode esd fam font-server foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2
gtkhtml guile imagemagick imlib java jpeg junit libg++ libwww mad mikmod mmx
motif mp3 mpeg ncurses oggvorbis opengl oss pam pda pdflib perl png postgres
python quicktime readline samba sdl slang ssl svga tcpd tiff truetype
truetype-fonts type1-fonts xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 SpanKY gentoo-dev 2005-03-28 07:40:41 UTC
you are running baselayout-1.9.x so i wonder if this works fine with baselayout-1.11.x ...
Comment 2 Philippe Laflamme 2005-03-29 17:04:24 UTC
Possibly, but baselayout-1.11 seems to be ~x86... 

This bug is quite annoying, but not critical. I guess I can wait for the stable release. When will that be, is there a target?

Also, if RC_NET_STRICT_CHECKING="yes" doesn't work in baselayout-1.9, maybe it's worth looking into?
Comment 3 SpanKY gentoo-dev 2005-03-29 17:05:25 UTC
not really, we're not fixing 1.9.x
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-04-28 09:29:36 UTC
*** Bug 90725 has been marked as a duplicate of this bug. ***
Comment 5 Marcello V. Mansueto 2005-05-03 04:49:17 UTC
Same problem here with baselayout-1.11.11-r3.
Comment 6 Marcello V. Mansueto 2005-05-07 10:47:25 UTC
Updated to ntp-4.2.0.20040617-r1, same problem...
Comment 7 Dirk Heinrichs 2005-05-17 06:02:27 UTC
Today, baselayout was updated to 1.11.12. Fixes the problem for me. 
Comment 8 Aquila 2005-06-16 07:05:17 UTC
I'm running baselayout 1.11.12-r4 and 4.2.0.20040617-r2, it fails with 
RC_PARALLEL_STARTUP="yes".
Comment 9 Roy Marples (RETIRED) gentoo-dev 2005-06-20 13:55:26 UTC
Does it fail with RC_PARALLEL_STARTUP="no"?
Comment 10 Dirk Heinrichs 2005-06-21 02:07:35 UTC
Yes and no (as opposed to my comment #7). I have one machine were it works 
perfectly now and another one were it doesn't (the one were it doesn't work 
isn't rebooted so often). Both have the same baselayout version (1.11.12-r4) 
and both have RC_NET_STRICT_CHECKING=yes and RC_PARALLEL_STARTUP=no. 
Comment 11 Dirk Heinrichs 2005-07-18 06:26:00 UTC
Works now on the other machine also. It was in the boot runlevel there instead 
of default. 
 
Comment 12 Roy Marples (RETIRED) gentoo-dev 2005-08-05 05:52:09 UTC
*** Bug 101429 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2005-09-12 13:15:29 UTC
*** Bug 105725 has been marked as a duplicate of this bug. ***