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)----