From owner-freebsd-rc@FreeBSD.ORG Sun Jun 5 20:10:37 2011 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 3C743106566B for ; Sun, 5 Jun 2011 20:10:37 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id EECFE8FC15 for ; Sun, 5 Jun 2011 20:10:36 +0000 (UTC) Received: from elsa.codelab.cz (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id A4F7019E031 for ; Sun, 5 Jun 2011 21:52:11 +0200 (CEST) Received: from [192.168.1.2] (ip-86-49-61-235.net.upcbroadband.cz [86.49.61.235]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 45DA719E02D for ; Sun, 5 Jun 2011 21:52:06 +0200 (CEST) Message-ID: <4DEBDE65.9000905@quip.cz> Date: Sun, 05 Jun 2011 21:52:05 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 MIME-Version: 1.0 To: freebsd-rc@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: rc script for iSCSI initiator 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: Sun, 05 Jun 2011 20:10:37 -0000 I already asked it in the past without response... Is there somebody willing to review and commit rc script for iSCSI initiator in to HEAD before start of the 9.0 release cycle? The old version is in the mailinglist archive. I can come with some better style if there is interest. Miroslav Lachman From owner-freebsd-rc@FreeBSD.ORG Sun Jun 5 23:57:02 2011 Return-Path: Delivered-To: rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54CD8106564A for ; Sun, 5 Jun 2011 23:57:02 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id 106F38FC12 for ; Sun, 5 Jun 2011 23:56:59 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApEGACoX7E2DaFvO/2dsb2JhbABTG4Qvk02PFqhnjiaPWoErg2yBCgSQeY9W X-IronPort-AV: E=Sophos;i="4.65,324,1304308800"; d="scan'208";a="123010032" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 05 Jun 2011 19:56:58 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id C951CB3F0C for ; Sun, 5 Jun 2011 19:56:58 -0400 (EDT) Date: Sun, 5 Jun 2011 19:56:58 -0400 (EDT) From: Rick Macklem To: rc@freebsd.org Message-ID: <174446905.137501.1307318218787.JavaMail.root@erie.cs.uoguelph.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.201] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - IE7 (Win)/6.0.10_GA_2692) Cc: Subject: scripts for review 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: Sun, 05 Jun 2011 23:57:02 -0000 Hi, I was wondering if you could take a look at the scripts in: http://people.freebsd.org/~rmacklem/rc.conf this week, since I'd like to commit something to head by Jun 11, before I go away. There are 2 versions of the mountcritremote patch. - minimal 1 line change to fix it for the change in default NFS client OR - take out the NFS specific stuff, which seems to work for me, but might be riskier? I've also put an update to /etc/rc.d/nfsd which loads the old NFS server module, as required. With that change, I think /etc/rc.d/nfsserver can go away, since about all it did was load the module. Thanks in advance for any help with this, rick From owner-freebsd-rc@FreeBSD.ORG Mon Jun 6 11:07:13 2011 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 A9A111065690 for ; Mon, 6 Jun 2011 11:07:13 +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 85D478FC25 for ; Mon, 6 Jun 2011 11:07:13 +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 p56B7DTv037724 for ; Mon, 6 Jun 2011 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p56B7C8F037722 for freebsd-rc@FreeBSD.org; Mon, 6 Jun 2011 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Jun 2011 11:07:12 GMT Message-Id: <201106061107.p56B7C8F037722@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, 06 Jun 2011 11:07:13 -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/154554 rc [rc.d] [patch] statd and lockd fail to start o conf/153666 rc [rc.d][patch] mount filesystems from fstab over zfs da o conf/153200 rc post-boot /etc/rc.d/network_ipv6 start can miss neighb o conf/153123 rc [rc] [patch] add gsched rc file to automatically inser o conf/152784 rc services provide himself instead providing class of se o conf/150752 rc [rc.subr] [patch] be not needed to eval $_pidcmd on re o conf/150474 rc [patch] rc.d/accounting: Add ability to set location o o conf/149867 rc [PATCH] rc.d script to manage multiple FIBS (kern opti o conf/149831 rc [PATCH] add support to /etc/rc.d/jail for delegating Z o conf/148656 rc rc.firewall(8): {oip} and {iip} variables in rc.firewa 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 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/122968 rc [rc.d] /etc/rc.d/addswap: md swapfile multiplication a 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/109272 rc [request] increase default rc shutdown timeout 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 92 problems total. From owner-freebsd-rc@FreeBSD.ORG Mon Jun 6 20:43:01 2011 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 85D3F106567C; Mon, 6 Jun 2011 20:43:00 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 65-241-43-5.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id BED361A58AE; Mon, 6 Jun 2011 20:41:30 +0000 (UTC) Message-ID: <4DED3B7A.1010302@FreeBSD.org> Date: Mon, 06 Jun 2011 13:41:30 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110429 Thunderbird/3.1.10 MIME-Version: 1.0 To: gavin@FreeBSD.org References: <201106061314.p56DEhAd063030@freefall.freebsd.org> In-Reply-To: <201106061314.p56DEhAd063030@freefall.freebsd.org> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kilian.klimek@googlemail.com, freebsd-rc@FreeBSD.org, freebsd-doc@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: docs/154494: rcorder(8) not quite accurate 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, 06 Jun 2011 20:43:01 -0000 I wish that you had discussed this with freebsd-rc@ before committing. :-/ I can't see any good thing that comes from documenting this. OTOH, the benefit of not documenting it is that eventually we can remove support for the un-documented versions because they are no longer used. Is there something that I'm missing? Doug On 06/06/2011 06:14, gavin@FreeBSD.org wrote: > Synopsis: rcorder(8) not quite accurate > > State-Changed-From-To: open->patched > State-Changed-By: gavin > State-Changed-When: Mon Jun 6 13:14:10 UTC 2011 > State-Changed-Why: > Fix committed to head, MFC in one week. > > > Responsible-Changed-From-To: freebsd-doc->gavin > Responsible-Changed-By: gavin > Responsible-Changed-When: Mon Jun 6 13:14:10 UTC 2011 > Responsible-Changed-Why: > Mine > > http://www.freebsd.org/cgi/query-pr.cgi?pr=154494 -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-rc@FreeBSD.ORG Mon Jun 6 22:27:39 2011 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 8584D1065686 for ; Mon, 6 Jun 2011 22:27:39 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 0041B8FC08 for ; Mon, 6 Jun 2011 22:27:38 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id p56MRZsB002795 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 6 Jun 2011 23:27:35 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p56MRZsB002795 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1307399255; bh=a6erByoQpTW/dfu89Ivl/wXWl5pgfPI7oGN8E9pHYmM=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type:Cc: Content-Type:Date:From:In-Reply-To:Message-ID:Mime-Version: References:To; z=Message-ID:=20<4DED544F.9020705@infracaninophile.co.uk>|Date:=20M on,=2006=20Jun=202011=2023:27:27=20+0100|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20r v:1.9.2.17)=20Gecko/20110414=20Thunderbird/3.1.10|MIME-Version:=20 1.0|To:=20freebsd-rc@freebsd.org|Subject:=20pf=20starts=20before=2 0network_ipv6=20?|X-Enigmail-Version:=201.1.1|OpenPGP:=20id=3D60AE 908C|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D =0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3 D"------------enig1CCCBAEADB45CD049BF21DD4"; b=rgh5ezaAw7nFC4Mcp8Ng7VTj1wDiZJiM9FqoyJxuQGTTP4vFGcuvt4r+VDcRgor5k dZlzaBj40pRNxjsLbT14Oh5x0MarNRYapULbYLvO216Xdlynj9B0GghqPCw9/dxr4u sAiZGzbMJkfpS7fPlIpTZhNlgXTpOtZ7nA7cpASQ= Message-ID: <4DED544F.9020705@infracaninophile.co.uk> Date: Mon, 06 Jun 2011 23:27:27 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-rc@freebsd.org X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1CCCBAEADB45CD049BF21DD4" X-Virus-Scanned: clamav-milter 0.97 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: pf starts before network_ipv6 ? 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, 06 Jun 2011 22:27:39 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1CCCBAEADB45CD049BF21DD4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hmmm.... pf(4) is started before IPv6 addresses are configured on interfaces. lucid-nonsense:~:% rcorder /etc/rc.d/* | grep -A 3 '/pf$' /etc/rc.d/pf /etc/rc.d/ppp /etc/rc.d/routing /etc/rc.d/network_ipv6 I can see that starting pf before configuring routing is desirable, and there is code in network_ipv6 that is routing dependent, but configuring IPv6 addresses on interfaces during network_ipv6 and after pf has started means /etc/pf.conf will frequently evaluate to a different set of rules on boot than it will if pf.conf is reloaded during normal runtim= e. Eg. when pf starts, there's generally only a link-local IPv6 address configured on the interface, so in pf rules like: pass in on $ext_if proto tcp \ from any to $ext_if port ssh \ flags S/SA keep state \ (max-src-conn-rate 3/30, overload flush global) the $ext_if in line 2 doesn't expand to include the usual routable IPv6 address of the interface, and the ssh bruteforce blocking function here will be ineffectual. This seems so obviously wrong to me, that I must be missing something? Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig1CCCBAEADB45CD049BF21DD4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3tVFcACgkQ8Mjk52CukIyIjACgiw1au1g6DAo5rhomlCTpPqXX aUUAn347ngD/6QlD3xp7a0ZXqvH6R1dX =/aw1 -----END PGP SIGNATURE----- --------------enig1CCCBAEADB45CD049BF21DD4-- From owner-freebsd-rc@FreeBSD.ORG Tue Jun 7 21:18:31 2011 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 809ED1065675; Tue, 7 Jun 2011 21:18:31 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 65-241-43-5.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 0AE3514DCD0; Tue, 7 Jun 2011 21:18:06 +0000 (UTC) Message-ID: <4DEE958E.2000405@FreeBSD.org> Date: Tue, 07 Jun 2011 14:18:06 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110429 Thunderbird/3.1.10 MIME-Version: 1.0 To: Hiroki Sato References: <4DE588B4.7090908@FreeBSD.org> <20110601.130434.820821962809263631.hrs@allbsd.org> <4DE6D3C8.1050503@FreeBSD.org> <20110602.111753.392307987943310561.hrs@allbsd.org> In-Reply-To: <20110602.111753.392307987943310561.hrs@allbsd.org> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: bz@FreeBSD.org, freebsd-rc@FreeBSD.org Subject: Re: afexists() 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: Tue, 07 Jun 2011 21:18:31 -0000 On 06/01/2011 19:17, Hiroki Sato wrote: > Doug Barton wrote > in<4DE6D3C8.1050503@FreeBSD.org>: > > do> On 05/31/2011 21:04, Hiroki Sato wrote: > do> > I think it would be great if it is possible to create a wrapper > do> > function for testing and caching. I expects testing kern.features.* > do> > is likely added again to somewhere in rc.d scripts, and adding a long > do> > lines of "[ -n ... ]&& return 0; if sysctl...; fi" each time > do> > degrades readability. > do> > do> I think that's definitely an interesting idea, and I'd love to review > do> patches that implement it. :) Unfortunately I don't have time to do so > do> atm, and would prefer to focus on a specific case where a small > do> optimization leads to a big gain. > > A patch is attached. That's Ok as far as it goes, but what I thought you meant was something a little more general for sysctl-related things. However since this has most of the benefits of what I proposed, I don't object. My only request is that you get either your patch or mine in sooner rather than later. :) Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-rc@FreeBSD.ORG Wed Jun 8 14:38:42 2011 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 67AD6106564A; Wed, 8 Jun 2011 14:38:42 +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 407348FC18; Wed, 8 Jun 2011 14:38:42 +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 p58EcgK3061926; Wed, 8 Jun 2011 14:38:42 GMT (envelope-from jh@freefall.freebsd.org) Received: (from jh@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p58EcgCo061922; Wed, 8 Jun 2011 14:38:42 GMT (envelope-from jh) Date: Wed, 8 Jun 2011 14:38:42 GMT Message-Id: <201106081438.p58EcgCo061922@freefall.freebsd.org> To: jh@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org From: jh@FreeBSD.org Cc: Subject: Re: conf/155006: [patch] named(8): /etc/rc.d/named might set wrong pid file 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: Wed, 08 Jun 2011 14:38:42 -0000 Synopsis: [patch] named(8): /etc/rc.d/named might set wrong pid file Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: jh Responsible-Changed-When: Wed Jun 8 14:37:04 UTC 2011 Responsible-Changed-Why: Reclassify and assign. http://www.freebsd.org/cgi/query-pr.cgi?pr=155006 From owner-freebsd-rc@FreeBSD.ORG Thu Jun 9 20:36:26 2011 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 DDAF01065673; Thu, 9 Jun 2011 20:36:26 +0000 (UTC) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from gse-mta-27.emailfiltering.com (gse-mta-27-tx.emailfiltering.com [194.116.198.158]) by mx1.freebsd.org (Postfix) with ESMTP id C97E68FC0C; Thu, 9 Jun 2011 20:36:24 +0000 (UTC) Received: from mail-gw5.york.ac.uk ([144.32.129.29]) by gse-mta-27.emailfiltering.com with emfmta (version 4.8.1.33) by TLS id 1030083492 for dougb@FreeBSD.org; df563b41dfb19237; Thu, 09 Jun 2011 21:25:25 +0100 Received: from ury.york.ac.uk ([144.32.108.81]:39226) by mail-gw5.york.ac.uk with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QUlnA-00070W-Px; Thu, 09 Jun 2011 21:25:24 +0100 Received: from gavin (helo=localhost) by ury.york.ac.uk with local-esmtp (Exim 4.76) (envelope-from ) id 1QUlnA-0004kh-Gn; Thu, 09 Jun 2011 21:25:24 +0100 Date: Thu, 9 Jun 2011 21:25:24 +0100 (BST) From: Gavin Atkinson X-X-Sender: gavin@"ury.york.ac.uk." To: Doug Barton In-Reply-To: <4DED3B7A.1010302@FreeBSD.org> Message-ID: References: <201106061314.p56DEhAd063030@freefall.freebsd.org> <4DED3B7A.1010302@FreeBSD.org> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Cc: kilian.klimek@googlemail.com, freebsd-rc@FreeBSD.org, freebsd-doc@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: docs/154494: rcorder(8) not quite accurate 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: Thu, 09 Jun 2011 20:36:27 -0000 On Mon, 6 Jun 2011, Doug Barton wrote: > I wish that you had discussed this with freebsd-rc@ before committing. :-/ I > can't see any good thing that comes from documenting this. OTOH, the benefit > of not documenting it is that eventually we can remove support for the > un-documented versions because they are no longer used. I must admit that I was a little surprised to see the man page be so explicit in saying that no other keywords were accepted, and yet the rcorder(8) code accepts them happily. I wasn't happy with the patch submitted in the PR for a number of reasons, but I felt that my rewording made it clear that these were accepted only historically, and therefore not suggested for use in new scripts. I tried to get the balance correct between documenting behaviour, and discouraging the use of deprecated features. I'm happy to revert this if you think these should remain deliberately undocumented. Gavin From owner-freebsd-rc@FreeBSD.ORG Thu Jun 9 21:27:31 2011 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 ABD0B106566C; Thu, 9 Jun 2011 21:27:31 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 854468FC14; Thu, 9 Jun 2011 21:27:31 +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 p59LRVX1085229; Thu, 9 Jun 2011 21:27:31 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p59LRV2p085225; Thu, 9 Jun 2011 21:27:31 GMT (envelope-from linimon) Date: Thu, 9 Jun 2011 21:27:31 GMT Message-Id: <201106092127.p59LRV2p085225@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: conf/157687: [patch] /etc/rc.d/quota and quotaon args 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: Thu, 09 Jun 2011 21:27:31 -0000 Synopsis: [patch] /etc/rc.d/quota and quotaon args Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Thu Jun 9 21:26:59 UTC 2011 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=157687 From owner-freebsd-rc@FreeBSD.ORG Sat Jun 11 16:58:20 2011 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 99EF9106564A; Sat, 11 Jun 2011 16:58:20 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 45AA68FC08; Sat, 11 Jun 2011 16:58:19 +0000 (UTC) Received: by qwc9 with SMTP id 9so2469596qwc.13 for ; Sat, 11 Jun 2011 09:58:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc :content-type; bh=WBSd4avKfRKtd4u3QhbMORr3jIChIKPPp2XBcWWnLqg=; b=nUd3guecShUkelQCSSzRdYY/LbOlUFY8v4/rPGCBa6uIpscVQA1FtQTcWEaaUZ2ob8 nuRZsXyKyGXAQ1BE5gCMxd+FnykiVxv2x0uiO1Qm7KG1UTrDCRxAKgdzOy+c/hQUZxlW bFXdVDyo3wGTahJGzE+jPj7jlwBbFqL6JbpdQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=T95ad0pZrMIr2oK3CjGNnIh9NEUQY7DEyo4WyOy0OZtl9F6DfLpr6aMlsPc5hVxubq DgLyoyAtAjvTjXP8HyYX/kr2j43aAwbKHuCTp0Vi5ffww6rXKHcszXCbl7q9PKWV6p/o lGc8DMs5+wKVfH0J69Jf2Vn0ddAFNTEbOmWOI= MIME-Version: 1.0 Received: by 10.229.142.11 with SMTP id o11mr2546475qcu.46.1307809840415; Sat, 11 Jun 2011 09:30:40 -0700 (PDT) Received: by 10.229.99.197 with HTTP; Sat, 11 Jun 2011 09:30:40 -0700 (PDT) Date: Sat, 11 Jun 2011 20:30:40 +0400 Message-ID: From: Sergey Kandaurov To: freebsd-rc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: "Alexander V. Chernikov" , Doug Barton Subject: [CFR] rc.conf interface description 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: Sat, 11 Jun 2011 16:58:20 -0000 Hello. Some time ago there was a discussion about ifconfig descr integration into rc. That means you can store interface descriptions in rc.conf file, so that the descriptions survive between system reboots. To achieve it, you need to place one-line option into rc.conf, e.g. like this: ifconfig_em0_descr="Uplink to Gigabit Switch 1", or ifconfig_vlan8_descr="description '1 2 3' vlan 255 vlandev IFACE" so after reboot or manual `rc.d/netif restart $iface` invocation, you''ll see something like this: vlan8: flags=8843 metric 0 mtu 1500 description: description '1 2 3' vlan 255 vlandev IFACE [...] And rc.d/netif stop $iface removes description from a network interface. You can see the previous discussion in -current@ and -rc@ mail archives: http://www.mail-archive.com/freebsd-current@freebsd.org/msg124513.html However, that time it went nowhere due to luck of time/interest. Recently I learned that this patch is actually used. I was requested to integrate it into the head. I'd like to collect your opinions/objections/thoughts to ensure whether there are might be issues preventing from committing it. Index: etc/network.subr =================================================================== --- etc/network.subr (revision 222893) +++ etc/network.subr (working copy) @@ -47,6 +47,7 @@ afexists inet && ipv4_up ${ifn} && cfg=0 afexists inet6 && ipv6_up ${ifn} && cfg=0 afexists ipx && ipx_up ${ifn} && cfg=0 + ifdescr_up ${ifn} && cfg=0 childif_create ${ifn} && cfg=0 return $cfg @@ -69,6 +70,7 @@ afexists inet && ipv4_down ${ifn} && cfg=0 ifconfig_down ${ifn} && cfg=0 ifscript_down ${ifn} && cfg=0 + ifdescr_down ${ifn} && cfg=0 childif_destroy ${ifn} && cfg=0 return $cfg @@ -1220,6 +1222,35 @@ return 0 } +# ifdescr_up if +# Add description to the interface $if. +# +ifdescr_up() +{ + local _if _ifdescr + + _if=$1 + _ifdescr="`get_if_var $_if ifconfig_IF_descr`" + if [ ! -z "$_ifdescr" ]; then + ifconfig $_if descr "$_ifdescr" + fi + + return 0 +} + +# ifdescr_down if +# Remove description from the interface $if. +# +ifdescr_down() +{ + local _if _ifdescr + + _if=$1 + ifconfig $_if -descr + + return 0 +} + # list_net_interfaces type # List all network interfaces. The type of interface returned # can be controlled by the type argument. The type Index: etc/defaults/rc.conf =================================================================== --- etc/defaults/rc.conf (revision 222893) +++ etc/defaults/rc.conf (working copy) @@ -216,6 +216,7 @@ #ifconfig_ed0_ipv6="inet6 2001:db8:1::1 prefixlen 64" # Sample IPv6 addr entry #ifconfig_ed0_alias0="inet6 2001:db8:2::1 prefixlen 64" # Sample IPv6 alias #ifconfig_fxp0_name="net0" # Change interface name from fxp0 to net0. +#ifconfig_fxp0_descr="Uplink to Switch 2" # Label fxp0 interface #vlans_fxp0="101 vlan0" # vlan(4) interfaces for fxp0 device #create_args_vlan0="vlan 102" # vlan tag for vlan0 device #wlans_ath0="wlan0" # wlan(4) interfaces for ath0 device Index: share/man/man5/rc.conf.5 =================================================================== --- share/man/man5/rc.conf.5 (revision 222893) +++ share/man/man5/rc.conf.5 (working copy) @@ -1140,6 +1141,19 @@ variables. .Pp If a +.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _descr +variable is set, the interface would be assigned the description +specified by the variable. +.Pp +To assign a description of +.Dq Uplink to Gigabit Switch 1 +on the interface named +.Li em0 : +.Bd -literal +ifconfig_em0_descr="Uplink to Gigabit Switch 1" +.Ed +.Pp +If a .Va vlans_ Ns Aq Ar interface variable is set, a -- wbr, pluknet From owner-freebsd-rc@FreeBSD.ORG Sat Jun 11 17:55:58 2011 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 5EE84106564A; Sat, 11 Jun 2011 17:55:58 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id BF24A8FC08; Sat, 11 Jun 2011 17:55:57 +0000 (UTC) Received: by wyf23 with SMTP id 23so3587792wyf.13 for ; Sat, 11 Jun 2011 10:55:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=W2+tD6BCy3GVvVITV1hej9WB/hMwagQ74n0oAzjR/q0=; b=U4njXFumgPh+BT6KSd2i2GpBvmisIg4NsSEePjg715jhi9gbBEhRRl1m7+JEFeuWJO ASuuqRqi5q6jzgq0EexA4lCNHu9Us/eFTNg+UUR0wV9/jmSjRvd8hpPTg5GOE8yxN2je HIWyJtMepvsY5r9xoGoHh0vPL3ctYRv/3q7uw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=X6iDoJjwuNFH4wnK9eS1NQYONv1OoE9xevpmPi57Ct7IgdHvZkU6sGqN+qQslkEP4F M1dj9CfsKXWoubXyJ4xCw6VU3d9wVyQ+t6VrB5dKbywfj8nqUCFs9fgxvfr4eqLA5MRr php+sGMiyAzlBeQ0KTaETGs/HfvqAnRfADQnk= MIME-Version: 1.0 Received: by 10.216.221.72 with SMTP id q50mr3252399wep.99.1307813311682; Sat, 11 Jun 2011 10:28:31 -0700 (PDT) Received: by 10.216.39.10 with HTTP; Sat, 11 Jun 2011 10:28:31 -0700 (PDT) Received: by 10.216.39.10 with HTTP; Sat, 11 Jun 2011 10:28:31 -0700 (PDT) In-Reply-To: References: Date: Sat, 11 Jun 2011 12:28:31 -0500 Message-ID: From: Brandon Gooch To: Sergey Kandaurov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Doug Barton , freebsd-rc@freebsd.org, "Alexander V. Chernikov" Subject: Re: [CFR] rc.conf interface description 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: Sat, 11 Jun 2011 17:55:58 -0000 On Jun 11, 2011 11:58 AM, "Sergey Kandaurov" wrote: > > Hello. > > Some time ago there was a discussion about ifconfig descr integration > into rc. That means you can store interface descriptions in rc.conf file, > so that the descriptions survive between system reboots. To achieve it, > you need to place one-line option into rc.conf, e.g. like this: > ifconfig_em0_descr="Uplink to Gigabit Switch 1", or > ifconfig_vlan8_descr="description '1 2 3' vlan 255 vlandev IFACE" > > so after reboot or manual `rc.d/netif restart $iface` invocation, you''ll see > something like this: > vlan8: flags=8843 metric 0 mtu 1500 > description: description '1 2 3' vlan 255 vlandev IFACE > [...] > And rc.d/netif stop $iface removes description from a network interface. > > You can see the previous discussion in -current@ and -rc@ mail archives: > http://www.mail-archive.com/freebsd-current@freebsd.org/msg124513.html > However, that time it went nowhere due to luck of time/interest. > > Recently I learned that this patch is actually used. > I was requested to integrate it into the head. > I'd like to collect your opinions/objections/thoughts to ensure whether > there are might be issues preventing from committing it. > I would like to have this, so +1 from me. [SNIP] From owner-freebsd-rc@FreeBSD.ORG Sat Jun 11 21:16:08 2011 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 61CF8106564A; Sat, 11 Jun 2011 21:16:08 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.vlsi.ee.noda.tus.ac.jp (sekine00.ee.noda.sut.ac.jp [133.31.107.40]) by mx1.freebsd.org (Postfix) with ESMTP id 0C0E58FC13; Sat, 11 Jun 2011 21:16:07 +0000 (UTC) Received: from alph.allbsd.org (p2237-ipbf904funabasi.chiba.ocn.ne.jp [122.26.37.237]) (user=hrs mech=DIGEST-MD5 bits=128) by mail.vlsi.ee.noda.tus.ac.jp (8.14.4/8.14.4) with ESMTP id p5BLFr5b045005 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 12 Jun 2011 06:16:03 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.allbsd.org (8.14.4/8.14.4) with ESMTP id p5BLFoDr035640; Sun, 12 Jun 2011 06:15:52 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sun, 12 Jun 2011 05:56:10 +0900 (JST) Message-Id: <20110612.055610.725598761140735688.hrs@allbsd.org> To: pluknet@gmail.com From: Hiroki Sato In-Reply-To: References: X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Sun_Jun_12_05_56_10_2011_096)--" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.5 (mail.vlsi.ee.noda.tus.ac.jp [133.31.107.40]); Sun, 12 Jun 2011 06:16:04 +0900 (JST) X-Spam-Status: No, score=6.6 required=14.0 tests=BAYES_50, CONTENT_TYPE_PRESENT, QENCPTR1,RCVD_IN_CHINA,RCVD_IN_CHINA_KR,RCVD_IN_PBL,RCVD_IN_RP_RNBL, RCVD_IN_TAIWAN, SPF_SOFTFAIL, X_MAILER_PRESENT autolearn=no version=3.3.1 X-Spam-Level: ****** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.vlsi.ee.noda.tus.ac.jp Cc: dougb@FreeBSD.org, freebsd-rc@FreeBSD.org, melifaro@ipfw.ru Subject: Re: [CFR] rc.conf interface description 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: Sat, 11 Jun 2011 21:16:08 -0000 ----Security_Multipart(Sun_Jun_12_05_56_10_2011_096)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sergey Kandaurov wrote in : pl> Hello. pl> pl> Some time ago there was a discussion about ifconfig descr integration pl> into rc. That means you can store interface descriptions in rc.conf file, pl> so that the descriptions survive between system reboots. To achieve it, pl> you need to place one-line option into rc.conf, e.g. like this: pl> ifconfig_em0_descr="Uplink to Gigabit Switch 1", or pl> ifconfig_vlan8_descr="description '1 2 3' vlan 255 vlandev IFACE" pl> pl> so after reboot or manual `rc.d/netif restart $iface` invocation, you''ll see pl> something like this: pl> vlan8: flags=8843 metric 0 mtu 1500 pl> description: description '1 2 3' vlan 255 vlandev IFACE pl> [...] pl> And rc.d/netif stop $iface removes description from a network interface. pl> pl> You can see the previous discussion in -current@ and -rc@ mail archives: pl> http://www.mail-archive.com/freebsd-current@freebsd.org/msg124513.html pl> However, that time it went nowhere due to luck of time/interest. pl> pl> Recently I learned that this patch is actually used. pl> I was requested to integrate it into the head. pl> I'd like to collect your opinions/objections/thoughts to ensure whether pl> there are might be issues preventing from committing it. I have no strong objection but I am still wondering if we really need to have the dedicated variable for ifconfig descr. Is simply specifying ifconfig_IF="descr FOO" not enough? -- Hiroki ----Security_Multipart(Sun_Jun_12_05_56_10_2011_096)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAk3z1moACgkQTyzT2CeTzy0EygCeO0dc+aRpwWsyLv+T/3+abnho S2MAn1hMc1oEqtccHre1LPCViMucTGTd =b3kG -----END PGP SIGNATURE----- ----Security_Multipart(Sun_Jun_12_05_56_10_2011_096)----