From owner-freebsd-rc@FreeBSD.ORG Mon Jul 5 11:07:02 2010 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91CA21065673 for ; Mon, 5 Jul 2010 11:07:02 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 72E418FC15 for ; Mon, 5 Jul 2010 11:07:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o65B72dN079310 for ; Mon, 5 Jul 2010 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o65B71Xm079308 for freebsd-rc@FreeBSD.org; Mon, 5 Jul 2010 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 5 Jul 2010 11:07:01 GMT Message-Id: <201007051107.o65B71Xm079308@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-rc@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 11:07:02 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/147685 rc [rc.d] [patch] new feature for /etc/rc.d/fsck o conf/147444 rc [rc.d] [patch] /etc/rc.d/zfs stop not called on reboot o conf/146053 rc [patch] [request] shutdown of jails breaks inter-jail o conf/145445 rc [rc.d] error in /etc/rc.d/jail (bad logic) o conf/145440 rc [rc.d] [patch] add multiple fib support (setfib) in /e o conf/145399 rc [patch] rc.d scripts are unable to start/stop programs o conf/145344 rc [patch] Fix kitchen sink approach for rc.d scripts ins o conf/145009 rc [patch] rc.subr(8): rc.conf should allow mac label con o conf/144213 rc [rc.d] [patch] Disappearing zvols on reboot o conf/143637 rc [patch] ntpdate(8) support for ntp-servers supplied by o conf/143085 rc [patch] ftp-proxy(8) rc(8) with multiple instances o conf/143084 rc [jail] [patch]: fix rc.d/jail creating stray softlinks o conf/142973 rc [jail] [patch] Strange counter init value in jail rc o conf/142434 rc [patch] Add cpuset(1) support to rc.subr(8) o conf/142304 rc rc.conf(5): mdconfig and mdconfig2 rc.d scripts lack e o conf/141909 rc rc.subr(8): [patch] add rc.conf.d support to /usr/loca o conf/141907 rc [rc.d] Bug if mtu (maybe others?) is set as first argu o conf/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/141275 rc [request] dhclient(8) rc script should print something o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip o conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137629 rc [rc.d] background_dhclient rc.conf option causing doub o conf/137470 rc [PATCH] /etc/rc.d/mdconfig2 : prioritize cli parameter o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst o conf/136875 rc [request] _flags appending o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b o conf/135338 rc [rc.d] pf startup order seems broken [regression] o conf/134918 rc [patch] rc.subr fails to detect perl daemons o conf/134660 rc [patch] rc-script for initializing ng_netflow+ng_ipfw o conf/134333 rc PPP configuration problem in the rc.d scripts in combi o conf/134006 rc [patch] Unload console screensaver kernel modules if s o conf/133987 rc [rc.d] defaultroute broken with DHCP in some cases o conf/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/132483 rc rc.subr(8) [patch] setfib(1) support for rc.subr o conf/132476 rc [rc.d] [patch] add support setfib(1) in rc.d/routing o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/127917 rc [patch] dumpon rejects on start with physmem>swap even o bin/126562 rc rcorder(8) fails to run unrelated startup scripts when o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped p bin/126324 rc [patch] rc.d/tmp: Prevent mounting /tmp in second tim o conf/124747 rc [patch] savecore can't create dump from encrypted swap o conf/124248 rc [jail] [patch] add support for nice value for rc.d/jai o conf/123734 rc [patch] Chipset VIA CX700 requires extra initializatio o conf/123222 rc [patch] Add rtprio(1)/idprio(1) support to rc.subr(8). o conf/122477 rc [patch] /etc/rc.d/mdconfig and mdconfig2 are ignoring o conf/122170 rc [patch] [request] New feature: notify admin via page o o kern/121566 rc [nfs] [request] [patch] ethernet iface should be broug o conf/120431 rc [patch] devfs.rules are not initialized under certain o conf/120406 rc [devd] [patch] Handle newly attached pcm devices (eg. o conf/119874 rc [patch] "/etc/rc.d/pf reload" fails if there are macro o conf/119076 rc [patch] [rc.d] /etc/rc.d/netif tries to remove alias a o bin/118325 rc [patch] [request] new periodic script to test statuses o conf/118255 rc savecore never finding kernel core dumps (rcorder prob o conf/117935 rc [patch] ppp fails to start at boot because of missing o conf/113915 rc [patch] ndis wireless driver fails to associate when i o conf/109980 rc /etc/rc.d/netif restart doesn't destroy cloned_interfa o conf/109562 rc [rc.d] [patch] [request] Make rc.d/devfs usable from c o conf/108589 rc rtsol(8) fails due to default ipfw rules o conf/106009 rc [ppp] [patch] [request] Fix pppoed startup script to p o conf/105689 rc [ppp] [request] syslogd starts too late at boot o conf/105568 rc [patch] [request] Add more flexibility to rc.conf, to o conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp o conf/104549 rc [patch] rc.d/nfsd needs special _find_processes functi o conf/102700 rc [geli] [patch] Add encrypted /tmp support to GELI/GBDE o conf/99721 rc [patch] /etc/rc.initdiskless problem copy dotfile in s o conf/99444 rc [patch] Enhancement: rc.subr could easily support star o conf/96343 rc [patch] rc.d order change to start inet6 before pf o conf/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d o conf/92523 rc [patch] allow rc scripts to kill process after a timeo o conf/89870 rc [patch] [request] make netif verbose rc.conf toggle o conf/89061 rc [patch] IPv6 6to4 auto-configuration enhancement o conf/88913 rc [patch] wrapper support for rc.subr o conf/85819 rc [patch] script allowing multiuser mode in spite of fsc o kern/81006 rc ipnat not working with tunnel interfaces on startup o conf/77663 rc Suggestion: add /etc/rc.d/addnetswap after addcritremo o conf/73677 rc [patch] add support for powernow states to power_profi o conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} o conf/56934 rc [patch] rc.firewall rules for natd expect an interface o conf/45226 rc [patch] Fix for rc.network, ppp-user annoyance o conf/44170 rc [patch] Add ability to run multiple pppoed(8) on start 81 problems total. From owner-freebsd-rc@FreeBSD.ORG Mon Jul 5 18:14:48 2010 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 359C7106566B; Mon, 5 Jul 2010 18:14:48 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0D10E8FC22; Mon, 5 Jul 2010 18:14:48 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o65IElnQ005169; Mon, 5 Jul 2010 18:14:47 GMT (envelope-from jh@freefall.freebsd.org) Received: (from jh@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o65IElOG005165; Mon, 5 Jul 2010 18:14:47 GMT (envelope-from jh) Date: Mon, 5 Jul 2010 18:14:47 GMT Message-Id: <201007051814.o65IElOG005165@freefall.freebsd.org> To: jh@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org From: jh@FreeBSD.org Cc: Subject: Re: conf/122968: [rc.d] /etc/rc.d/addswap: md swapfile multiplication after init 1 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 18:14:48 -0000 Old Synopsis: [md] md swapfile multiplication after init 1 New Synopsis: [rc.d] /etc/rc.d/addswap: md swapfile multiplication after init 1 Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: jh Responsible-Changed-When: Mon Jul 5 18:11:13 UTC 2010 Responsible-Changed-Why: Reassign. http://www.freebsd.org/cgi/query-pr.cgi?pr=122968 From owner-freebsd-rc@FreeBSD.ORG Fri Jul 9 14:55:25 2010 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AB39106566B for ; Fri, 9 Jul 2010 14:55:25 +0000 (UTC) (envelope-from freebsd@knarf.de) Received: from mail.server-king.de (mail.server-king.de [IPv6:2001:6f8:1d0d::10]) by mx1.freebsd.org (Postfix) with ESMTP id 032F18FC0A for ; Fri, 9 Jul 2010 14:55:24 +0000 (UTC) Received: from cheese.server-king.de (localhost [127.0.0.1]) by mail.server-king.de (8.14.4/8.14.4) with ESMTP id o69EtMUm030556 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 9 Jul 2010 16:55:22 +0200 (CEST) (envelope-from freebsd@knarf.de) DomainKey-Signature: a=rsa-sha1; s=mail.server-king.de; d=knarf.de; c=nofws; q=dns; h=dkim-signature:received: x-authentication-warning:date:from:to:subject:message-id:mime-version:content-type: content-disposition:user-agent:x-greylist; b=lkfIYKjXsO+PHfzw2Vm1ubss4bkMttM3idMvQVkPFBMdp3JdNVmgYAu6Zw7ey9FcM niK1grt1Fuu/t/am8hriQK860ENKgusxKAJCFY4ABcCIp5xI1QxyMRRTlUPO+cKjvvL HgEl1R8b8axdukt38OKGd967EgMqan3zNTXPNbI= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=knarf.de; s=mail.server-king.de; t=1278687322; bh=DXgNhU8o9Ke5Kx2TzLmlPhJwsn+aOkutbLyyhT8z0go=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=OnesNZepol0H9ZuaUdoYFK+cnGVG54YoA60y5u4+ofBVbwhr7n+K2eOjMwlN58kzb smbPMmS9kUs/ql01BFGu1eXyPtszeZcbv+ze/hpnRtIX9eDtUKWmTNRp0agB+0XLXc kispIP8GPosc5y7Yz8DphaFjndC3dXeGbK5ZRFws= Received: (from knarf@localhost) by cheese.server-king.de (8.14.4/8.14.4/Submit) id o69EtLeg030549 for freebsd-rc@freebsd.org; Fri, 9 Jul 2010 16:55:21 +0200 (CEST) (envelope-from freebsd@knarf.de) X-Authentication-Warning: cheese.server-king.de: knarf set sender to freebsd@knarf.de using -f Date: Fri, 9 Jul 2010 16:55:21 +0200 From: Frank Bartels To: freebsd-rc@freebsd.org Message-ID: <20100709145521.GA60438@server-king.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.5 (mail.server-king.de [127.0.0.1]); Fri, 09 Jul 2010 16:55:22 +0200 (CEST) Subject: rc.d/static_arp for v6: static_ndp X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 14:55:25 -0000 Hi, I've just noticed we have rc.d/static_arp for a while now, but the v6 counterpart is missing: I'd call it static_ndp. So I took rc.d/static_arp and patched it. ndp does not know about -S (deleting old entry first), so I've just changed it to -s. Maybe someone is able to add -S to ndp, otherwise one should add -d line before -s. rc.conf works the same way: static_ndp_pairs="gateway" static_ndp_gateway="2001:db8:120:9260::1 00:26:ff:ff:ff:ff" --- /etc/rc.d/static_arp 2010-07-09 15:25:08.929932175 +0200 +++ /usr/local/etc/rc.d/static_ndp 2010-07-09 16:39:20.396958047 +0200 @@ -24,46 +24,46 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# Configure static ARP table +# Configure static NDP table # -# $FreeBSD: src/etc/rc.d/static_arp,v 1.4.2.2.2.1 2010/06/14 02:09:06 kensmith Exp $ +# $FreeBSD$ # -# PROVIDE: static_arp +# PROVIDE: static_ndp # REQUIRE: netif # KEYWORD: nojail . /etc/rc.subr -name="static_arp" -start_cmd="static_arp_start" -stop_cmd="static_arp_stop" +name="static_ndp" +start_cmd="static_ndp_start" +stop_cmd="static_ndp_stop" -static_arp_start() +static_ndp_start() { - local e arp_args + local e ndp_args - if [ -n "${static_arp_pairs}" ]; then - echo -n 'Binding static ARP pair(s):' - for e in ${static_arp_pairs}; do + if [ -n "${static_ndp_pairs}" ]; then + echo -n 'Binding static NDP pair(s):' + for e in ${static_ndp_pairs}; do echo -n " ${e}" - eval arp_args=\$static_arp_${e} - arp -S ${arp_args} >/dev/null 2>&1 + eval ndp_args=\$static_ndp_${e} + ndp -s ${ndp_args} >/dev/null 2>&1 done echo '.' fi } -static_arp_stop() +static_ndp_stop() { - local e arp_args + local e ndp_args - if [ -n "${static_arp_pairs}" ]; then - echo -n 'Unbinding static ARP pair(s):' - for e in ${static_arp_pairs}; do + if [ -n "${static_ndp_pairs}" ]; then + echo -n 'Unbinding static NDP pair(s):' + for e in ${static_ndp_pairs}; do echo -n " ${e}" - eval arp_args=\$static_arp_${e} - arp -d ${arp_args%%[ ]*} > /dev/null 2>&1 + eval ndp_args=\$static_ndp_${e} + ndp -d ${ndp_args%%[ ]*} > /dev/null 2>&1 done echo '.' fi It seems this "hack" is needed for the native v6 connectity provided by Hetzner (German hosting provider). Cheers, Knarf From owner-freebsd-rc@FreeBSD.ORG Fri Jul 9 19:36:27 2010 Return-Path: Delivered-To: freebsd-rc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06CCE106566C for ; Fri, 9 Jul 2010 19:36:27 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [IPv6:2001:470:a803::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4726A8FC14 for ; Fri, 9 Jul 2010 19:36:26 +0000 (UTC) Received: from mail.geekcn.org (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id 7B9D4A5A79B; Sat, 10 Jul 2010 03:36:23 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by mail.geekcn.org (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with LMTP id svtpo-HQHJj1; Sat, 10 Jul 2010 03:36:17 +0800 (CST) Received: from delta.delphij.net (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 7204AA5A6DB; Sat, 10 Jul 2010 03:36:15 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=miwQx1x+261dCfOVhX9uygND6t3q5+WRIsIxeqyssq4wmnoMdLiNFTRoXC0ZGcLLa kDER6exxNepgFhXsaXkYA== Message-ID: <4C377A2D.2000507@delphij.net> Date: Fri, 09 Jul 2010 12:36:13 -0700 From: Xin LI Organization: The Geek China Organization User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100629 Thunderbird/3.0.5 ThunderBrowse/3.3 MIME-Version: 1.0 To: Frank Bartels References: <20100709145521.GA60438@server-king.de> In-Reply-To: <20100709145521.GA60438@server-king.de> X-Enigmail-Version: 1.0.1 OpenPGP: id=3FCA37C1; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.ORG Subject: Re: rc.d/static_arp for v6: static_ndp X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 19:36:27 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2010/07/09 07:55, Frank Bartels wrote: > Hi, > > I've just noticed we have rc.d/static_arp for a while now, but the > v6 counterpart is missing: I'd call it static_ndp. > > So I took rc.d/static_arp and patched it. ndp does not know about > -S (deleting old entry first), so I've just changed it to -s. Maybe > someone is able to add -S to ndp, otherwise one should add -d line > before -s. Wouldn't -s replace existing entry? Testing on link-local entry seems that -s would just replace it... > rc.conf works the same way: > > static_ndp_pairs="gateway" > static_ndp_gateway="2001:db8:120:9260::1 00:26:ff:ff:ff:ff" > > --- /etc/rc.d/static_arp 2010-07-09 15:25:08.929932175 +0200 > +++ /usr/local/etc/rc.d/static_ndp 2010-07-09 16:39:20.396958047 +0200 > @@ -24,46 +24,46 @@ > # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF > # SUCH DAMAGE. > # > -# Configure static ARP table > +# Configure static NDP table > # > -# $FreeBSD: src/etc/rc.d/static_arp,v 1.4.2.2.2.1 2010/06/14 02:09:06 kensmith Exp $ > +# $FreeBSD$ > # > > -# PROVIDE: static_arp > +# PROVIDE: static_ndp > # REQUIRE: netif > # KEYWORD: nojail > > . /etc/rc.subr > > -name="static_arp" > -start_cmd="static_arp_start" > -stop_cmd="static_arp_stop" > +name="static_ndp" > +start_cmd="static_ndp_start" > +stop_cmd="static_ndp_stop" > > > -static_arp_start() > +static_ndp_start() > { > - local e arp_args > + local e ndp_args > > - if [ -n "${static_arp_pairs}" ]; then > - echo -n 'Binding static ARP pair(s):' > - for e in ${static_arp_pairs}; do > + if [ -n "${static_ndp_pairs}" ]; then > + echo -n 'Binding static NDP pair(s):' > + for e in ${static_ndp_pairs}; do > echo -n " ${e}" > - eval arp_args=\$static_arp_${e} > - arp -S ${arp_args} >/dev/null 2>&1 > + eval ndp_args=\$static_ndp_${e} > + ndp -s ${ndp_args} >/dev/null 2>&1 > done > echo '.' > fi > } > > -static_arp_stop() > +static_ndp_stop() > { > - local e arp_args > + local e ndp_args > > - if [ -n "${static_arp_pairs}" ]; then > - echo -n 'Unbinding static ARP pair(s):' > - for e in ${static_arp_pairs}; do > + if [ -n "${static_ndp_pairs}" ]; then > + echo -n 'Unbinding static NDP pair(s):' > + for e in ${static_ndp_pairs}; do > echo -n " ${e}" > - eval arp_args=\$static_arp_${e} > - arp -d ${arp_args%%[ ]*} > /dev/null 2>&1 > + eval ndp_args=\$static_ndp_${e} > + ndp -d ${ndp_args%%[ ]*} > /dev/null 2>&1 > done > echo '.' > fi > > It seems this "hack" is needed for the native v6 connectity provided > by Hetzner (German hosting provider). > > Cheers, > Knarf > _______________________________________________ > freebsd-rc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-rc > To unsubscribe, send any mail to "freebsd-rc-unsubscribe@freebsd.org" > - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iQEcBAEBCAAGBQJMN3otAAoJEATO+BI/yjfBKUwH/1TIu23FlEvVgrvparGNCyMF sgtlDziOUHm1JTRacVVxSaexCJUnQ6IAXOA71YKRYWg9AvEqxyNTFx3cN6Cljag8 d/aPIS0hRDxZwtnkJfLjtlvHRziVy2HlQGEK3r/znKj5X6HILEci3QYuqUCtYy8E l7AxwJGlkqt5nN9lGI5jvxxDCmVk9Lz/rCB/9XQY+GPyqnPjHCKINz/tLMg8UcKc o0mTfbuZ52LVbg809CkCBAFvGZAk0KI83bmO8IYGy15D+UbUJC08q+BAJ2D5B07E 5/ObFwEEDtBQEm1dfdqCk4uwbx0xCHSk8eOt28PIFTH47GokVFk1FBtdUYWFkXM= =GfvC -----END PGP SIGNATURE----- From owner-freebsd-rc@FreeBSD.ORG Fri Jul 9 21:21:16 2010 Return-Path: Delivered-To: freebsd-rc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A317B1065799 for ; Fri, 9 Jul 2010 21:21:16 +0000 (UTC) (envelope-from freebsd@knarf.de) Received: from mail.server-king.de (mail.server-king.de [IPv6:2001:6f8:1d0d::10]) by mx1.freebsd.org (Postfix) with ESMTP id 197358FC1D for ; Fri, 9 Jul 2010 21:21:15 +0000 (UTC) Received: from cheese.server-king.de (localhost [127.0.0.1]) by mail.server-king.de (8.14.4/8.14.4) with ESMTP id o69LKwDr090956 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Jul 2010 23:20:58 +0200 (CEST) (envelope-from freebsd@knarf.de) DomainKey-Signature: a=rsa-sha1; s=mail.server-king.de; d=knarf.de; c=nofws; q=dns; h=dkim-signature:received: x-authentication-warning:date:from:to:cc:subject:message-id:references:mime-version: content-type:content-disposition:in-reply-to:user-agent:x-greylist; b=JYbKCr32L5BEdfAfPBBdix8uDcPUzkvck8f9zB8Sc5CsdNhl+/yPrr9ReZ7Pf3HQ8 jnNws/hugcxna9lvrKN+pdry+2zztFmNXu9Gn9YtvKBd7d1xl14ejtyflZtu2RLtIgy fx8A/9v219DQXgCulSDNpjWnRAEDl+OkTyhblLk= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=knarf.de; s=mail.server-king.de; t=1278710459; bh=rQMaKGeEzDQ8mDbqQw3IDf6b60yFC3iD+TN20pdydRY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=OY5o74XGLX2kSUy5pA4PjHHsDL/arN54TAstVO1//BNLafrChQXBD8Qwj1TkHhnJE MVonZwW673xdAxe1yPtyDKVX+GuYFsdjEboZxRBeCtNu9cd+o3Z9swgANA4JsogQAt gyIH+dOFNcrg9mJtpSoqmPTThplOy9gV9IFDERY4= Received: (from knarf@localhost) by cheese.server-king.de (8.14.4/8.14.4/Submit) id o69LKwdI090955; Fri, 9 Jul 2010 23:20:58 +0200 (CEST) (envelope-from freebsd@knarf.de) X-Authentication-Warning: cheese.server-king.de: knarf set sender to freebsd@knarf.de using -f Date: Fri, 9 Jul 2010 23:20:58 +0200 From: Frank Bartels To: d@delphij.net Message-ID: <20100709212058.GG60438@server-king.de> References: <20100709145521.GA60438@server-king.de> <4C377A2D.2000507@delphij.net> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="z+buRVFir587KtL+" Content-Disposition: inline In-Reply-To: <4C377A2D.2000507@delphij.net> User-Agent: Mutt/1.5.20 (2009-06-14) X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.5 (mail.server-king.de [127.0.0.1]); Fri, 09 Jul 2010 23:20:59 +0200 (CEST) Cc: freebsd-rc@FreeBSD.ORG Subject: Re: rc.d/static_arp for v6: static_ndp X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 21:21:16 -0000 --z+buRVFir587KtL+ Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 09, 2010 at 12:36:13 -0700, Xin LI wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 >=20 > On 2010/07/09 07:55, Frank Bartels wrote: > > Hi, > >=20 > > I've just noticed we have rc.d/static_arp for a while now, but the > > v6 counterpart is missing: I'd call it static_ndp. > >=20 > > So I took rc.d/static_arp and patched it. ndp does not know about > > -S (deleting old entry first), so I've just changed it to -s. Maybe > > someone is able to add -S to ndp, otherwise one should add -d line > > before -s. >=20 > Wouldn't -s replace existing entry? Testing on link-local entry seems > that -s would just replace it... it seems you're right. I did not even find a difference between arp -s and arp -S. Both just overwrite the existing entry. Ages ago arp -s stopped with an error message in this case, this is why -S was introduced if I remember correctly. So neither the new script nor ndp require further changes. :) But I have a small problem left: If I put static_ndp into /usr/local/etc/rc.d it is run far before static_arp and does not work as expected. If I put it into /etc/rc.d, everything seems fine, static_ndp is run right before static_arp. Isn't "rcorder /etc/rc.d/* /usr/local/etc/rc.d/*" the correct way to find out the order? There must be somthing I don't fully understand. BTW: I use 8.1-RC2. Bye, Knarf --z+buRVFir587KtL+ Content-Type: application/x-pkcs7-signature Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIIR4AYJKoZIhvcNAQcCoIIR0TCCEc0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC DxIwggfiMIIFyqADAgECAgEOMA0GCSqGSIb3DQEBBQUAMH0xCzAJBgNVBAYTAklMMRYwFAYD VQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0 ZSBTaWduaW5nMSkwJwYDVQQDEyBTdGFydENvbSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAe Fw0wNzEwMjQyMTAyNTRaFw0xMjEwMjIyMTAyNTRaMIGMM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