Wrong order in /etc/rc.d scripts ~]>rcorder /etc/rc.d/* | grep -n -e dhclient -e ntp 66:/etc/rc.d/ntpdate 112:/etc/rc.d/ntpd 139:/etc/rc.d/dhclient Then ifconfig_rl0="DHCP"? ntpdate can`t sync time. It is right to add dhclient in REQUIRE section in /etc/rc.d/NETWORKING ? -- alexs -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20091207/88bf4766/attachment.pgp
What version of FreeBSD are you using? Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/
On 2009-12-07T12:30:32-0800, Doug Barton <dougb@FreeBSD.org> wrote:> What version of FreeBSD are you using?I see the same ordering as alexs on 8.0-STABLE r200190: % rcorder /etc/rc.d/* | grep -n -e dhclient -e ntp 67:/etc/rc.d/ntpdate 115:/etc/rc.d/ntpd 142:/etc/rc.d/dhclient -- Kenyon Ralph -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20091207/d7840c65/attachment.pgp
On Mon, Dec 07, 2009 at 12:03:39PM +0300, alexs@ulgsm.ru wrote:> > Wrong order in /etc/rc.d scripts > > ~]>rcorder /etc/rc.d/* | grep -n -e dhclient -e ntp > 66:/etc/rc.d/ntpdate > 112:/etc/rc.d/ntpd > 139:/etc/rc.d/dhclient > > Then ifconfig_rl0="DHCP"? ntpdate can`t sync time. > > > It is right to add dhclient in REQUIRE section in /etc/rc.d/NETWORKING ?The dhclient script doesn't do anything when run as part of the startup sequence so this isn't your problem. -- Brooks -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20091207/5e41e56a/attachment.pgp
On Mon, 07 Dec 2009 10:03:39 +0100, <alexs@ulgsm.ru> wrote:> > Wrong order in /etc/rc.d scripts > > ~]>rcorder /etc/rc.d/* | grep -n -e dhclient -e ntp > 66:/etc/rc.d/ntpdate > 112:/etc/rc.d/ntpd > 139:/etc/rc.d/dhclient > > Then ifconfig_rl0="DHCP"? ntpdate can`t sync time. > > > It is right to add dhclient in REQUIRE section in /etc/rc.d/NETWORKING ?Does ifconfig_rl0="SYNCDHCP" help? Ronald.
* Kenyon Ralph <kenyon@kenyonralph.com> [2009-12-07 12:37:06 -0800]:> On 2009-12-07T12:30:32-0800, Doug Barton <dougb@FreeBSD.org> wrote: > > What version of FreeBSD are you using? > > I see the same ordering as alexs on 8.0-STABLE r200190:Yes. Also same in 7.1,7.2 In 6.0 order is right> > % rcorder /etc/rc.d/* | grep -n -e dhclient -e ntp > 67:/etc/rc.d/ntpdate > 115:/etc/rc.d/ntpd > 142:/etc/rc.d/dhclient > > -- > Kenyon Ralph-- alexs -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20091208/d9ddd93e/attachment.pgp