conf/145530: ntpdate rc needs wpa_supplicant to go online
Piotr Smyrak
smyru at heron.pl
Thu Apr 8 22:10:04 UTC 2010
>Number: 145530
>Category: conf
>Synopsis: ntpdate rc needs wpa_supplicant to go online
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 08 22:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Piotr Smyrak
>Release: FreeBSD 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 root at dsk:/usr/obj/amd64/usr/src/sys/SMYRU amd64
>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=7277
$ 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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list