Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49586 - ntp-client init.d-script fails over rp-pppoe
Summary: ntp-client init.d-script fails over rp-pppoe
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-01 03:52 UTC by Björn Michaelsen
Modified: 2004-09-23 17:44 UTC (History)
1 user (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 Björn Michaelsen 2004-05-01 03:52:47 UTC
ntp-client should have
"USE rp-pppoe" so a DSL connection will be started before ntp tries to update the system clock.


Reproducible: Always
Steps to Reproduce:
1. add rp-pppoe and ntp-client to a runlevel
2. boot into this runlevel

Actual Results:  
ntp-client fails because it is tried before the DSL connection is up.


Expected Results:  
ntp-client setting is system time.

ntpd should propably also have "USE rp-pppoe"
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6-rc1)
=================================================================
System uname: 2.6.6-rc1 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.9
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -mmmx -m3dnow -fomit-frame-pointer -fforce-addr -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mmmx -m3dnow -fomit-frame-pointer -fforce-addr
-pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.gentoo.skynet.be/pub/gentoo/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d acpi acpi4linux alsa avi berkdb cdr crypt cscope cups curl
dga dvd encode esd fbcon ffmpeg foomaticdb gdbm gif glut gstreamer gtk gtk2
guile imlib java jikes joystick jpeg libg++ libwww ltsp mad maildir mcal mikmod
mmx motif moznocompose moznoirc moznomail mozsvg mpeg mpeg4 ncurses nls nvidia
offensive oggvorbis openal opengl oscar oss pam pdflib perl physfs pic png ppds
python readline sasl sdl slang spell sqlite sse ssl tcpd tetex tiff transcode
truetype unicode usb v4l vim-with-x x86 xinerama xml2 xmms xv xvid zlib"
Comment 1 SpanKY gentoo-dev 2004-05-01 22:34:42 UTC
no, rp-pppoe should provide net
Comment 2 Chris Paras 2004-05-18 22:34:42 UTC
temporary workaround:

add the following line to /etc/init.d/rp-pppoe under "after domainname"

         before ntp-client

to make sure the adsl-link is brought up before the ntp-client.

add the following line to /etc/init.d/ntp-client under the start() line:

         sleep 5

to make sure the ntp-client is caple of resolving the ntp server from the internet you are syncing to.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2004-09-23 17:44:17 UTC
fixed. Copy  ${PORTDIR}/net-dialup/rp-pppoe/files/rp-pppoe.rc to /etc/init.d/rp-pppoe to otherwise remerge.