X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-qe0-f43.google.com (mail-qe0-f43.google.com [209.85.128.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 24A53DC01AB for ; Thu, 1 Aug 2013 16:33:17 +0000 (UTC) Received: by mail-qe0-f43.google.com with SMTP id k5so1264485qej.30 for ; Thu, 01 Aug 2013 09:33:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=RAM1OhWIla0fMAfUcpI62+SHtyPM7ROrmcaWj1kL93o=; b=O0h+saRUOs/pRon2p8m1PLGoHsV56pBiW3+E0NLvgnuZBZI9uWgVoZgboeWELjdu/v O63RRU5+EGL6yuZlhB8w/NLiM8Swq10Il4lLRras11cJ4pgEQGFeKsZipI7z2GwK1ZJc dP6D/R8UPpOmLROvKNg8Ue2+UgW2hA//8P8sAVpPp1isScqyUWEcxirEz+8y948Vm7Zs F/1rEIT9Dr13UhdH0EZz7R13n6of8p7rhUt/RUpjT4rAyMHcK5aPDrXMB3Y7Am8i5+rx JVgiOoQYyuSSyZW5L9/YHa/mVX1TaOzpRa0C/tmPcUqNDfdJ22nyANtDhqu48VgA7Yjf 9E9w== X-Received: by 10.224.165.148 with SMTP id i20mr5455333qay.99.1375374796116; Thu, 01 Aug 2013 09:33:16 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.224.17.79 with HTTP; Thu, 1 Aug 2013 09:32:56 -0700 (PDT) In-Reply-To: <20130801083150.6b41dbab@ncopa-desktop.alpinelinux.org> References: <20130801083150.6b41dbab@ncopa-desktop.alpinelinux.org> From: Alan Messias Date: Thu, 1 Aug 2013 13:32:56 -0300 Message-ID: Subject: Re: [alpine-devel] Feature for NETDOWN=no To: Natanael Copa Cc: Alpine Devel List Content-Type: multipart/alternative; boundary=089e0129565627da7104e2e56601 --089e0129565627da7104e2e56601 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi, I cant understand how useful it is but, in my opinion, Option 3 (with default as 'all') makes more sense. With Option 3 who doesnt want/know this feature will never worry about it. :wq! On Thu, Aug 1, 2013 at 3:31 AM, Natanael Copa wrote= : > Hi, > > I got a feature request for preventing taking down an interface on > shutdown. I wonder how we should implement this. > > Option 1: > > set RC_NETDOWN=3Dno in /etc/rc.conf (or /etc/conf.d/networking) will > prevent taking down all the network interface on shutdown. No support > for preventing individual interfaces - its all or nothing. > > > Option 2: > > Use a blacklist (eg RC_PREVENT_NETDOWN) of interfaces to not take > down. For example: RC_PREVENT_NETDOWN=3D"eth0 eth3" will take down eth1 > and eth2 but not eth0 and eth3. If set to 'all', all interfaces will > be kept up and if set to 'none' all interfaces will be taken down. > Deafult would be 'none'. > > Alternative variable names are: RC_NET_KEEP_UP > > > Option 3: > > Use a whitelist of interfaces to take down on shutdown. For example > RC_NETDOWN=3D"eth1 eth2" will keep eth0 and eth3 up on shutdown. If set > to 'all' then all interfaces will be taken down and if set to 'none', > all interfaces will be kept up on shutdown. Default would be 'all'. > > > What do you prefer? They are all very simple to implement. > > What are good variable names? > > -nc > > > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > > --=20 Atenciosamente, Alan MeC Lacerda Tecn=F3logo em Redes de Computadores CCNA / LPIC-1 / CLA http://alanlacerda.blogspot.com/ "-"-"-"-"-"-" Of course it runs NetBSD "-"-"-"-"-"-" =93Somente ap=F3s a =FAltima =E1rvore ser cortada. Somente ap=F3s o =FAltimo rio ser envenenado. Somente ap=F3s o =FAltimo peixe ser pescado. Somente ent=E3o o homem descobrir=E1 que dinheiro n=E3o pode ser comido!!= =94 - Prov=E9rbio Cree (uma tribo ind=EDgena norte-americana) --089e0129565627da7104e2e56601 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Hi,

I cant understand how useful it is = but, in my opinion,=A0Option 3 (with default as 'all') makes more sense. With Opti= on 3 who doesnt want/know this feature will never worry about it.

:wq= !





--
Atenciosamen= te,
Alan MeC Lacerda
Tecn=F3logo em Redes de Computadores
CCNA / = LPIC-1 / CLA
http://alanlacerda.blogspot.com/
"-"-"-"-"-"-" Of course it runs NetBSD &= quot;-"-"-"-"-"-"

=93Somente ap=F3s a = =FAltima =E1rvore ser cortada.
Somente ap=F3s o =FAltimo rio ser envenen= ado.
Somente ap=F3s o =FAltimo peixe ser pescado.
Somente ent=E3o o homem des= cobrir=E1 que dinheiro n=E3o pode ser comido!!=94 - Prov=E9rbio Cree (uma t= ribo ind=EDgena norte-americana)
--089e0129565627da7104e2e56601-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---