Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 2010 22:07:53 GMT
From:      Piotr Smyrak <smyru@heron.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/145530: ntpdate rc needs wpa_supplicant to go online
Message-ID:  <201004082207.o38M7r6a086284@www.freebsd.org>
Resent-Message-ID: <201004082210.o38MA3eC054345@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004082207.o38M7r6a086284>