conf/145530: ntpdate rc needs wpa_supplicant to go online

Garrett Cooper yanefbsd at gmail.com
Fri Apr 9 05:50:05 UTC 2010


The following reply was made to PR conf/145530; it has been noted by GNATS.

From: Garrett Cooper <yanefbsd at gmail.com>
To: Piotr Smyrak <smyru at heron.pl>
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: conf/145530: ntpdate rc needs wpa_supplicant to go online
Date: Thu, 8 Apr 2010 22:37:44 -0700

 On Thu, Apr 8, 2010 at 3:07 PM, Piotr Smyrak <smyru at heron.pl> wrote:
 >
 >>Number: =A0 =A0 =A0 =A0 145530
 >>Category: =A0 =A0 =A0 conf
 >>Synopsis: =A0 =A0 =A0 ntpdate rc needs wpa_supplicant to go online
 >>Confidential: =A0 no
 >>Severity: =A0 =A0 =A0 non-critical
 >>Priority: =A0 =A0 =A0 low
 >>Responsible: =A0 =A0freebsd-bugs
 >>State: =A0 =A0 =A0 =A0 =A0open
 >>Quarter:
 >>Keywords:
 >>Date-Required:
 >>Class: =A0 =A0 =A0 =A0 =A0sw-bug
 >>Submitter-Id: =A0 current-users
 >>Arrival-Date: =A0 Thu Apr 08 22:10:03 UTC 2010
 >>Closed-Date:
 >>Last-Modified:
 >>Originator: =A0 =A0 Piotr Smyrak
 >>Release: =A0 =A0 =A0 =A0FreeBSD 8.0-STABLE amd64
 >>Organization:
 >>Environment:
 > FreeBSD dsk.smyrak.com 8.0-STABLE FreeBSD 8.0-STABLE #0: Sun Mar 14 17:22=
 :16 CET 2010 =A0 =A0 root at dsk:/usr/obj/amd64/usr/src/sys/SMYRU =A0amd64
 >>Description:
 > Since I started to use wifi card with wpa_supplicant after upgrading to 8=
 -STABLE on every boot ntpdate rc will fail to sync with time server, since =
 it is run before wpa_supplicant does its work.
 >
 > See this thread:
 > http://forums.freebsd.org/showthread.php?t=3D7277
 >
 > $ rcorder /etc/rc.d/*|grep -nE 'ntpdate|wpa'
 > 68:/etc/rc.d/ntpdate
 > 77:/etc/rc.d/wpa_supplicant
 >
 >>How-To-Repeat:
 > 1. disconnect any wired NIC
 > 2. setup wifi to be configured via wpa_supplicant
 > 3. set ntpdate_enable in rc.conf
 > 4. reboot
 >>Fix:
 > Add wpa_supplicant to REQUIREs in ntpdate
 
     This is actually a requirement for all network connectivity, not
 just ntpdate.
 Thanks for the report :),
 -Garrett


More information about the freebsd-rc mailing list