From nobody@FreeBSD.org Thu Dec 2 16:54:04 2010 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 539E010656A6 for ; Thu, 2 Dec 2010 16:54:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 424518FC19 for ; Thu, 2 Dec 2010 16:54:04 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oB2Gs4pE051612 for ; Thu, 2 Dec 2010 16:54:04 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id oB2Gs4LP051589; Thu, 2 Dec 2010 16:54:04 GMT (envelope-from nobody) Message-Id: <201012021654.oB2Gs4LP051589@red.freebsd.org> Date: Thu, 2 Dec 2010 16:54:04 GMT From: Evgeny Khorkin To: freebsd-gnats-submit@FreeBSD.org Subject: services provide himself instead providing class of service X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 152784 >Category: conf >Synopsis: services provide himself instead providing class of service >Confidential: no >Severity: non-critical >Priority: low >Responsible: dougb >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 02 17:00:20 UTC 2010 >Closed-Date: Fri Oct 07 03:03:44 UTC 2011 >Last-Modified: Fri Oct 07 03:03:44 UTC 2011 >Originator: Evgeny Khorkin >Release: 7_3_release >Organization: >Environment: FreeBSD HOSTNAME 7.3-RELEASE FreeBSD 7.3-RELEASE #4: Wed Sep 8 11:52:01 MSD 2010 root@HOSTNAME:/usr/obj/opt/image/src/sys/KERNEL_NAME amd64 >Description: While boot ntpdate starting before DNS server and doesn't work if we use pdns_recursor as local DNS server It happens because ntpdate require NAMED # REQUIRE: NETWORKING syslogd named and pdns_recursor provide only # PROVIDE: pdns_recursor >How-To-Repeat: write ntpdate_enable="YES" ntpdate_flags="-s" ntpdate_hosts="europe.pool.ntp.org" pdns_recursor_enable="YES" named_enable="NO" to rc.conf and nameserver 127.0.0.1 to /etc/resolv.conf reboot system and see /var/log/messages >Fix: change required and provide terms from specific service to service class. for example in gentoo: cat /etc/init.d/named provide dns cat /etc/init.d/ntp-client need net use dns logger >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-amd64->freebsd-rc Responsible-Changed-By: avg Responsible-Changed-When: Sun Dec 5 14:38:40 UTC 2010 Responsible-Changed-Why: Reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=152784 From: Andriy Gapon To: bug-followup@freebsd.org, worsediablo@gmail.com Cc: Subject: Re: amd64/152784: services provide himself instead providing class of service Date: Sun, 05 Dec 2010 16:34:57 +0200 This is a problem with rc system, right? Not amd64 specific then? -- Andriy Gapon State-Changed-From-To: open->closed State-Changed-By: dougb State-Changed-When: Fri Oct 7 03:01:10 UTC 2011 State-Changed-Why: You can solve this problem by either using an IP address for ntpdate, or by adding BEFORE: ntpdate to your pdns_recursor script. The more general changes you're suggesting are interesting, but would need a lot of thought, testing, etc. Responsible-Changed-From-To: freebsd-rc->dougb Responsible-Changed-By: dougb Responsible-Changed-When: Fri Oct 7 03:01:10 UTC 2011 Responsible-Changed-Why: I'm closing it. http://www.freebsd.org/cgi/query-pr.cgi?pr=152784 >Unformatted: