From owner-freebsd-rc@FreeBSD.ORG Mon Feb 24 04:00:32 2014 Return-Path: Delivered-To: rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 32A70FA; Mon, 24 Feb 2014 04:00:32 +0000 (UTC) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A18DB1AE1; Mon, 24 Feb 2014 04:00:31 +0000 (UTC) Received: from alph.d.allbsd.org (p2106-ipbf2009funabasi.chiba.ocn.ne.jp [114.146.169.106]) (authenticated bits=128) by mail.allbsd.org (8.14.5/8.14.5) with ESMTP id s1O4068I030555 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Feb 2014 13:00:17 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.d.allbsd.org (8.14.7/8.14.7) with ESMTP id s1O404vU028145; Mon, 24 Feb 2014 13:00:05 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Mon, 24 Feb 2014 12:59:55 +0900 (JST) Message-Id: <20140224.125955.1719844232391066.hrs@allbsd.org> To: dteske@FreeBSD.org Subject: Re: network.subr _aliasN handling From: Hiroki Sato In-Reply-To: <122101cf2f94$bfd81b30$3f885190$@FreeBSD.org> References: <11c101cf2f6b$e3aee5d0$ab0cb170$@FreeBSD.org> <20140222.141935.520275210006153242.hrs@allbsd.org> <122101cf2f94$bfd81b30$3f885190$@FreeBSD.org> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Mon_Feb_24_12_59_55_2014_506)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.4 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.2.7 (mail.allbsd.org [133.31.130.32]); Mon, 24 Feb 2014 13:00:19 +0900 (JST) X-Spam-Status: No, score=-94.3 required=13.0 tests=CONTENT_TYPE_PRESENT, RCVD_IN_PBL,RCVD_IN_RP_RNBL,SPF_SOFTFAIL,USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on gatekeeper.allbsd.org Cc: jhellenthal@dataix.net, rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 24 Feb 2014 04:00:32 -0000 ----Security_Multipart(Mon_Feb_24_12_59_55_2014_506)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit wrote in <122101cf2f94$bfd81b30$3f885190$@FreeBSD.org>: dt> > +list_vars() dt> > +{ dt> > + set | { while read LINE; do dt> > + var="${LINE%%=*}" dt> > + case "$var" in dt> > + "$LINE"|*[!a-zA-Z0-9_]*) continue ;; dt> > + $1) echo $var dt> > + esac dt> > + done; } dt> > +} dt> > dt> > This can be inconsistent with normalization of $_if in get_if_var() when dt> [.-/+] dt> > is included. dt> > dt> [Devin Teske] dt> dt> I'm not sure what you mean by "when [.-/+] is included". The line of code get_if_var() normalizes IF part in the variable name before eval: | _if=$1 | _punct=". - / +" | for _punct_c in $_punct; do | _if=`ltr ${_if} ${_punct_c} '_'` | done while list_vars ifconfig_${_if}_alias[0-9]\* does not. I think this breaks the following configuration, for example: ifconfig_bge0_name="ext.1" ifconfig_ext_1="inet 192.168.0.1/24" ifconfig_ext_1_alias0="inet 192.168.1.1/24" -- Hiroki ----Security_Multipart(Mon_Feb_24_12_59_55_2014_506)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlMKw7sACgkQTyzT2CeTzy29hQCglSgjtkhnYxDkK7Lp2NskYiia 2JQAoI4XPAEzworkzwA/ogNY0GnOpDZU =Lwi5 -----END PGP SIGNATURE----- ----Security_Multipart(Mon_Feb_24_12_59_55_2014_506)---- From owner-freebsd-rc@FreeBSD.ORG Mon Feb 24 07:00:57 2014 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9FE032BB; Mon, 24 Feb 2014 07:00:57 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 75AE31A81; Mon, 24 Feb 2014 07:00:57 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1O70vfb035692; Mon, 24 Feb 2014 07:00:57 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1O70vTE035691; Mon, 24 Feb 2014 07:00:57 GMT (envelope-from linimon) Date: Mon, 24 Feb 2014 07:00:57 GMT Message-Id: <201402240700.s1O70vTE035691@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: conf/186841: rc.conf ifconfig syntax for binding ip-ranges broken [regression] X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 24 Feb 2014 07:00:57 -0000 Old Synopsis: rc.conf ifconfig syntax for binding ip-ranges broken New Synopsis: rc.conf ifconfig syntax for binding ip-ranges broken [regression] Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Mon Feb 24 07:00:37 UTC 2014 Responsible-Changed-Why: reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=186841 From owner-freebsd-rc@FreeBSD.ORG Mon Feb 24 11:06:56 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D5190B25 for ; Mon, 24 Feb 2014 11:06:56 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B6ED3162E for ; Mon, 24 Feb 2014 11:06:56 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1OB6uVn027674 for ; Mon, 24 Feb 2014 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1OB6ub4027672 for freebsd-rc@FreeBSD.org; Mon, 24 Feb 2014 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 Feb 2014 11:06:56 GMT Message-Id: <201402241106.s1OB6ub4027672@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 Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 24 Feb 2014 11:06:56 -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/186841 rc rc.conf ifconfig syntax for binding ip-ranges broken [ o conf/185429 rc [rc.subr] ${name}_chroot does not work when there's a o conf/184355 rc [rc.firewall] [patch] ipfw failed to restart if tables o conf/181625 rc [patch] add rc.d/ script for freebsd-update o conf/180183 rc [rc.d] rc.d allows scripts without rcvar set to start o conf/179828 rc [rc.d] [PATCH] rc.d/syslogd link socket to /dev/log fa o conf/177217 rc [patch] rc.d/ddb -- squelch warning when ddb_enable=ye o conf/177089 rc ntpd startup script does not work well o conf/176347 rc [rc.conf] [patch] Add support for firewall deny lists o conf/176181 rc [rc.subr] rc.subr emitting warnings for non-defined xx o conf/175311 rc [patch] add "dump" fs type support to rc.d/dumpon o conf/175105 rc /etc/rc.d/* and more: syntax 'return_boolean_cmd && do o conf/175079 rc [rc.subr] [patch] rc.subr poorly handles recursive run o bin/173153 rc [rc.d] [patch] $netwait_ip should be more parallel o conf/172787 rc [rc.conf] FreeBSD 9.x broken alias syntax on vlan inte o conf/172532 rc [rc] [patch] service routing restart always fails o conf/169047 rc [rc.subr] [patch] /etc/rc.subr not checking some scrip p bin/168544 rc [patch] [rc]: addswap-mounted swapfiles cause panic on o conf/167566 rc [rc.d] [patch] ipdivert module loading vs. ipfw rc.d o o conf/166484 rc [rc] [patch] rc.initdiskless patch for different major o conf/165769 rc [rc][jai][ipv6] IPv6 Initialization on external iface o conf/164393 rc [rc.d] restarting netif with static addresses doesn't o conf/163508 rc [rc.subr] [patch] Add "enable" and "disable" commands o conf/163488 rc Confusing explanation in defaults/rc.conf o conf/163321 rc [rc.conf] [patch] allow _fib syntax in rc.conf o conf/162642 rc .sh scripts in /usr/local/etc/rc.d get executed, not s o conf/161107 rc [rc] stop_boot in mountcritlocal usage is incorrect. o conf/160403 rc [rc] [patch] concurrently running rc-scripts during bo o conf/160240 rc rc.d/mdconfig and mdconfig2 should autoset $_type to v o conf/159846 rc [rc.conf] routing_stop_inet6() logic doesn't handle ip o conf/158557 rc [patch] /etc/rc.d/pf broken messages o conf/158127 rc [patch] remount_optional option in rc.initdiskless doe 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/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/145399 rc [patch] rc.d scripts are unable to start/stop programs o conf/145009 rc [patch] rc.subr(8): rc.conf should allow mac label con 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 a 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/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip p conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b 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/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped 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 a 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 f conf/118255 rc savecore never finding kernel core dumps (rcorder prob f conf/117935 rc [patch] ppp fails to start at boot because of missing f conf/113915 rc [ndis] [patch] ndis wireless driver fails to associate 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 f conf/105689 rc [ppp] [request] syslogd starts too late at boot f conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f 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/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d f 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 a 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 a conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f conf/56934 rc [patch] rc.firewall rules for natd expect an interface f conf/13775 rc multi-user boot may hang in NIS environment 93 problems total. From owner-freebsd-rc@FreeBSD.ORG Thu Feb 27 17:04:34 2014 Return-Path: Delivered-To: rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 054B78F0; Thu, 27 Feb 2014 17:04:34 +0000 (UTC) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BF01F1C6F; Thu, 27 Feb 2014 17:04:33 +0000 (UTC) Received: from smarthost.fisglobal.com ([10.132.206.192]) by ltcfislmsgpa03.fnfis.com (8.14.5/8.14.5) with ESMTP id s1RH4L3Z012594 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 27 Feb 2014 11:04:21 -0600 Received: from THEMADHATTER (10.242.181.54) by smarthost.fisglobal.com (10.132.206.192) with Microsoft SMTP Server id 14.3.174.1; Thu, 27 Feb 2014 11:04:18 -0600 From: Sender: Devin Teske To: "'Hiroki Sato'" References: <11c101cf2f6b$e3aee5d0$ab0cb170$@FreeBSD.org> <20140222.141935.520275210006153242.hrs@allbsd.org> <122101cf2f94$bfd81b30$3f885190$@FreeBSD.org> <20140224.125955.1719844232391066.hrs@allbsd.org> In-Reply-To: <20140224.125955.1719844232391066.hrs@allbsd.org> Subject: RE: network.subr _aliasN handling Date: Thu, 27 Feb 2014 09:04:16 -0800 Message-ID: <156001cf33dd$f3b5a330$db20e990$@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_1561_01CF339A.E592D860" X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQHttkVtKbJQZ7hszActUMJnbew5kAHwlHOYAhb5coEB8/98xZpXwQnQ Content-Language: en-us X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87, 1.0.14, 0.0.0000 definitions=2014-02-27_06:2014-02-27,2014-02-27,1970-01-01 signatures=0 Cc: jhellenthal@dataix.net, rc@FreeBSD.org, dteske@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 27 Feb 2014 17:04:34 -0000 ------=_NextPart_000_1561_01CF339A.E592D860 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > -----Original Message----- > From: Hiroki Sato [mailto:hrs@FreeBSD.org] > Sent: Sunday, February 23, 2014 8:00 PM > To: dteske@FreeBSD.org > Cc: jhellenthal@dataix.net; lists@jnielsen.net; rc@FreeBSD.org > Subject: Re: network.subr _aliasN handling > > wrote > in <122101cf2f94$bfd81b30$3f885190$@FreeBSD.org>: > > dt> > +list_vars() > dt> > +{ > dt> > + set | { while read LINE; do > dt> > + var="${LINE%%=*}" > dt> > + case "$var" in > dt> > + "$LINE"|*[!a-zA-Z0-9_]*) continue ;; > dt> > + $1) echo $var > dt> > + esac > dt> > + done; } > dt> > +} > dt> > > dt> > This can be inconsistent with normalization of $_if in get_if_var() when > dt> [.-/+] > dt> > is included. > dt> > > dt> [Devin Teske] > dt> > dt> I'm not sure what you mean by "when [.-/+] is included". The line of code > > get_if_var() normalizes IF part in the variable name before eval: > > | _if=$1 > | _punct=". - / +" > | for _punct_c in $_punct; do > | _if=`ltr ${_if} ${_punct_c} '_'` > | done > > while list_vars ifconfig_${_if}_alias[0-9]\* does not. > > I think this breaks the following configuration, for example: > > ifconfig_bge0_name="ext.1" > ifconfig_ext_1="inet 192.168.0.1/24" > ifconfig_ext_1_alias0="inet 192.168.1.1/24" > Thanks! Didn't know about that feature. I've attached an updated patch for review which takes this normalization into account (and does it more efficiently than the get_if_var function). NB: Calling "ltr" in a sub-shell to catch the output on stdout just to assign back to the original string is an unnecessary use of sub-shells. See attached patch for a recipe that doesn't fork or use sub-shells to replace the _punct characters in $_if with the underscore `_' (thus sanitizing the name before extending it to list_vars as a pattern (containing glob(7) characters). -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ------=_NextPart_000_1561_01CF339A.E592D860 Content-Type: text/plain; name="patch.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="patch.txt" Index: etc/network.subr=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= --- etc/network.subr (revision 255712)=0A= +++ etc/network.subr (working copy)=0A= @@ -1019,6 +1019,7 @@ ifalias_af_common_handler()=0A= ifalias_af_common()=0A= {=0A= local _ret _if _af _action alias ifconfig_args _aliasn _c _tmpargs _iaf=0A= + local _punct=3D".-/+"=0A= =0A= _ret=3D1=0A= _aliasn=3D=0A= @@ -1026,10 +1027,16 @@ ifalias_af_common()=0A= _af=3D$2=0A= _action=3D$3=0A= =0A= + # Normalize $_if before using it in a pattern to list_vars()=0A= + while case "$_if" in *[$_punct]*) true;; *) false; esac; do=0A= + _if=3D"${_if%%[$_punct]*}_${_if#*[$_punct]}"=0A= + done=0A= +=0A= # ifconfig_IF_aliasN which starts with $_af=0A= - alias=3D0=0A= - while : ; do=0A= - ifconfig_args=3D`get_if_var $_if ifconfig_IF_alias${alias}`=0A= + for alias in `list_vars ifconfig_${_if}_alias[0-9]\* |=0A= + sort -nk1.$((9+${#_if}+7))`=0A= + do=0A= + eval ifconfig_args=3D\"\$$alias\"=0A= _iaf=3D=0A= case $ifconfig_args in=0A= inet\ *) _iaf=3Dinet ;;=0A= @@ -1051,15 +1058,15 @@ ifalias_af_common()=0A= warn "\$ifconfig_${_if}_alias${alias} needs " \=0A= "\"inet\" keyword for an IPv4 address."=0A= esac=0A= - alias=3D$(($alias + 1))=0A= done=0A= =0A= # backward compatibility: ipv6_ifconfig_IF_aliasN.=0A= case $_af in=0A= inet6)=0A= - alias=3D0=0A= - while : ; do=0A= - ifconfig_args=3D`get_if_var $_if ipv6_ifconfig_IF_alias${alias}`=0A= + for alias in `list_vars ipv6_ifconfig_${_if}_alias[0-9]\* |=0A= + sort -nk1.$((14+${#_if}+7))`=0A= + do=0A= + eval ifconfig_args=3D\"\$$alias\"=0A= case ${_action}:"${ifconfig_args}" in=0A= *:"")=0A= break=0A= @@ -1071,7 +1078,6 @@ ifalias_af_common()=0A= "instead."=0A= ;;=0A= esac=0A= - alias=3D$(($alias + 1))=0A= done=0A= esac=0A= =0A= Index: etc/rc.subr=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= --- etc/rc.subr (revision 255712)=0A= +++ etc/rc.subr (working copy)=0A= @@ -54,6 +54,20 @@ JID=3D`$PS -p $$ -o jid=3D`=0A= # functions=0A= # ---------=0A= =0A= +# list_vars pattern=0A= +# List vars matching pattern.=0A= +# =0A= +list_vars()=0A= +{=0A= + set | { while read LINE; do=0A= + var=3D"${LINE%%=3D*}"=0A= + case "$var" in=0A= + "$LINE"|*[!a-zA-Z0-9_]*) continue ;;=0A= + $1) echo $var=0A= + esac=0A= + done; }=0A= +}=0A= +=0A= # set_rcvar_obsolete oldvar [newvar] [msg]=0A= # Define obsolete variable.=0A= # Global variable $rcvars_obsolete is used.=0A= ------=_NextPart_000_1561_01CF339A.E592D860-- From owner-freebsd-rc@FreeBSD.ORG Mon Mar 3 11:06:52 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 13C4AECA for ; Mon, 3 Mar 2014 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EA8C6953 for ; Mon, 3 Mar 2014 11:06:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s23B6p8d008642 for ; Mon, 3 Mar 2014 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s23B6p15008640 for freebsd-rc@FreeBSD.org; Mon, 3 Mar 2014 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Mar 2014 11:06:51 GMT Message-Id: <201403031106.s23B6p15008640@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 Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 03 Mar 2014 11:06:52 -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/186841 rc rc.conf ifconfig syntax for binding ip-ranges broken [ o conf/185429 rc [rc.subr] ${name}_chroot does not work when there's a o conf/184355 rc [rc.firewall] [patch] ipfw failed to restart if tables o conf/181625 rc [patch] add rc.d/ script for freebsd-update o conf/180183 rc [rc.d] rc.d allows scripts without rcvar set to start o conf/179828 rc [rc.d] [PATCH] rc.d/syslogd link socket to /dev/log fa o conf/177217 rc [patch] rc.d/ddb -- squelch warning when ddb_enable=ye o conf/177089 rc ntpd startup script does not work well o conf/176347 rc [rc.conf] [patch] Add support for firewall deny lists o conf/176181 rc [rc.subr] rc.subr emitting warnings for non-defined xx o conf/175311 rc [patch] add "dump" fs type support to rc.d/dumpon o conf/175105 rc /etc/rc.d/* and more: syntax 'return_boolean_cmd && do o conf/175079 rc [rc.subr] [patch] rc.subr poorly handles recursive run o bin/173153 rc [rc.d] [patch] $netwait_ip should be more parallel o conf/172787 rc [rc.conf] FreeBSD 9.x broken alias syntax on vlan inte o conf/172532 rc [rc] [patch] service routing restart always fails o conf/169047 rc [rc.subr] [patch] /etc/rc.subr not checking some scrip p bin/168544 rc [patch] [rc]: addswap-mounted swapfiles cause panic on o conf/167566 rc [rc.d] [patch] ipdivert module loading vs. ipfw rc.d o o conf/166484 rc [rc] [patch] rc.initdiskless patch for different major o conf/165769 rc [rc][jai][ipv6] IPv6 Initialization on external iface o conf/164393 rc [rc.d] restarting netif with static addresses doesn't o conf/163508 rc [rc.subr] [patch] Add "enable" and "disable" commands o conf/163488 rc Confusing explanation in defaults/rc.conf o conf/163321 rc [rc.conf] [patch] allow _fib syntax in rc.conf o conf/162642 rc .sh scripts in /usr/local/etc/rc.d get executed, not s o conf/161107 rc [rc] stop_boot in mountcritlocal usage is incorrect. o conf/160403 rc [rc] [patch] concurrently running rc-scripts during bo o conf/160240 rc rc.d/mdconfig and mdconfig2 should autoset $_type to v o conf/159846 rc [rc.conf] routing_stop_inet6() logic doesn't handle ip o conf/158557 rc [patch] /etc/rc.d/pf broken messages o conf/158127 rc [patch] remount_optional option in rc.initdiskless doe 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/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/145399 rc [patch] rc.d scripts are unable to start/stop programs o conf/145009 rc [patch] rc.subr(8): rc.conf should allow mac label con 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 a 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/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip p conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b 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/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped 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 a 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 f conf/118255 rc savecore never finding kernel core dumps (rcorder prob f conf/117935 rc [patch] ppp fails to start at boot because of missing f conf/113915 rc [ndis] [patch] ndis wireless driver fails to associate 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 f conf/105689 rc [ppp] [request] syslogd starts too late at boot f conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f 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/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d f 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 a 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 a conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f conf/56934 rc [patch] rc.firewall rules for natd expect an interface f conf/13775 rc multi-user boot may hang in NIS environment 93 problems total. From owner-freebsd-rc@FreeBSD.ORG Thu Mar 6 13:11:45 2014 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3200F324; Thu, 6 Mar 2014 13:11:45 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 07881B5; Thu, 6 Mar 2014 13:11:45 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s26DBiNe079347; Thu, 6 Mar 2014 13:11:44 GMT (envelope-from feld@freefall.freebsd.org) Received: (from feld@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s26DBiZF079346; Thu, 6 Mar 2014 13:11:44 GMT (envelope-from feld) Date: Thu, 6 Mar 2014 13:11:44 GMT Message-Id: <201403061311.s26DBiZF079346@freefall.freebsd.org> To: feld@feld.me, feld@FreeBSD.org, freebsd-rc@FreeBSD.org From: feld@FreeBSD.org Subject: Re: conf/172787: [rc.conf] FreeBSD 9.x broken alias syntax on vlan interfaces X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 06 Mar 2014 13:11:45 -0000 Synopsis: [rc.conf] FreeBSD 9.x broken alias syntax on vlan interfaces State-Changed-From-To: open->closed State-Changed-By: feld State-Changed-When: Thu Mar 6 13:11:44 UTC 2014 State-Changed-Why: Have not been able to reproduce on newer releases. http://www.freebsd.org/cgi/query-pr.cgi?pr=172787 From owner-freebsd-rc@FreeBSD.ORG Thu Mar 6 23:27:01 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B463D1BF; Thu, 6 Mar 2014 23:27:01 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 51ABEAC6; Thu, 6 Mar 2014 23:26:58 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1WLhgm-000PoA-5v; Thu, 06 Mar 2014 23:26:56 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id s26NQrE3051291; Thu, 6 Mar 2014 16:26:53 -0700 (MST) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/owmJLhMAGtPjedeQTb5Im Subject: Teach mdmfs about tmpfs and use tmpfs in rc scripts From: Ian Lepore To: freebsd-arch , freebsd-rc@FreeBSD.org Content-Type: multipart/mixed; boundary="=-Cvk3LbT8clLtJ22ceTxC" Date: Thu, 06 Mar 2014 16:26:53 -0700 Message-ID: <1394148413.1149.348.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 06 Mar 2014 23:27:01 -0000 --=-Cvk3LbT8clLtJ22ceTxC Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit A recent discussion on arm@ about using tmpfs instead of md(4) spurred me to do something I've been wanting to do for a while: enhance mdmfs so that it can configure tmpfs as well as md+ffs, and update the rc scripts to make use the the feature. Attached are diffs to do this (man page updates not in there yet). mdmfs recognizes two new values for the md-device argument: tmpfs and auto. If you request 'tmpfs' you get it, or it fails if tmpfs is not present in the kernel. If you request 'auto' it will use tmpfs if it's present in the kernel and the other options don't include multilabel MAC (which tmpfs doesn't handle, as near as I can tell). Other options which have no meaning with tmpfs (such as setting the number of inodes) are silently ignored. The rc scripts are updated to add a new mfs_type knob, which defaults to "auto". This in effect automatically updates folks to use tmpfs instead of md as long as it's present and they aren't using the one option that forbids it (multilabel MAC). Thoughts? -- Ian --=-Cvk3LbT8clLtJ22ceTxC Content-Disposition: inline; filename="mdmfs_tmpfs.diff" Content-Type: text/x-patch; name="mdmfs_tmpfs.diff"; charset="us-ascii" Content-Transfer-Encoding: 7bit Index: sys/fs/tmpfs/tmpfs_vfsops.c =================================================================== --- sys/fs/tmpfs/tmpfs_vfsops.c (revision 262759) +++ sys/fs/tmpfs/tmpfs_vfsops.c (working copy) @@ -60,6 +60,8 @@ __FBSDID("$FreeBSD$"); #include +FEATURE(tmpfs, "Efficient memory file system"); + /* * Default permission for root node */ Index: sbin/mdmfs/mdmfs.c =================================================================== --- sbin/mdmfs/mdmfs.c (revision 262759) +++ sbin/mdmfs/mdmfs.c (working copy) @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include typedef enum { false, true } bool; @@ -78,7 +79,8 @@ static void debugprintf(const char *, ...) __prin static void do_mdconfig_attach(const char *, const enum md_types); static void do_mdconfig_attach_au(const char *, const enum md_types); static void do_mdconfig_detach(void); -static void do_mount(const char *, const char *); +static void do_mount_md(const char *, const char *); +static void do_mount_tmpfs(const char *, const char *); static void do_mtptsetup(const char *, struct mtpt_info *); static void do_newfs(const char *); static void extract_ugid(const char *, struct mtpt_info *); @@ -90,11 +92,11 @@ main(int argc, char **argv) { struct mtpt_info mi; /* Mountpoint info. */ char *mdconfig_arg, *newfs_arg, /* Args to helper programs. */ - *mount_arg; + *mount_arg, *size_arg; enum md_types mdtype; /* The type of our memory disk. */ - bool have_mdtype; + bool have_mdtype, mlmac; bool detach, softdep, autounit, newfs; - char *mtpoint, *unitstr; + const char *mtpoint, *unitstr; char *p; int ch; void *set; @@ -105,6 +107,7 @@ main(int argc, char **argv) detach = true; softdep = true; autounit = false; + mlmac = false; newfs = true; have_mdtype = false; mdtype = MD_SWAP; @@ -119,6 +122,7 @@ main(int argc, char **argv) mdconfig_arg = strdup(""); newfs_arg = strdup(""); mount_arg = strdup(""); + size_arg = NULL; /* If we were started as mount_mfs or mfs, imply -C. */ if (strcmp(getprogname(), "mount_mfs") == 0 || @@ -175,6 +179,7 @@ main(int argc, char **argv) loudsubs = true; break; case 'l': + mlmac = true; argappend(&newfs_arg, "-l"); break; case 'M': @@ -213,7 +218,7 @@ main(int argc, char **argv) softdep = false; break; case 's': - argappend(&mdconfig_arg, "-s %s", optarg); + size_arg = optarg; break; case 't': argappend(&newfs_arg, "-t"); @@ -239,42 +244,64 @@ main(int argc, char **argv) if (argc < 2) usage(); - /* Derive 'unit' (global). */ + /* + * Based on the command line 'md-device' either mount a tmpfs filesystem + * or configure the md device then format and mount a filesystem on it. + * If the device is "auto" use tmpfs if it is available and there is no + * request for multilabel MAC on the filesystem. + */ unitstr = argv[0]; - if (strncmp(unitstr, "/dev/", 5) == 0) - unitstr += 5; - if (strncmp(unitstr, mdname, mdnamelen) == 0) - unitstr += mdnamelen; - if (!isdigit(*unitstr)) { - autounit = true; - unit = -1; - mdsuffix = unitstr; + mtpoint = argv[1]; + + if (strcmp(unitstr, "auto") == 0) { + if (feature_present("tmpfs") && !mlmac) + unitstr = "tmpfs"; + else + unitstr = "md"; + } + + if (strcmp(unitstr, "tmpfs") == 0) { + if (size_arg != NULL) + argappend(&mount_arg, "-o size=%s", size_arg); + do_mount_tmpfs(mount_arg, mtpoint); } else { - ul = strtoul(unitstr, &p, 10); - if (ul == ULONG_MAX) - errx(1, "bad device unit: %s", unitstr); - unit = ul; - mdsuffix = p; /* can be empty */ + if (size_arg != NULL) + argappend(&mdconfig_arg, "-s %s", size_arg); + if (strncmp(unitstr, "/dev/", 5) == 0) + unitstr += 5; + if (strncmp(unitstr, mdname, mdnamelen) == 0) + unitstr += mdnamelen; + if (!isdigit(*unitstr)) { + autounit = true; + unit = -1; + mdsuffix = unitstr; + } else { + ul = strtoul(unitstr, &p, 10); + if (ul == ULONG_MAX) + errx(1, "bad device unit: %s", unitstr); + unit = ul; + mdsuffix = p; /* can be empty */ + } + + if (!have_mdtype) + mdtype = MD_SWAP; + if (softdep) + argappend(&newfs_arg, "-U"); + if (mdtype != MD_VNODE && !newfs) + errx(1, "-P requires a vnode-backed disk"); + + /* Do the work. */ + if (detach && !autounit) + do_mdconfig_detach(); + if (autounit) + do_mdconfig_attach_au(mdconfig_arg, mdtype); + else + do_mdconfig_attach(mdconfig_arg, mdtype); + if (newfs) + do_newfs(newfs_arg); + do_mount_md(mount_arg, mtpoint); } - mtpoint = argv[1]; - if (!have_mdtype) - mdtype = MD_SWAP; - if (softdep) - argappend(&newfs_arg, "-U"); - if (mdtype != MD_VNODE && !newfs) - errx(1, "-P requires a vnode-backed disk"); - - /* Do the work. */ - if (detach && !autounit) - do_mdconfig_detach(); - if (autounit) - do_mdconfig_attach_au(mdconfig_arg, mdtype); - else - do_mdconfig_attach(mdconfig_arg, mdtype); - if (newfs) - do_newfs(newfs_arg); - do_mount(mount_arg, mtpoint); do_mtptsetup(mtpoint, &mi); return (0); @@ -431,7 +458,7 @@ do_mdconfig_detach(void) * Mount the configured memory disk. */ static void -do_mount(const char *args, const char *mtpoint) +do_mount_md(const char *args, const char *mtpoint) { int rv; @@ -442,6 +469,19 @@ static void } /* + * Mount the configured tmpfs. + */ +static void +do_mount_tmpfs(const char *args, const char *mtpoint) +{ + int rv; + + rv = run(NULL, "%s -t tmpfs %s tmp %s", _PATH_MOUNT, args, mtpoint); + if (rv) + errx(1, "mount exited with error code %d", rv); +} + +/* * Various configuration of the mountpoint. Mostly, enact 'mip'. */ static void Index: etc/defaults/rc.conf =================================================================== --- etc/defaults/rc.conf (revision 262759) +++ etc/defaults/rc.conf (working copy) @@ -51,6 +51,7 @@ tmpmfs_flags="-S" # Extra mdmfs options for the mf varmfs="AUTO" # Set to YES to always create an mfs /var, NO to never varsize="32m" # Size of mfs /var if created varmfs_flags="-S" # Extra mount options for the mfs /var +mfs_type="auto" # 'md', 'tmpfs', or "auto" to choose tmpfs when available populate_var="AUTO" # Set to YES to always (re)populate /var, NO to never cleanvar_enable="YES" # Clean the /var directory local_startup="/usr/local/etc/rc.d" # startup script dirs. Index: etc/rc.subr =================================================================== --- etc/rc.subr (revision 262759) +++ etc/rc.subr (working copy) @@ -1474,7 +1474,7 @@ mount_md() if [ -n "$3" ]; then flags="$3" fi - /sbin/mdmfs $flags -s $1 md $2 + /sbin/mdmfs $flags -s $1 ${mfs_type} $2 } # Code common to scripts that need to load a kernel module Index: etc/rc.initdiskless =================================================================== --- etc/rc.initdiskless (revision 262759) +++ etc/rc.initdiskless (working copy) @@ -198,7 +198,7 @@ handle_remount() { # $1 = mount point # Create a generic memory disk # mount_md() { - /sbin/mdmfs -S -i 4096 -s $1 -M md $2 + /sbin/mdmfs -S -i 4096 -s $1 -M auto $2 } # Create the memory filesystem if it has not already been created --=-Cvk3LbT8clLtJ22ceTxC-- From owner-freebsd-rc@FreeBSD.ORG Fri Mar 7 04:52:38 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 795D415F; Fri, 7 Mar 2014 04:52:38 +0000 (UTC) Received: from mail-oa0-x22c.google.com (mail-oa0-x22c.google.com [IPv6:2607:f8b0:4003:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2CC36A0C; Fri, 7 Mar 2014 04:52:38 +0000 (UTC) Received: by mail-oa0-f44.google.com with SMTP id n16so3634621oag.17 for ; Thu, 06 Mar 2014 20:52:37 -0800 (PST) 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=pQh8V+wqyyb/EQR12a5YHPsDqjtKDfUuVcIabMQxhUk=; b=rmiLYKY3Lcq/zniDG0bhdxlKvDvmdJFp+Lm++6H8PsbbGXIB0r/el7cotmd8RwqiTV LaF4eVjV/ZniUSDuAAtAQ/8RF3dEOvC+1W5BCHHvx0233g6f5bE9c5eAbRMZXvXUhG7W eWRLFYB1QxJsxja6q9fAuf+VNS4oPRGroGg0qSd0a+canxH8JmtgNuqSlIGJsAI+/U5c Tg12XzGGpMCY2taJwkbIQnSbrM0zsLewc7FSpW7Np9ientS9VN3gpypZzYYaW/KtmPXw fZMy9Y2Mygj1d+V1CzZUrcvcg9gJwQrY9JTx5fgzQKuJHU/YueCmhj2JIA1RttR5s6QE kXgQ== X-Received: by 10.182.230.135 with SMTP id sy7mr13454675obc.24.1394167957612; Thu, 06 Mar 2014 20:52:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.80.194 with HTTP; Thu, 6 Mar 2014 20:52:07 -0800 (PST) In-Reply-To: <1394148413.1149.348.camel@revolution.hippie.lan> References: <1394148413.1149.348.camel@revolution.hippie.lan> From: Jia-Shiun Li Date: Fri, 7 Mar 2014 12:52:07 +0800 Message-ID: Subject: Re: Teach mdmfs about tmpfs and use tmpfs in rc scripts To: Ian Lepore Content-Type: text/plain; charset=UTF-8 Cc: freebsd-rc@freebsd.org, freebsd-arch X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 07 Mar 2014 04:52:38 -0000 On Fri, Mar 7, 2014 at 7:26 AM, Ian Lepore wrote: > > Thoughts? > Is it ok to default mdmfs to tmpfs behavior? Not sure if anyone would like to have explicit allocation e.g. failing early on insufficient memory, rather than failing on write. If so then at least 'md' should be in the options in addition to 'auto' and 'tmpfs' when both md and tmpfs are available from kernel. -Jia-Shiun. From owner-freebsd-rc@FreeBSD.ORG Fri Mar 7 13:37:01 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C2CC4E99; Fri, 7 Mar 2014 13:37:01 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9534DF9B; Fri, 7 Mar 2014 13:37:01 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1WLuxQ-00026e-3e; Fri, 07 Mar 2014 13:37:00 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id s27DauOA052131; Fri, 7 Mar 2014 06:36:56 -0700 (MST) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19mnmnJIAT0VsBzl0Q+d/i3 Subject: Re: Teach mdmfs about tmpfs and use tmpfs in rc scripts From: Ian Lepore To: Jia-Shiun Li In-Reply-To: References: <1394148413.1149.348.camel@revolution.hippie.lan> Content-Type: text/plain; charset="us-ascii" Date: Fri, 07 Mar 2014 06:36:56 -0700 Message-ID: <1394199416.1149.367.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org, freebsd-arch X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 07 Mar 2014 13:37:01 -0000 On Fri, 2014-03-07 at 12:52 +0800, Jia-Shiun Li wrote: > On Fri, Mar 7, 2014 at 7:26 AM, Ian Lepore wrote: > > > > Thoughts? > > > > Is it ok to default mdmfs to tmpfs behavior? Not sure if anyone would > like to have explicit allocation e.g. failing early on insufficient memory, > rather than failing on write. If so then at least 'md' should be in the > options in addition to 'auto' and 'tmpfs' when both md and tmpfs are > available from kernel. > I'm not sure what you mean. If the device on the command line is md the program behaves as it always has. If you ask for 'auto' you get the "best" memory filesystem available for some definition of "best". If you don't trust someone else's definition of best (like you need failure at allocation time) then you choose the one that behaves the way you like. -- Ian From owner-freebsd-rc@FreeBSD.ORG Fri Mar 7 15:19:53 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36F79B84; Fri, 7 Mar 2014 15:19:53 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AE836B4B; Fri, 7 Mar 2014 15:19:52 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id s27FJj4Q057002; Fri, 7 Mar 2014 17:19:45 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua s27FJj4Q057002 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id s27FJjWe057001; Fri, 7 Mar 2014 17:19:45 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 7 Mar 2014 17:19:45 +0200 From: Konstantin Belousov To: Ian Lepore Subject: Re: Teach mdmfs about tmpfs and use tmpfs in rc scripts Message-ID: <20140307151945.GK24664@kib.kiev.ua> References: <1394148413.1149.348.camel@revolution.hippie.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SpYKH75o2aPywVKk" Content-Disposition: inline In-Reply-To: <1394148413.1149.348.camel@revolution.hippie.lan> User-Agent: Mutt/1.5.22 (2013-10-16) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-rc@FreeBSD.org, freebsd-arch X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 07 Mar 2014 15:19:53 -0000 --SpYKH75o2aPywVKk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 06, 2014 at 04:26:53PM -0700, Ian Lepore wrote: > A recent discussion on arm@ about using tmpfs instead of md(4) spurred > me to do something I've been wanting to do for a while: enhance mdmfs > so that it can configure tmpfs as well as md+ffs, and update the rc > scripts to make use the the feature. >=20 > Attached are diffs to do this (man page updates not in there yet). >=20 > mdmfs recognizes two new values for the md-device argument: tmpfs and > auto. If you request 'tmpfs' you get it, or it fails if tmpfs is not > present in the kernel. If you request 'auto' it will use tmpfs if it's > present in the kernel and the other options don't include multilabel MAC > (which tmpfs doesn't handle, as near as I can tell). Other options > which have no meaning with tmpfs (such as setting the number of inodes) > are silently ignored. >=20 > The rc scripts are updated to add a new mfs_type knob, which defaults to > "auto". This in effect automatically updates folks to use tmpfs instead > of md as long as it's present and they aren't using the one option that > forbids it (multilabel MAC). >=20 > Thoughts? >=20 > -- Ian >=20 > Index: sys/fs/tmpfs/tmpfs_vfsops.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- sys/fs/tmpfs/tmpfs_vfsops.c (revision 262759) > +++ sys/fs/tmpfs/tmpfs_vfsops.c (working copy) > @@ -60,6 +60,8 @@ __FBSDID("$FreeBSD$"); > =20 > #include > =20 > +FEATURE(tmpfs, "Efficient memory file system"); > + The existing way to check for the presence of the filesystem module in the kernel is sysctl vfs.conflist or getvfsbyname(3) wrapper around it. I suspect that the interface is unknown because the information about fs module presence in kernel is pretty much useless: nmount(2) syscall auto-loads required fs module if not already present. That said, the feature for tmpfs is redundand and should not be added. I do not see adding the ability to issue 'mount -t tmpfs ...' command to mdmfs(8) as right approach. The helper is already complicated and its single-purpose functionality of newfs-ing md(4) IMO should be left as is. If you want to to have /var on tmpfs, why not change rc.d/var ? It would be much simpler, since the change would be one-liner for mount_md line. --SpYKH75o2aPywVKk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJTGeOQAAoJEJDCuSvBvK1BTAIP/139L6LJqJHByfKHXdILpHkt rFoP+tidt0Q9gXbko5wQLCSgujLPTe/y0KF1nz46EyJanqf3iwmz+CHKXfdOxBcy Gefrypx3WAHCLkgAOIIyFecTFaTh7TKMy1KTtpstj4a3pIKKwgJUd0RC7xZQB8it 6tM7DDIlDxP4Sribio0sSgjzxDY0pTQyKRq5gDz/eV2f3/vxBSm91O4ew+0tZTXy 0Cy1mqPlwZ5zC3Oh3XufSa5SPz5c22LCN0Z29gizhnDkreeGWZO3THPMWU8kZ31u jb+VegWA5k4uAkcmAbJNvk4fRTqAal8pBSLhIbowFz4Bppgm8kIOTEIR75R+Rccz MW6V9yt316+ngzuUwHNlB1lgPclXCv/beskbLZQ3e3uSaCU8pNc1pxNWmJtTL7p7 dfugxnRpAdizoYfMQsABf1fjQH8oQ08PIJsGFqdP2gP9AHUgtzI7p3Yg2XQiaaaJ unhyrYMEezrTt2bc9gmOAqDiOX6GepLjEn6lR0wq9kNXYswfZBHjvdafvivTaWaq oLLqjKiXNHagFqfPQtIb5WPBRQjPtCWCw1nTBiY7O8FR+T5HRiNqlgvwZ9z4OEqI TeemIfL39l+7n7IT8cHlRPyOeEeBfLMQqBLkv7WyvkNcvDdR7iCtbyO2CDXkhV60 qMhfOZBqh7rEeyCz4bBh =y87W -----END PGP SIGNATURE----- --SpYKH75o2aPywVKk-- From owner-freebsd-rc@FreeBSD.ORG Sat Mar 8 14:24:38 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 46E858B8; Sat, 8 Mar 2014 14:24:38 +0000 (UTC) Received: from mail-oa0-x231.google.com (mail-oa0-x231.google.com [IPv6:2607:f8b0:4003:c02::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EBC4882C; Sat, 8 Mar 2014 14:24:37 +0000 (UTC) Received: by mail-oa0-f49.google.com with SMTP id g12so5339687oah.36 for ; Sat, 08 Mar 2014 06:24:37 -0800 (PST) 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=s5CFWtJqPqzYLDANsAuTSQV9pW5Ds/mR2DACmLBZ35U=; b=SqCRyUbx7DqZesLdZRi+ZAlLn39M3+LeYIGPONmZU/ZPP3KOv1XgZoNveBXPYMDowE d9rxrPNQU48FZlMZDkRXjjHZUdY8c7h6zKiuTY2xsz4cS2KHa5Yu7CLdFC5eoznBezPA AwNRQcxLlufKoTem4S8y86cTcSKlwy0nkk3QfUxkKLCsf7Y80IcpE8SMRlSxVzBka3k4 AFou+ahoBywFepxxp+Sxsnwg9jfARnqecW6gdaiQtkpj3fkg+tfzgGOCH/5tgn75Zc8k Vu6lkLtOVeinGalrT+Pvt+ygJZQmGIrQ3JD2IWR6omoB1OIVJHoWXoTadLdeOuh+FoEV iLxA== X-Received: by 10.60.115.129 with SMTP id jo1mr16256116oeb.0.1394288677357; Sat, 08 Mar 2014 06:24:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.80.194 with HTTP; Sat, 8 Mar 2014 06:24:07 -0800 (PST) In-Reply-To: <1394199416.1149.367.camel@revolution.hippie.lan> References: <1394148413.1149.348.camel@revolution.hippie.lan> <1394199416.1149.367.camel@revolution.hippie.lan> From: Jia-Shiun Li Date: Sat, 8 Mar 2014 22:24:07 +0800 Message-ID: Subject: Re: Teach mdmfs about tmpfs and use tmpfs in rc scripts To: Ian Lepore Content-Type: text/plain; charset=UTF-8 Cc: freebsd-rc@freebsd.org, freebsd-arch X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 08 Mar 2014 14:24:38 -0000 On Fri, Mar 7, 2014 at 9:36 PM, Ian Lepore wrote: > I'm not sure what you mean. If the device on the command line is md the > program behaves as it always has. If you ask for 'auto' you get the > "best" memory filesystem available for some definition of "best". If > you don't trust someone else's definition of best (like you need failure > at allocation time) then you choose the one that behaves the way you > like. ehh.. sorry read too fast and did not realize you 'added' new options in addition to existing 'md'. My bad. I did not use mdmfs often. My understanding is that it is the help to simplify mdconfig-newfs-mount process to replace a one-step mount_mfs. Then I agree with Konstantin, it does not look too appealing. If the goal is to merge all memory-backed fs to single versatile command, then the proposal does the job. Otherwise one mount_tmpfs comamnd does all user needs for tmpfs, and I am not sure the auto decision is good if user did not know what he need or care. It seems better to leave the decision to user. And for rc usage, I think we can just change it to tmpfs. If in the future tmpfs grows ability to populate content with e.g. a cpio archive at boot time or passed from command line, md usage can be further replaced. -Jia-Shiun. From owner-freebsd-rc@FreeBSD.ORG Sat Mar 8 14:54:41 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3870D123; Sat, 8 Mar 2014 14:54:41 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 08B2FA2C; Sat, 8 Mar 2014 14:54:40 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1WMIdz-0005yr-A6; Sat, 08 Mar 2014 14:54:33 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id s28EsTjB053504; Sat, 8 Mar 2014 07:54:29 -0700 (MST) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18WkOkKEtxc0xY+V/NE2Rk0 Subject: Re: Teach mdmfs about tmpfs and use tmpfs in rc scripts From: Ian Lepore To: Jia-Shiun Li In-Reply-To: References: <1394148413.1149.348.camel@revolution.hippie.lan> <1394199416.1149.367.camel@revolution.hippie.lan> Content-Type: text/plain; charset="us-ascii" Date: Sat, 08 Mar 2014 07:54:28 -0700 Message-ID: <1394290468.1149.397.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org, freebsd-arch X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 08 Mar 2014 14:54:41 -0000 On Sat, 2014-03-08 at 22:24 +0800, Jia-Shiun Li wrote: > On Fri, Mar 7, 2014 at 9:36 PM, Ian Lepore wrote: > > I'm not sure what you mean. If the device on the command line is md the > > program behaves as it always has. If you ask for 'auto' you get the > > "best" memory filesystem available for some definition of "best". If > > you don't trust someone else's definition of best (like you need failure > > at allocation time) then you choose the one that behaves the way you > > like. > > ehh.. sorry read too fast and did not realize you 'added' new options > in addition to existing 'md'. My bad. > > I did not use mdmfs often. My understanding is that it is the help to simplify > mdconfig-newfs-mount process to replace a one-step mount_mfs. > Then I agree with Konstantin, it does not look too appealing. > If the goal is to merge all memory-backed fs to single versatile command, > then the proposal does the job. Otherwise one mount_tmpfs comamnd does > all user needs for tmpfs, and I am not sure the auto decision is good if > user did not know what he need or care. It seems better to leave the decision > to user. > > And for rc usage, I think we can just change it to tmpfs. If in the future tmpfs > grows ability to populate content with e.g. a cpio archive at boot time or > passed from command line, md usage can be further replaced. > > -Jia-Shiun. Okay, if people think that all this work should be done in the rc scripts rather than in a program, then the rc scripts need to be changed to do what I did in the program: honor existing options that make sense for tmpfs (any -o options for the mount, translate -s to size=, and don't use tmpfs if the config requests multilabel MAC). And the changes need to happen in rc.subr and in rc.initdiskless which doesn't use rc.subr. Oh, and of course, don't do any of it if tmpfs isn't available. If this isn't done, peoples' existing configurations may break (in the case of the MAC option, break in a way with potential security implications). I've gotta say, I don't understand the basic resistance to having a single unified tool for configuring a memory filesystem. -- Ian From owner-freebsd-rc@FreeBSD.ORG Sat Mar 8 17:12:25 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 371BF63D; Sat, 8 Mar 2014 17:12:25 +0000 (UTC) Received: from mail-ob0-x232.google.com (mail-ob0-x232.google.com [IPv6:2607:f8b0:4003:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DB23C6B8; Sat, 8 Mar 2014 17:12:24 +0000 (UTC) Received: by mail-ob0-f178.google.com with SMTP id wp18so5412625obc.23 for ; Sat, 08 Mar 2014 09:12:24 -0800 (PST) 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=lTewJyv+dA1klkTiv2wkMblGiNrwBwdS2SGlSBgvW8g=; b=CX8yLLZiYx5CJO+OlwXZ/ywdKe9MafyDLbeLPMxOh+wxqZoNyHfcuwAtRuTOhdzR9p mtuoFn152EPQd8ydoyHBX0JITFr24cRnsUNaT6L3+3VWfcvpCMD1eZqYG6BfHdufbLw4 TqnGu6h8HlTcSrK+VS6a0Of8E+VsyYrGNF0v+tyV6p1wiWvYpAtUAdqHiOzrpe/696Bg X/J0p1UxWKtAX5qRvmxVyW4wrfhwd+U/lOa19Mwa/Sbeeq40lG5BEtL1wsHMQUOZduRi OFbZ1+HYRF1GwrUjaJuBWeMZgXwwK4OsonrjMt95ZLMWt+MBhgwO9LApRPDVkyOqb2GA JfTg== X-Received: by 10.60.51.230 with SMTP id n6mr16650075oeo.35.1394298744183; Sat, 08 Mar 2014 09:12:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.80.194 with HTTP; Sat, 8 Mar 2014 09:11:54 -0800 (PST) In-Reply-To: <1394290468.1149.397.camel@revolution.hippie.lan> References: <1394148413.1149.348.camel@revolution.hippie.lan> <1394199416.1149.367.camel@revolution.hippie.lan> <1394290468.1149.397.camel@revolution.hippie.lan> From: Jia-Shiun Li Date: Sun, 9 Mar 2014 01:11:54 +0800 Message-ID: Subject: Re: Teach mdmfs about tmpfs and use tmpfs in rc scripts To: Ian Lepore Content-Type: text/plain; charset=UTF-8 Cc: freebsd-rc@freebsd.org, freebsd-arch X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 08 Mar 2014 17:12:25 -0000 On Sat, Mar 8, 2014 at 10:54 PM, Ian Lepore wrote: > Okay, if people think that all this work should be done in the rc > scripts rather than in a program, then the rc scripts need to be changed > to do what I did in the program: honor existing options that make sense > for tmpfs (any -o options for the mount, translate -s to size=, and > don't use tmpfs if the config requests multilabel MAC). And the changes > need to happen in rc.subr and in rc.initdiskless which doesn't use > rc.subr. Oh, and of course, don't do any of it if tmpfs isn't > available. > > If this isn't done, peoples' existing configurations may break (in the > case of the MAC option, break in a way with potential security > implications). > > I've gotta say, I don't understand the basic resistance to having a > single unified tool for configuring a memory filesystem. > Probably because we were focusing on the usual rc case? For the usual rc case it is easier to change scripts to use tmpfs altogether. But it will break compatibility of rc.conf flags too. Upgraded users will need to modify them manually. And I am not sure if there are more advanced uses, like setting multilabel for /var & /tmp. In these cases your patch makes more sense. Think that's just us not catching your point yet. ;) -Jia-Shiun. From owner-freebsd-rc@FreeBSD.ORG Sat Mar 8 17:43:00 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5BEE9D3B; Sat, 8 Mar 2014 17:43:00 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2B36594A; Sat, 8 Mar 2014 17:42:59 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1WMLH0-000KCF-Kq; Sat, 08 Mar 2014 17:42:58 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id s28Hgu4n053669; Sat, 8 Mar 2014 10:42:56 -0700 (MST) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+jpFxbKLw3qfqfEcPT4hCI Subject: Re: Teach mdmfs about tmpfs and use tmpfs in rc scripts From: Ian Lepore To: Jia-Shiun Li In-Reply-To: References: <1394148413.1149.348.camel@revolution.hippie.lan> <1394199416.1149.367.camel@revolution.hippie.lan> <1394290468.1149.397.camel@revolution.hippie.lan> Content-Type: text/plain; charset="us-ascii" Date: Sat, 08 Mar 2014 10:42:56 -0700 Message-ID: <1394300576.1149.413.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org, freebsd-arch X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 08 Mar 2014 17:43:00 -0000 On Sun, 2014-03-09 at 01:11 +0800, Jia-Shiun Li wrote: > On Sat, Mar 8, 2014 at 10:54 PM, Ian Lepore wrote: > > Okay, if people think that all this work should be done in the rc > > scripts rather than in a program, then the rc scripts need to be changed > > to do what I did in the program: honor existing options that make sense > > for tmpfs (any -o options for the mount, translate -s to size=, and > > don't use tmpfs if the config requests multilabel MAC). And the changes > > need to happen in rc.subr and in rc.initdiskless which doesn't use > > rc.subr. Oh, and of course, don't do any of it if tmpfs isn't > > available. > > > > If this isn't done, peoples' existing configurations may break (in the > > case of the MAC option, break in a way with potential security > > implications). > > > > I've gotta say, I don't understand the basic resistance to having a > > single unified tool for configuring a memory filesystem. > > > > Probably because we were focusing on the usual rc case? > For the usual rc case it is easier to change scripts to use > tmpfs altogether. But it will break compatibility of rc.conf > flags too. Upgraded users will need to modify them manually. > And I am not sure if there are more advanced uses, like > setting multilabel for /var & /tmp. In these cases your > patch makes more sense. > > Think that's just us not catching your point yet. ;) > Part of the reason I jumped on this when you brought it up on the arm list is because we're heavy users of the readonly rootfs support rc scripts at $work (and not many people are), so I wanted to make sure the change wasn't done on the assumption that you can just hard-code tmpfs in place of md in the rc scripts "and stuff will just keep working". That's only true for some limited subset of "stuff" and while it's certainly possible to manually change your rc.conf to match when upgrading, that's actually hard to do when you're trying to manage software ranging from freebsd 6 through 11 all with a common config and build and deployment system. -- Ian From owner-freebsd-rc@FreeBSD.ORG Mon Mar 10 03:34:44 2014 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 766BC502; Mon, 10 Mar 2014 03:34:44 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4AE1FBB8; Mon, 10 Mar 2014 03:34:44 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2A3Yi2h086782; Mon, 10 Mar 2014 03:34:44 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2A3Yi9m086781; Mon, 10 Mar 2014 03:34:44 GMT (envelope-from linimon) Date: Mon, 10 Mar 2014 03:34:44 GMT Message-Id: <201403100334.s2A3Yi9m086781@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: conf/187404: [rc.d] [patch] Add default route after static routes X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 10 Mar 2014 03:34:44 -0000 Old Synopsis: Add default route after static routes New Synopsis: [rc.d] [patch] Add default route after static routes Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Mon Mar 10 03:32:03 UTC 2014 Responsible-Changed-Why: reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=187404 From owner-freebsd-rc@FreeBSD.ORG Mon Mar 10 03:43:08 2014 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3F582619; Mon, 10 Mar 2014 03:43:08 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 14169C66; Mon, 10 Mar 2014 03:43:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2A3h7Zt089673; Mon, 10 Mar 2014 03:43:07 GMT (envelope-from hrs@freefall.freebsd.org) Received: (from hrs@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2A3h7nt089672; Mon, 10 Mar 2014 03:43:07 GMT (envelope-from hrs) Date: Mon, 10 Mar 2014 03:43:07 GMT Message-Id: <201403100343.s2A3h7nt089672@freefall.freebsd.org> To: stavros@staff.esc.net.au, hrs@FreeBSD.org, freebsd-rc@FreeBSD.org From: hrs@FreeBSD.org Subject: Re: conf/187404: [rc.d] [patch] Add default route after static routes X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 10 Mar 2014 03:43:08 -0000 Synopsis: [rc.d] [patch] Add default route after static routes State-Changed-From-To: open->closed State-Changed-By: hrs State-Changed-When: Mon Mar 10 03:42:19 UTC 2014 State-Changed-Why: This bug has been fixed on 9.2R and later. Please upgrade your system. http://www.freebsd.org/cgi/query-pr.cgi?pr=187404 From owner-freebsd-rc@FreeBSD.ORG Mon Mar 10 10:16:42 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 31F0C191; Mon, 10 Mar 2014 10:16:42 +0000 (UTC) Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [IPv6:2607:f8b0:4003:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D5F99114; Mon, 10 Mar 2014 10:16:41 +0000 (UTC) Received: by mail-ob0-f174.google.com with SMTP id wo20so6690546obc.5 for ; Mon, 10 Mar 2014 03:16:41 -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=SwVL4hyzFtyCDbIF7z/S0rI7GukauMjo6j/udBKHVis=; b=zWg25xq88IcvIviZtjTjjTiruGpjmyWpE2hGdJdfpG7e3lx+4JG/RYPX9AJloMwLNk E4iDNTdFJdjF9Gb1PHo1Yf217X4uYYgjjdie6vIWeA+xo2GWggIx4d3zQO8AUymNWaRE yQlUxwkFFDkKI/Ndj+vnCGsPZCkx2q1YH/ZN3EehZj2fPiSEcAO09UXYG/bsd3+CghV/ Atn3l0CezcSPzXWHzLEQZMBMmz8pGo/DEKVGC1IVtEBjQoGjEf6c+n5lTyq5YaK+DwoS GWX+eKU3497KSha+g65vK8xeLkmKzUXU9tO+Z186V7TtjV8e0WgcxVy9cNY44X0eEMZZ 6nuQ== X-Received: by 10.182.2.42 with SMTP id 10mr22308obr.73.1394446601158; Mon, 10 Mar 2014 03:16:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.80.194 with HTTP; Mon, 10 Mar 2014 03:16:11 -0700 (PDT) In-Reply-To: <1394300576.1149.413.camel@revolution.hippie.lan> References: <1394148413.1149.348.camel@revolution.hippie.lan> <1394199416.1149.367.camel@revolution.hippie.lan> <1394290468.1149.397.camel@revolution.hippie.lan> <1394300576.1149.413.camel@revolution.hippie.lan> From: Jia-Shiun Li Date: Mon, 10 Mar 2014 18:16:11 +0800 Message-ID: Subject: Re: Teach mdmfs about tmpfs and use tmpfs in rc scripts To: Ian Lepore Content-Type: text/plain; charset=UTF-8 Cc: freebsd-rc@freebsd.org, freebsd-arch X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 10 Mar 2014 10:16:42 -0000 On Sun, Mar 9, 2014 at 1:42 AM, Ian Lepore wrote: > > Part of the reason I jumped on this when you brought it up on the arm > list is because we're heavy users of the readonly rootfs support rc > scripts at $work (and not many people are), so I wanted to make sure the > change wasn't done on the assumption that you can just hard-code tmpfs > in place of md in the rc scripts "and stuff will just keep working". > That's only true for some limited subset of "stuff" and while it's > certainly possible to manually change your rc.conf to match when > upgrading, that's actually hard to do when you're trying to manage > software ranging from freebsd 6 through 11 all with a common config and > build and deployment system. > Does FreeBSD have policy or guideline on how to maintain compatibility? After all, consider the tmpfs case it will be literally neither md nor mfs. That said, guess that is too trivial to bikeshed. Functionally I agree it is good. It maintains compatibility while making use of better tmpfs. Do you plan to commit it? -Jia-Shiun. From owner-freebsd-rc@FreeBSD.ORG Mon Mar 10 11:06:52 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BC3BA1C1 for ; Mon, 10 Mar 2014 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9E25081C for ; Mon, 10 Mar 2014 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2AB6qRq043340 for ; Mon, 10 Mar 2014 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2AB6qwj043338 for freebsd-rc@FreeBSD.org; Mon, 10 Mar 2014 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Mar 2014 11:06:52 GMT Message-Id: <201403101106.s2AB6qwj043338@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 Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 10 Mar 2014 11:06:52 -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/186841 rc rc.conf ifconfig syntax for binding ip-ranges broken [ o conf/185429 rc [rc.subr] ${name}_chroot does not work when there's a o conf/184355 rc [rc.firewall] [patch] ipfw failed to restart if tables o conf/181625 rc [patch] add rc.d/ script for freebsd-update o conf/180183 rc [rc.d] rc.d allows scripts without rcvar set to start o conf/179828 rc [rc.d] [PATCH] rc.d/syslogd link socket to /dev/log fa o conf/177217 rc [patch] rc.d/ddb -- squelch warning when ddb_enable=ye o conf/177089 rc ntpd startup script does not work well o conf/176347 rc [rc.conf] [patch] Add support for firewall deny lists o conf/176181 rc [rc.subr] rc.subr emitting warnings for non-defined xx o conf/175311 rc [patch] add "dump" fs type support to rc.d/dumpon o conf/175105 rc /etc/rc.d/* and more: syntax 'return_boolean_cmd && do o conf/175079 rc [rc.subr] [patch] rc.subr poorly handles recursive run o bin/173153 rc [rc.d] [patch] $netwait_ip should be more parallel o conf/172532 rc [rc] [patch] service routing restart always fails o conf/169047 rc [rc.subr] [patch] /etc/rc.subr not checking some scrip p bin/168544 rc [patch] [rc]: addswap-mounted swapfiles cause panic on o conf/167566 rc [rc.d] [patch] ipdivert module loading vs. ipfw rc.d o o conf/166484 rc [rc] [patch] rc.initdiskless patch for different major o conf/165769 rc [rc][jai][ipv6] IPv6 Initialization on external iface o conf/164393 rc [rc.d] restarting netif with static addresses doesn't o conf/163508 rc [rc.subr] [patch] Add "enable" and "disable" commands o conf/163488 rc Confusing explanation in defaults/rc.conf o conf/163321 rc [rc.conf] [patch] allow _fib syntax in rc.conf o conf/162642 rc .sh scripts in /usr/local/etc/rc.d get executed, not s o conf/161107 rc [rc] stop_boot in mountcritlocal usage is incorrect. o conf/160403 rc [rc] [patch] concurrently running rc-scripts during bo o conf/160240 rc rc.d/mdconfig and mdconfig2 should autoset $_type to v o conf/159846 rc [rc.conf] routing_stop_inet6() logic doesn't handle ip o conf/158557 rc [patch] /etc/rc.d/pf broken messages o conf/158127 rc [patch] remount_optional option in rc.initdiskless doe 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/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/145399 rc [patch] rc.d scripts are unable to start/stop programs o conf/145009 rc [patch] rc.subr(8): rc.conf should allow mac label con 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 a 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/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip p conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b 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/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped 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 a 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 f conf/118255 rc savecore never finding kernel core dumps (rcorder prob f conf/117935 rc [patch] ppp fails to start at boot because of missing f conf/113915 rc [ndis] [patch] ndis wireless driver fails to associate 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 f conf/105689 rc [ppp] [request] syslogd starts too late at boot f conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f 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/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d f 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 a 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 a conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f conf/56934 rc [patch] rc.firewall rules for natd expect an interface f conf/13775 rc multi-user boot may hang in NIS environment 92 problems total. From owner-freebsd-rc@FreeBSD.ORG Tue Mar 11 11:10:01 2014 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CDC37ACC for ; Tue, 11 Mar 2014 11:10:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BAD756D3 for ; Tue, 11 Mar 2014 11:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2BBA1Gp029861 for ; Tue, 11 Mar 2014 11:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2BBA1qO029860; Tue, 11 Mar 2014 11:10:01 GMT (envelope-from gnats) Date: Tue, 11 Mar 2014 11:10:01 GMT Message-Id: <201403111110.s2BBA1qO029860@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org Cc: From: Geoff Garside Subject: Re: conf/169047: [rc.subr] [patch] /etc/rc.subr not checking some scripts (e.g. ruby running ' thin' ) X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Geoff Garside 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, 11 Mar 2014 11:10:01 -0000 The following reply was made to PR conf/169047; it has been noted by GNATS. From: Geoff Garside To: bug-followup@FreeBSD.org Cc: Subject: Re: conf/169047: [rc.subr] [patch] /etc/rc.subr not checking some scripts (e.g. ruby running 'thin') Date: Tue, 11 Mar 2014 11:09:44 +0000 --Apple-Mail=_F02A976E-F0B6-41CE-8C46-5ABE5FA588FE Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Heres an updated copy of the patch if that helps. --Apple-Mail=_F02A976E-F0B6-41CE-8C46-5ABE5FA588FE Content-Disposition: attachment; filename=etc-rc.subr.patch.txt Content-Type: text/plain; x-unix-mode=0644; name="etc-rc.subr.patch.txt" Content-Transfer-Encoding: quoted-printable --- /etc/rc.subr.orig 2014-03-11 11:06:09.251438710 +0000 +++ /etc/rc.subr 2014-03-11 11:07:29.172157233 +0000 @@ -288,9 +288,10 @@ fi _interp=3D"$* $_procname" # cleanup = spaces, add _procname _interpbn=3D${1##*/} + _procnamebn=3D${_procname##*/} _fp_args=3D'_argv' _fp_match=3D'case "$_argv" in - ${_interp}|"${_interp} = "*|"[${_interpbn}]"|"${_interpbn}: ${_procname}"*)' + ${_interp}|"${_interp} = "*|"[${_interpbn}]"|"${_interpbn}: ${_procname}"*|"${_interpbn}: = ${_procnamebn}"*)' else # a normal daemon _procnamebn=3D${_procname##*/} _fp_args=3D'_arg0 _argv' --Apple-Mail=_F02A976E-F0B6-41CE-8C46-5ABE5FA588FE-- From owner-freebsd-rc@FreeBSD.ORG Tue Mar 11 11:20:01 2014 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 46A74CAB for ; Tue, 11 Mar 2014 11:20:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 17731813 for ; Tue, 11 Mar 2014 11:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2BBK0xP033609 for ; Tue, 11 Mar 2014 11:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2BBK0R4033608; Tue, 11 Mar 2014 11:20:00 GMT (envelope-from gnats) Date: Tue, 11 Mar 2014 11:20:00 GMT Message-Id: <201403111120.s2BBK0R4033608@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org Cc: From: Geoff Garside Subject: Re: conf/169047: [rc.subr] [patch] /etc/rc.subr not checking some scripts (e.g. ruby running ' thin' ) X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Geoff Garside 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, 11 Mar 2014 11:20:01 -0000 The following reply was made to PR conf/169047; it has been noted by GNATS. From: Geoff Garside To: bug-followup@FreeBSD.org Cc: Subject: Re: conf/169047: [rc.subr] [patch] /etc/rc.subr not checking some scripts (e.g. ruby running 'thin') Date: Tue, 11 Mar 2014 11:04:22 +0000 Any idea when this might get included, its not in FreeBSD 10-RELEASE. From owner-freebsd-rc@FreeBSD.ORG Thu Mar 13 16:38:23 2014 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 706DF467; Thu, 13 Mar 2014 16:38:23 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 45691F80; Thu, 13 Mar 2014 16:38:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2DGcNuU077678; Thu, 13 Mar 2014 16:38:23 GMT (envelope-from asomers@freefall.freebsd.org) Received: (from asomers@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2DGcM9j077677; Thu, 13 Mar 2014 16:38:22 GMT (envelope-from asomers) Date: Thu, 13 Mar 2014 16:38:22 GMT Message-Id: <201403131638.s2DGcM9j077677@freefall.freebsd.org> To: kes-kes@yandex.ru, asomers@FreeBSD.org, freebsd-rc@FreeBSD.org From: asomers@FreeBSD.org Subject: Re: conf/163321: [rc.conf] [patch] allow _fib syntax in rc.conf X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 13 Mar 2014 16:38:23 -0000 Synopsis: [rc.conf] [patch] allow _fib syntax in rc.conf State-Changed-From-To: open->closed State-Changed-By: asomers State-Changed-When: Thu Mar 13 16:38:22 UTC 2014 State-Changed-Why: Independently fixed by hrs in revision 242184 on 27-October-2012 http://www.freebsd.org/cgi/query-pr.cgi?pr=163321 From owner-freebsd-rc@FreeBSD.ORG Mon Mar 17 11:06:52 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8847AAC4 for ; Mon, 17 Mar 2014 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 747072A3 for ; Mon, 17 Mar 2014 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2HB6q9h011386 for ; Mon, 17 Mar 2014 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2HB6q7t011384 for freebsd-rc@FreeBSD.org; Mon, 17 Mar 2014 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 17 Mar 2014 11:06:52 GMT Message-Id: <201403171106.s2HB6q7t011384@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 Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 17 Mar 2014 11:06:52 -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/186841 rc rc.conf ifconfig syntax for binding ip-ranges broken [ o conf/185429 rc [rc.subr] ${name}_chroot does not work when there's a o conf/184355 rc [rc.firewall] [patch] ipfw failed to restart if tables o conf/181625 rc [patch] add rc.d/ script for freebsd-update o conf/180183 rc [rc.d] rc.d allows scripts without rcvar set to start o conf/179828 rc [rc.d] [PATCH] rc.d/syslogd link socket to /dev/log fa o conf/177217 rc [patch] rc.d/ddb -- squelch warning when ddb_enable=ye o conf/177089 rc ntpd startup script does not work well o conf/176347 rc [rc.conf] [patch] Add support for firewall deny lists o conf/176181 rc [rc.subr] rc.subr emitting warnings for non-defined xx o conf/175311 rc [patch] add "dump" fs type support to rc.d/dumpon o conf/175105 rc /etc/rc.d/* and more: syntax 'return_boolean_cmd && do o conf/175079 rc [rc.subr] [patch] rc.subr poorly handles recursive run o bin/173153 rc [rc.d] [patch] $netwait_ip should be more parallel o conf/172532 rc [rc] [patch] service routing restart always fails o conf/169047 rc [rc.subr] [patch] /etc/rc.subr not checking some scrip p bin/168544 rc [patch] [rc]: addswap-mounted swapfiles cause panic on o conf/167566 rc [rc.d] [patch] ipdivert module loading vs. ipfw rc.d o o conf/166484 rc [rc] [patch] rc.initdiskless patch for different major o conf/165769 rc [rc][jai][ipv6] IPv6 Initialization on external iface o conf/164393 rc [rc.d] restarting netif with static addresses doesn't o conf/163508 rc [rc.subr] [patch] Add "enable" and "disable" commands o conf/163488 rc Confusing explanation in defaults/rc.conf o conf/162642 rc .sh scripts in /usr/local/etc/rc.d get executed, not s o conf/161107 rc [rc] stop_boot in mountcritlocal usage is incorrect. o conf/160403 rc [rc] [patch] concurrently running rc-scripts during bo o conf/160240 rc rc.d/mdconfig and mdconfig2 should autoset $_type to v o conf/159846 rc [rc.conf] routing_stop_inet6() logic doesn't handle ip o conf/158557 rc [patch] /etc/rc.d/pf broken messages o conf/158127 rc [patch] remount_optional option in rc.initdiskless doe 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/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/145399 rc [patch] rc.d scripts are unable to start/stop programs o conf/145009 rc [patch] rc.subr(8): rc.conf should allow mac label con 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 a 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/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip p conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b 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/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped 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 a 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 f conf/118255 rc savecore never finding kernel core dumps (rcorder prob f conf/117935 rc [patch] ppp fails to start at boot because of missing f conf/113915 rc [ndis] [patch] ndis wireless driver fails to associate 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 f conf/105689 rc [ppp] [request] syslogd starts too late at boot f conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f 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/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d f 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 a 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 a conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f conf/56934 rc [patch] rc.firewall rules for natd expect an interface f conf/13775 rc multi-user boot may hang in NIS environment 91 problems total. From owner-freebsd-rc@FreeBSD.ORG Tue Mar 18 12:08:19 2014 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4498D7B8; Tue, 18 Mar 2014 12:08:19 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 18C0B691; Tue, 18 Mar 2014 12:08:19 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2IC8Iei001061; Tue, 18 Mar 2014 12:08:18 GMT (envelope-from gjb@freefall.freebsd.org) Received: (from gjb@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2IC8IGp001060; Tue, 18 Mar 2014 12:08:18 GMT (envelope-from gjb) Date: Tue, 18 Mar 2014 12:08:18 GMT Message-Id: <201403181208.s2IC8IGp001060@freefall.freebsd.org> To: gjb@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org From: gjb@FreeBSD.org Subject: Re: conf/187696: After upgrade 9.1->9.2 boot deadlock if ipv4_addrs_IF contains invalid values X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 18 Mar 2014 12:08:19 -0000 Synopsis: After upgrade 9.1->9.2 boot deadlock if ipv4_addrs_IF contains invalid values Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: gjb Responsible-Changed-When: Tue Mar 18 12:08:08 UTC 2014 Responsible-Changed-Why: Assign http://www.freebsd.org/cgi/query-pr.cgi?pr=187696 From owner-freebsd-rc@FreeBSD.ORG Tue Mar 18 20:08:54 2014 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4C9DDFC9; Tue, 18 Mar 2014 20:08:54 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2155482C; Tue, 18 Mar 2014 20:08:54 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2IK8ruR059310; Tue, 18 Mar 2014 20:08:53 GMT (envelope-from delphij@freefall.freebsd.org) Received: (from delphij@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2IK8rKZ059309; Tue, 18 Mar 2014 20:08:53 GMT (envelope-from delphij) Date: Tue, 18 Mar 2014 20:08:53 GMT Message-Id: <201403182008.s2IK8rKZ059309@freefall.freebsd.org> To: delphij@FreeBSD.org, delphij@FreeBSD.org, freebsd-rc@FreeBSD.org From: delphij@FreeBSD.org Subject: Re: conf/145344: [patch] Fix kitchen sink approach for rc.d scripts installation X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 18 Mar 2014 20:08:54 -0000 Synopsis: [patch] Fix kitchen sink approach for rc.d scripts installation Responsible-Changed-From-To: delphij->freebsd-rc Responsible-Changed-By: delphij Responsible-Changed-When: Tue Mar 18 20:08:32 UTC 2014 Responsible-Changed-Why: Return this back to pool. http://www.freebsd.org/cgi/query-pr.cgi?pr=145344 From owner-freebsd-rc@FreeBSD.ORG Mon Mar 24 11:06:51 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 97B1F183 for ; Mon, 24 Mar 2014 11:06:51 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7A1B817E for ; Mon, 24 Mar 2014 11:06:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2OB6p2B013972 for ; Mon, 24 Mar 2014 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2OB6pMB013970 for freebsd-rc@FreeBSD.org; Mon, 24 Mar 2014 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 Mar 2014 11:06:51 GMT Message-Id: <201403241106.s2OB6pMB013970@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 Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 24 Mar 2014 11:06:51 -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/187696 rc After upgrade 9.1->9.2 boot deadlock if ipv4_addrs_IF o conf/186841 rc rc.conf ifconfig syntax for binding ip-ranges broken [ o conf/185429 rc [rc.subr] ${name}_chroot does not work when there's a o conf/184355 rc [rc.firewall] [patch] ipfw failed to restart if tables o conf/181625 rc [patch] add rc.d/ script for freebsd-update o conf/180183 rc [rc.d] rc.d allows scripts without rcvar set to start o conf/179828 rc [rc.d] [PATCH] rc.d/syslogd link socket to /dev/log fa o conf/177217 rc [patch] rc.d/ddb -- squelch warning when ddb_enable=ye o conf/177089 rc ntpd startup script does not work well o conf/176347 rc [rc.conf] [patch] Add support for firewall deny lists o conf/176181 rc [rc.subr] rc.subr emitting warnings for non-defined xx o conf/175311 rc [patch] add "dump" fs type support to rc.d/dumpon o conf/175105 rc /etc/rc.d/* and more: syntax 'return_boolean_cmd && do o conf/175079 rc [rc.subr] [patch] rc.subr poorly handles recursive run o bin/173153 rc [rc.d] [patch] $netwait_ip should be more parallel o conf/172532 rc [rc] [patch] service routing restart always fails o conf/169047 rc [rc.subr] [patch] /etc/rc.subr not checking some scrip p bin/168544 rc [patch] [rc]: addswap-mounted swapfiles cause panic on o conf/167566 rc [rc.d] [patch] ipdivert module loading vs. ipfw rc.d o o conf/166484 rc [rc] [patch] rc.initdiskless patch for different major o conf/165769 rc [rc][jai][ipv6] IPv6 Initialization on external iface o conf/164393 rc [rc.d] restarting netif with static addresses doesn't o conf/163508 rc [rc.subr] [patch] Add "enable" and "disable" commands o conf/163488 rc Confusing explanation in defaults/rc.conf o conf/162642 rc .sh scripts in /usr/local/etc/rc.d get executed, not s o conf/161107 rc [rc] stop_boot in mountcritlocal usage is incorrect. o conf/160403 rc [rc] [patch] concurrently running rc-scripts during bo o conf/160240 rc rc.d/mdconfig and mdconfig2 should autoset $_type to v o conf/159846 rc [rc.conf] routing_stop_inet6() logic doesn't handle ip o conf/158557 rc [patch] /etc/rc.d/pf broken messages o conf/158127 rc [patch] remount_optional option in rc.initdiskless doe 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/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/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/143637 rc [patch] ntpdate(8) support for ntp-servers supplied by o conf/143085 rc [patch] ftp-proxy(8) rc(8) with multiple instances a 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/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip p conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b 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/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped 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 a 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 f conf/118255 rc savecore never finding kernel core dumps (rcorder prob f conf/117935 rc [patch] ppp fails to start at boot because of missing f conf/113915 rc [ndis] [patch] ndis wireless driver fails to associate 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 f conf/105689 rc [ppp] [request] syslogd starts too late at boot f conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f 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/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d f 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 a 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 a conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f conf/56934 rc [patch] rc.firewall rules for natd expect an interface f conf/13775 rc multi-user boot may hang in NIS environment 93 problems total. From owner-freebsd-rc@FreeBSD.ORG Tue Mar 25 23:07:29 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1C5B8E4B for ; Tue, 25 Mar 2014 23:07:29 +0000 (UTC) Received: from smtp5.cc.ksu.edu (smtp5.cc.ksu.edu [129.130.255.118]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CC071139 for ; Tue, 25 Mar 2014 23:07:28 +0000 (UTC) Received: from mew.cns.ksu.edu (mew.cns.ksu.edu [129.130.0.181]) by smtp5.cc.ksu.edu (8.14.3/8.14.3) with ESMTP id s2PN7LuZ011006 for ; Tue, 25 Mar 2014 18:07:21 -0500 (CDT) Message-ID: <53320C27.9020906@ksu.edu> Date: Tue, 25 Mar 2014 18:07:19 -0500 From: "Lawrence K. Chen, P.Eng." Organization: Kansas State University - ITS/Enterprise Server Technologies User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-rc@freebsd.org Subject: Re: Why does rc.d/tmp require 'mountcritremote'? References: <52D8182B.6030602@gmail.com> In-Reply-To: <52D8182B.6030602@gmail.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.98.1 at cts-virus3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.72 on 129.130.255.119 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 25 Mar 2014 23:07:29 -0000 Speaking of rc.d/tmp (the only thing that REQUIRE:'s tmp is rc.d/cleartmp). Yet there are rc.d scripts that use /tmp, so they probably expect rc.d/tmp and rc.d/cleartmp to have been executed before they are...but nothing REQUIRE:'s them. So, for a long time, I've been having problems where VirtualBox VMs started using rc.d/vboxheadless can't be managed. After much hair pulling, I found that it uses a directory in /tmp, and wondered why it loses track. So, I ran "rcorder -s nostart /etc/rc.d/* /usr/local/etc/rc.d/*" and found this: ... /etc/rc.d/LOGIN /usr/local/etc/rc.d/vboxwebsrv /usr/local/etc/rc.d/vboxheadless /etc/rc.d/nfsclient /etc/rc.d/amd /etc/rc.d/atm3 /etc/rc.d/auditd /etc/rc.d/auditdistd /etc/rc.d/tmp /etc/rc.d/cleartmp ... So, I added tmp to rc.d/vboxheadless's REQUIRE: line. Which has significantly changed the order of things, rc.d/tmp still happens fairly late in the startup (about midway between NETWORKING and LOGIN)....so rc.d/vboxheadless get's called after LOGIN (as it REQUIRE:'s), though DAEMON still comes after LOGIN. Doing just "rcorder -s nostart /etc/rc.d/*" has rc.d/tmp occuring about midway between NETWORKING and LOGIN, which is probably due to its "mountcritremote" requirement. On 01/16/14 11:34, Vitaly Magerya wrote: > Hi, folks. In one particular setup I use tmpmfs, but I also have > links from /var into /tmp, so I need rc.d/tmp to be executed > before rc.d/var (or at least, before rc.d/SERVERS). This however, > appears to be impossible: rc.d/tmp requires 'mountcritremote', > which then requires 'var' through a series of dependencies. > > So my question is: why does rc.d/tmp require 'mountcritremote'? > Can we change it to 'mountcritlocal' or some such? > > I've looked into commit logs, and this requirement was introduced > in revision 153028 [1]; the commit log says: "Brooks pointed out > a case where tmp needs to be run after mountcritremote, so force > it the other way instead.". Anyone knows what case is this? > > For the reference, rc.d/var, which, just like rc.d/tmp, creates > an md-backed filesystem, only requires 'mountcritlocal' and > 'zfs'. > > [1] https://svnweb.freebsd.org/base?view=revision&revision=153028 > _______________________________________________ > 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" > -- Who: Lawrence K. Chen, P.Eng. - W0LKC - Sr. Unix Systems Administrator For: Enterprise Server Technologies (EST) -- & SafeZone Ally From owner-freebsd-rc@FreeBSD.ORG Sun Mar 30 21:19:11 2014 Return-Path: Delivered-To: rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8C620F6C; Sun, 30 Mar 2014 21:19:11 +0000 (UTC) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx1.fisglobal.com", Issuer "VeriSign Class 3 Secure Server CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 506B5BBF; Sun, 30 Mar 2014 21:19:07 +0000 (UTC) Received: from smarthost.fisglobal.com ([10.132.206.192]) by ltcfislmsgpa04.fnfis.com (8.14.5/8.14.5) with ESMTP id s2ULJ0Cw009646 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 30 Mar 2014 16:19:00 -0500 Received: from THEMADHATTER (10.242.181.54) by smarthost.fisglobal.com (10.132.206.192) with Microsoft SMTP Server id 14.3.174.1; Sun, 30 Mar 2014 16:18:57 -0500 From: Sender: Devin Teske To: "'Hiroki Sato'" References: <11c101cf2f6b$e3aee5d0$ab0cb170$@FreeBSD.org> <20140222.141935.520275210006153242.hrs@allbsd.org> <122101cf2f94$bfd81b30$3f885190$@FreeBSD.org> <20140224.125955.1719844232391066.hrs@allbsd.org> <156001cf33dd$f3b5a330$db20e990$@FreeBSD.org> In-Reply-To: <156001cf33dd$f3b5a330$db20e990$@FreeBSD.org> Subject: RE: network.subr _aliasN handling Date: Sun, 30 Mar 2014 14:18:50 -0700 Message-ID: <04c901cf4c5d$a6a4a030$f3ede090$@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_04CA_01CF4C22.FA45C830" X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQHttkVtKbJQZ7hszActUMJnbew5kAHwlHOYAhb5coEB8/98xQFzxWDomoG9JUA= Content-Language: en-us X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87, 1.0.14, 0.0.0000 definitions=2014-03-30_02:2014-03-28,2014-03-30,1970-01-01 signatures=0 Cc: jhellenthal@dataix.net, rc@FreeBSD.org, dteske@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 30 Mar 2014 21:19:11 -0000 ------=_NextPart_000_04CA_01CF4C22.FA45C830 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > -----Original Message----- > From: dteske@FreeBSD.org [mailto:dteske@FreeBSD.org] > Sent: Thursday, February 27, 2014 9:04 AM > To: 'Hiroki Sato' > Cc: jhellenthal@dataix.net; lists@jnielsen.net; rc@FreeBSD.org; > dteske@FreeBSD.org > Subject: RE: network.subr _aliasN handling > > > -----Original Message----- > > From: Hiroki Sato [mailto:hrs@FreeBSD.org] > > Sent: Sunday, February 23, 2014 8:00 PM > > To: dteske@FreeBSD.org > > Cc: jhellenthal@dataix.net; lists@jnielsen.net; rc@FreeBSD.org > > Subject: Re: network.subr _aliasN handling > > > > wrote > > in <122101cf2f94$bfd81b30$3f885190$@FreeBSD.org>: > > > > dt> > +list_vars() > > dt> > +{ > > dt> > + set | { while read LINE; do > > dt> > + var="${LINE%%=*}" > > dt> > + case "$var" in > > dt> > + "$LINE"|*[!a-zA-Z0-9_]*) continue ;; > > dt> > + $1) echo $var > > dt> > + esac > > dt> > + done; } > > dt> > +} > > dt> > > > dt> > This can be inconsistent with normalization of $_if in > > dt> > get_if_var() > when > > dt> [.-/+] > > dt> > is included. > > dt> > > > dt> [Devin Teske] > > dt> > > dt> I'm not sure what you mean by "when [.-/+] is included". The line > > dt> of > code > > > > get_if_var() normalizes IF part in the variable name before eval: > > > > | _if=$1 > > | _punct=". - / +" > > | for _punct_c in $_punct; do > > | _if=`ltr ${_if} ${_punct_c} '_'` > > | done > > > > while list_vars ifconfig_${_if}_alias[0-9]\* does not. > > > > I think this breaks the following configuration, for example: > > > > ifconfig_bge0_name="ext.1" > > ifconfig_ext_1="inet 192.168.0.1/24" > > ifconfig_ext_1_alias0="inet 192.168.1.1/24" > > > > Thanks! Didn't know about that feature. I've attached an updated patch for > review which takes this normalization into account I was noticing /etc/rc.d/mdconfig and /etc/rc.d/mdconfig2 exhibit the same behavior, so I've attached a new patch. I didn't find any other instances where a break in the count would stop the loop prematurely. No changes to the old patch, just added mdconfig{,2} to it. -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ------=_NextPart_000_04CA_01CF4C22.FA45C830 Content-Type: text/plain; name="patch.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="patch.txt" Index: head/etc/network.subr=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= --- etc/network.subr (revision 263946)=0A= +++ etc/network.subr (working copy)=0A= @@ -1076,6 +1076,7 @@ ifalias_af_common_handler()=0A= ifalias_af_common()=0A= {=0A= local _ret _if _af _action alias ifconfig_args _aliasn _c _tmpargs _iaf=0A= + local _punct=3D".-/+"=0A= =0A= _ret=3D1=0A= _aliasn=3D=0A= @@ -1083,10 +1084,16 @@ ifalias_af_common()=0A= _af=3D$2=0A= _action=3D$3=0A= =0A= + # Normalize $_if before using it in a pattern to list_vars()=0A= + while case "$_if" in *[$_punct]*) true;; *) false; esac; do=0A= + _if=3D"${_if%%[$_punct]*}_${_if#*[$_punct]}"=0A= + done=0A= +=0A= # ifconfig_IF_aliasN which starts with $_af=0A= - alias=3D0=0A= - while : ; do=0A= - ifconfig_args=3D`get_if_var $_if ifconfig_IF_alias${alias}`=0A= + for alias in `list_vars ifconfig_${_if}_alias[0-9]\* |=0A= + sort -nk1.$((9+${#_if}+7))`=0A= + do=0A= + eval ifconfig_args=3D\"\$$alias\"=0A= _iaf=3D=0A= case $ifconfig_args in=0A= inet\ *) _iaf=3Dinet ;;=0A= @@ -1107,15 +1114,15 @@ ifalias_af_common()=0A= warn "\$ifconfig_${_if}_alias${alias} needs " \=0A= "\"inet\" keyword for an IPv4 address."=0A= esac=0A= - alias=3D$(($alias + 1))=0A= done=0A= =0A= # backward compatibility: ipv6_ifconfig_IF_aliasN.=0A= case $_af in=0A= inet6)=0A= - alias=3D0=0A= - while : ; do=0A= - ifconfig_args=3D`get_if_var $_if ipv6_ifconfig_IF_alias${alias}`=0A= + for alias in `list_vars ipv6_ifconfig_${_if}_alias[0-9]\* |=0A= + sort -nk1.$((14+${#_if}+7))`=0A= + do=0A= + eval ifconfig_args=3D\"\$$alias\"=0A= case ${_action}:"${ifconfig_args}" in=0A= *:"")=0A= break=0A= @@ -1127,7 +1134,6 @@ ifalias_af_common()=0A= "instead."=0A= ;;=0A= esac=0A= - alias=3D$(($alias + 1))=0A= done=0A= esac=0A= =0A= Index: head/etc/rc.d/mdconfig=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= --- etc/rc.d/mdconfig (revision 263946)=0A= +++ etc/rc.d/mdconfig (working copy)=0A= @@ -181,17 +181,13 @@ fi=0A= =0A= load_rc_config $name=0A= =0A= -_mdconfig_unit=3D0=0A= if [ -z "${_mdconfig_list}" ]; then=0A= - while :; do=0A= - eval _mdconfig_config=3D\$mdconfig_md${_mdconfig_unit}=0A= - if [ -z "${_mdconfig_config}" ]; then=0A= - break=0A= - else=0A= - _mdconfig_list=3D"${_mdconfig_list}${_mdconfig_list:+ = }md${_mdconfig_unit}"=0A= - _mdconfig_unit=3D$((${_mdconfig_unit} + 1))=0A= - fi=0A= + for _mdconfig_config in `list_vars mdconfig_md[0-9]\* | sort -nk1.12`=0A= + do=0A= + _mdconfig_unit=3D${_mdconfig_config#mdconfig_md}=0A= + _mdconfig_list=3D"$_mdconfig_list md$_mdconfig_unit"=0A= done=0A= + _mdconfig_list=3D"${_mdconfig_list# }"=0A= fi=0A= =0A= run_rc_command "${_mdconfig_cmd}"=0A= Index: head/etc/rc.d/mdconfig2=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= --- etc/rc.d/mdconfig2 (revision 263946)=0A= +++ etc/rc.d/mdconfig2 (working copy)=0A= @@ -211,17 +211,13 @@ fi=0A= =0A= load_rc_config $name=0A= =0A= -_mdconfig2_unit=3D0=0A= if [ -z "${_mdconfig2_list}" ]; then=0A= - while :; do=0A= - eval _mdconfig2_config=3D\$mdconfig_md${_mdconfig2_unit}=0A= - if [ -z "${_mdconfig2_config}" ]; then=0A= - break=0A= - else=0A= - _mdconfig2_list=3D"${_mdconfig2_list}${_mdconfig2_list:+ = }md${_mdconfig2_unit}"=0A= - _mdconfig2_unit=3D$((${_mdconfig2_unit} + 1))=0A= - fi=0A= + for _mdconfig2_config in `list_vars mdconfig_md[0-9]\* | sort -nk1.12`=0A= + do=0A= + _mdconfig2_unit=3D${_mdconfig2_config#mdconfig_md}=0A= + _mdconfig2_list=3D"$_mdconfig2_list md$_mdconfig2_unit"=0A= done=0A= + _mdconfig2_list=3D"${_mdconfig2_list# }"=0A= fi=0A= =0A= run_rc_command "${_mdconfig2_cmd}"=0A= Index: head/etc/rc.subr=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= --- etc/rc.subr (revision 263946)=0A= +++ etc/rc.subr (working copy)=0A= @@ -54,6 +54,20 @@ JID=3D`$PS -p $$ -o jid=3D`=0A= # functions=0A= # ---------=0A= =0A= +# list_vars pattern=0A= +# List vars matching pattern.=0A= +# =0A= +list_vars()=0A= +{=0A= + set | { while read LINE; do=0A= + var=3D"${LINE%%=3D*}"=0A= + case "$var" in=0A= + "$LINE"|*[!a-zA-Z0-9_]*) continue ;;=0A= + $1) echo $var=0A= + esac=0A= + done; }=0A= +}=0A= +=0A= # set_rcvar_obsolete oldvar [newvar] [msg]=0A= # Define obsolete variable.=0A= # Global variable $rcvars_obsolete is used.=0A= ------=_NextPart_000_04CA_01CF4C22.FA45C830-- From owner-freebsd-rc@FreeBSD.ORG Mon Mar 31 00:06:56 2014 Return-Path: Delivered-To: rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6436AE10 for ; Mon, 31 Mar 2014 00:06:56 +0000 (UTC) Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1CEC6BF7 for ; Mon, 31 Mar 2014 00:06:52 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id as1so7126465iec.31 for ; Sun, 30 Mar 2014 17:06:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=s7EuzgRpt1B9zB+TUn8G+WIxc0tFLJrVw2GCQZgUo94=; b=MuFYMPsuwAp9KaxjynesOxylrpKeAd7OuF1bevZLCgiKhaa/GwybtCT/a/V24C8wCK QxiCjoyysIE2YJuvAeZ7ku4d6J57S0SB2oRdkfznU3JNF5tYWkH52QK13sbE3teg+exm mvOSTdNr0eJlkFdZMU2s1Xtye5X7eX5Phvoqk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=s7EuzgRpt1B9zB+TUn8G+WIxc0tFLJrVw2GCQZgUo94=; b=K5245gDHXclilNthmrKY9Dvocy5LEqF/lUbYDM3+E0yEbdfpOMhGv5ylHnMd1dwJtg bX/r3VoA//GdhoeW8Xu9E0O3oPNvLoOPyWCwBgEV+FuJtCgUj/ocmLRBMtKtYE+ov+Qx L+rftaNjozgylppXedcYAsM3xxkYnD+KMGO0QYAs4X7JGEoCBaleKP9ypLKC7bynPf3w VD9WwrcKbICfYK9PECKtu5SFAd5ImiXdQFwZpGuscZ8kHxUeuwYOcG+SkvhQmhDDPnk3 ugZg94n/MbcKtgvOyYkcWoQR0VE9E41qiJObXVklCO9UnFSyM492/rAYoWvZIDzq9JEl TV3A== X-Gm-Message-State: ALoCoQmA2reG10QzRAzdGKDzrovFo0/dbzKZtQvYggisAc5WzAniCgh8TUcbbg91sXsQDr8dMKl5 X-Received: by 10.43.137.5 with SMTP id im5mr16213236icc.55.1396224411849; Sun, 30 Mar 2014 17:06:51 -0700 (PDT) Received: from [172.31.35.2] (75-128-101-59.dhcp.sgnw.mi.charter.com. [75.128.101.59]) by mx.google.com with ESMTPSA id sc8sm21572388igb.0.2014.03.30.17.06.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 30 Mar 2014 17:06:45 -0700 (PDT) References: <11c101cf2f6b$e3aee5d0$ab0cb170$@FreeBSD.org> <20140222.141935.520275210006153242.hrs@allbsd.org> <122101cf2f94$bfd81b30$3f885190$@FreeBSD.org> <20140224.125955.1719844232391066.hrs@allbsd.org> <156001cf33dd$f3b5a330$db20e990$@FreeBSD.org> <04c901cf4c5d$a6a4a030$f3ede090$@FreeBSD.org> Mime-Version: 1.0 (1.0) In-Reply-To: <04c901cf4c5d$a6a4a030$f3ede090$@FreeBSD.org> Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-6585CDA9-B5AF-4659-8770-189C132AF19C; protocol="application/pkcs7-signature" Content-Transfer-Encoding: 7bit Message-Id: <0EBE3981-DC85-414D-85B8-7638F172040A@dataix.net> X-Mailer: iPhone Mail (11B554a) From: Jason Hellenthal Subject: Re: network.subr _aliasN handling Date: Sun, 30 Mar 2014 20:06:43 -0400 To: "" X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "" , "" X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 31 Mar 2014 00:06:56 -0000 --Apple-Mail-6585CDA9-B5AF-4659-8770-189C132AF19C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Has any of this been committed this far? I seem to recall mention of a go-ah= ead but unsure. ? --=20 Jason Hellenthal Voice: 95.30.17.6/616 JJH48-ARIN > On Mar 30, 2014, at 17:18, wrote: >=20 >=20 >=20 >> -----Original Message----- >> From: dteske@FreeBSD.org [mailto:dteske@FreeBSD.org] >> Sent: Thursday, February 27, 2014 9:04 AM >> To: 'Hiroki Sato' >> Cc: jhellenthal@dataix.net; lists@jnielsen.net; rc@FreeBSD.org; >> dteske@FreeBSD.org >> Subject: RE: network.subr _aliasN handling >>=20 >>> -----Original Message----- >>> From: Hiroki Sato [mailto:hrs@FreeBSD.org] >>> Sent: Sunday, February 23, 2014 8:00 PM >>> To: dteske@FreeBSD.org >>> Cc: jhellenthal@dataix.net; lists@jnielsen.net; rc@FreeBSD.org >>> Subject: Re: network.subr _aliasN handling >>>=20 >>> wrote >>> in <122101cf2f94$bfd81b30$3f885190$@FreeBSD.org>: >>>=20 >>> dt> > +list_vars() >>> dt> > +{ >>> dt> > + set | { while read LINE; do >>> dt> > + var=3D"${LINE%%=3D*}" >>> dt> > + case "$var" in >>> dt> > + "$LINE"|*[!a-zA-Z0-9_]*) continue ;; >>> dt> > + $1) echo $var >>> dt> > + esac >>> dt> > + done; } >>> dt> > +} >>> dt> > >>> dt> > This can be inconsistent with normalization of $_if in >>> dt> > get_if_var() >> when >>> dt> [.-/+] >>> dt> > is included. >>> dt> > >>> dt> [Devin Teske] >>> dt> >>> dt> I'm not sure what you mean by "when [.-/+] is included". The line >>> dt> of >> code >>>=20 >>> get_if_var() normalizes IF part in the variable name before eval: >>>=20 >>> | _if=3D$1 >>> | _punct=3D". - / +" >>> | for _punct_c in $_punct; do >>> | _if=3D`ltr ${_if} ${_punct_c} '_'` >>> | done >>>=20 >>> while list_vars ifconfig_${_if}_alias[0-9]\* does not. >>>=20 >>> I think this breaks the following configuration, for example: >>>=20 >>> ifconfig_bge0_name=3D"ext.1" >>> ifconfig_ext_1=3D"inet 192.168.0.1/24" >>> ifconfig_ext_1_alias0=3D"inet 192.168.1.1/24" >>=20 >> Thanks! Didn't know about that feature. I've attached an updated patch fo= r >> review which takes this normalization into account >=20 > I was noticing /etc/rc.d/mdconfig and /etc/rc.d/mdconfig2 exhibit the same= > behavior, so I've attached a new patch. I didn't find any other instances > where a break in the count would stop the loop prematurely. >=20 > No changes to the old patch, just added mdconfig{,2} to it. > --=20 > Devin >=20 > _____________ > The information contained in this message is proprietary and/or confidenti= al. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any man= ner; and (iii) notify the sender immediately. In addition, please be aware t= hat any message addressed to our domain is subject to archiving and review b= y persons other than the intended recipient. Thank you. > --Apple-Mail-6585CDA9-B5AF-4659-8770-189C132AF19C Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUOTCCBjAw ggUYoAMCAQICAwaijjANBgkqhkiG9w0BAQsFADCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0 YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcx ODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENB MB4XDTEzMDUxODA4NTA0OFoXDTE0MDUxOTIyMDk0N1owSDEfMB0GA1UEAwwWamhlbGxlbnRoYWxA ZGF0YWl4Lm5ldDElMCMGCSqGSIb3DQEJARYWamhlbGxlbnRoYWxAZGF0YWl4Lm5ldDCCASIwDQYJ KoZIhvcNAQEBBQADggEPADCCAQoCggEBALgnYFS1bWZr3KhKBzWAdRwrY+En+RRV8nCaYubqrMG+ YJbuenaIKSbIuFiDWipW4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G2baJtySTV66/xhs7zN38OXn0NmDTqUo 1hlCv6r3ExfdjBPtMIDrWmuCRlX5ddbVr9UpYbqhjZVgBojVH1Pr/Oti/aI5QV1d61RVhEJElyXe qOLlAUst07ECSQdm8O15kDyG9JmV46UhqBJ0XEH60kwj6eaJMtykW7AoUiMWkpbeo3MLhd2S+XeY bmE1vR8Z5hxU8OU3mQAAAAAAAA== --Apple-Mail-6585CDA9-B5AF-4659-8770-189C132AF19C-- From owner-freebsd-rc@FreeBSD.ORG Mon Mar 31 02:06:39 2014 Return-Path: Delivered-To: rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 00F7A508; Mon, 31 Mar 2014 02:06:39 +0000 (UTC) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx1.fisglobal.com", Issuer "VeriSign Class 3 Secure Server CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD45B6D0; Mon, 31 Mar 2014 02:06:38 +0000 (UTC) Received: from smarthost.fisglobal.com ([10.132.206.192]) by ltcfislmsgpa07.fnfis.com (8.14.5/8.14.5) with ESMTP id s2V26W4E023544 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 30 Mar 2014 21:06:33 -0500 Received: from THEMADHATTER (10.242.181.54) by smarthost.fisglobal.com (10.132.206.192) with Microsoft SMTP Server id 14.3.174.1; Sun, 30 Mar 2014 21:06:30 -0500 From: Sender: Devin Teske To: "'Jason Hellenthal'" , References: <11c101cf2f6b$e3aee5d0$ab0cb170$@FreeBSD.org> <20140222.141935.520275210006153242.hrs@allbsd.org> <122101cf2f94$bfd81b30$3f885190$@FreeBSD.org> <20140224.125955.1719844232391066.hrs@allbsd.org> <156001cf33dd$f3b5a330$db20e990$@FreeBSD.org> <04c901cf4c5d$a6a4a030$f3ede090$@FreeBSD.org> <0EBE3981-DC85-414D-85B8-7638F172040A@dataix.net> In-Reply-To: <0EBE3981-DC85-414D-85B8-7638F172040A@dataix.net> Subject: RE: network.subr _aliasN handling Date: Sun, 30 Mar 2014 19:06:22 -0700 Message-ID: <04f701cf4c85$d1929680$74b7c380$@FreeBSD.org> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQHttkVtKbJQZ7hszActUMJnbew5kAHwlHOYAhb5coEB8/98xQFzxWDoAuXsNgoCNy8pW5pZOlmg Content-Language: en-us X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87, 1.0.14, 0.0.0000 definitions=2014-03-30_03:2014-03-28,2014-03-30,1970-01-01 signatures=0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: dteske@FreeBSD.org, rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 31 Mar 2014 02:06:39 -0000 Never got a go-ahead. What I got was a complaint that I wasn't normalizing, to which I posted a patch and never got a response. =20 Checking the mailing list archives now=E2=80=A6 =20 http://lists.freebsd.org/pipermail/freebsd-rc/2014-February/thread.htmlhttp= ://lists.freebsd.org/pipermail/freebsd-rc/2014-February/thread.html =20 =20 Yeah, conversation kinda ended with that last patch. =20 But that wouldn't have deterred me. 30+ days of silence is equivalent to acceptance -- just that I had noticed that the patch could be expanded to include mdconfig{,2} scripts. Was going to wait a full day to see if anyone balked at the expansion to include mdconfig{,2} and then move forward. =20 Happy to move forward now that it appears that general opinion is acceptance (and not by silence). --=20 Devin =20 From: Jason Hellenthal [mailto:jhellenthal@dataix.net]=20 Sent: Sunday, March 30, 2014 5:07 PM To: Cc: Hiroki Sato; ; ; Subject: Re: network.subr _aliasN handling =20 Has any of this been committed this far? I seem to recall mention of a go-a= head but unsure. =20 ? --=20 Jason Hellenthal Voice: 95.30.17.6/616 JJH48-ARIN On Mar 30, 2014, at 17:18, = > wrote: -----Original Message----- From: dteske@FreeBSD.org [mailto:dteske@FreeBS= D.org] Sent: Thursday, February 27, 2014 9:04 AM To: 'Hiroki Sato' Cc: jhellenthal@dataix.net ; lists@jnielsen= .net ; rc@FreeBSD.org ; dteske@FreeBSD.org =20 Subject: RE: network.subr _aliasN handling =20 -----Original Message----- From: Hiroki Sato [mailto:hrs@FreeBSD.org] Sent: Sunday, February 23, 2014 8:00 PM To: dteske@FreeBSD.org =20 Cc: jhellenthal@dataix.net ; lists@jnielsen= .net ; rc@FreeBSD.org =20 Subject: Re: network.subr _aliasN handling =20 > wrote in <122101cf2f94$bfd81b30$3f885190$@FreeBSD.org >: =20 dt> > +list_vars() dt> > +{ dt> > + set | { while read LINE; do dt> > + var=3D"${LINE%%=3D*}" dt> > + case "$var" in dt> > + "$LINE"|*[!a-zA-Z0-9_]*) continue ;; dt> > + $1) echo $var dt> > + esac dt> > + done; } dt> > +} dt> > dt> > This can be inconsistent with normalization of $_if in dt> > get_if_var() when dt> [.-/+] dt> > is included. dt> > dt> [Devin Teske] dt> dt> I'm not sure what you mean by "when [.-/+] is included". The line dt> of code =20 get_if_var() normalizes IF part in the variable name before eval: =20 | _if=3D$1 | _punct=3D". - / +" | for _punct_c in $_punct; do | _if=3D`ltr ${_if} ${_punct_c} '_'` | done =20 while list_vars ifconfig_${_if}_alias[0-9]\* does not. =20 I think this breaks the following configuration, for example: =20 ifconfig_bge0_name=3D"ext.1" ifconfig_ext_1=3D"inet 192.168.0.1/24" ifconfig_ext_1_alias0=3D"inet 192.168.1.1/24" =20 =20 Thanks! Didn't know about that feature. I've attached an updated patch for review which takes this normalization into account I was noticing /etc/rc.d/mdconfig and /etc/rc.d/mdconfig2 exhibit the same behavior, so I've attached a new patch. I didn't find any other instances where a break in the count would stop the loop prematurely. No changes to the old patch, just added mdconfig{,2} to it. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-rc@FreeBSD.ORG Mon Mar 31 03:15:21 2014 Return-Path: Delivered-To: rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E3E861C for ; Mon, 31 Mar 2014 03:15:21 +0000 (UTC) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C8248D69 for ; Mon, 31 Mar 2014 03:15:20 +0000 (UTC) Received: by mail-ie0-f178.google.com with SMTP id lx4so7269608iec.9 for ; Sun, 30 Mar 2014 20:15:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=fvlE8L+mRvpBfmvyJpLaKU8A1jc9hbyeV9SFccKE/4E=; b=YBVl+z1e7Upk27hrFXiSwGZL42C88ET+ZBJBVcRm7dVodBG85JkQaoMtuLSauYX1G8 dAY5uatXT7fHbZeST+BZnaOS1ZfLyDGUW7bdUWUc8PMUu5keokO7G9R4bzXafSUd9NiG 01WsM8A6qQO5VVsyPcPrroZOs90yq+UNFrymo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=fvlE8L+mRvpBfmvyJpLaKU8A1jc9hbyeV9SFccKE/4E=; b=aq6TjRtCrWn3xjHbif0aWQxjZOMuxX2IGBAG//6nRG8WEDav+z+n1YLl+l37e++JiE zrGAjNgD11DkaJLiVC+H9V3yvS2T1Pu6wGcD59nYjgEnKBQkeazdiGzDV4eLclFbCVNp DaOlf+MAbqsHogZ8wFGGHZzbwDcBLfn7pao8TS5Ybg4v76MkjCMzf0DgdxQKujnfDmx8 g8/uFnv5EVlkkADWOu72b+qT3SNoL1DwJIZzIC6FiZhtPtz09nXD+X5bMtUUR7SdIXxe 78FYR/oCbYM6wRbncUVFsuXPphOWF/m8KoKbmh8wM4v0XC6nBPCDrUUz6RScM055BSOC LPOg== X-Gm-Message-State: ALoCoQnl4fMrM5vGxbAJk5CcoUIBzh2gSKujzL+lUNiyLlmOa6H5XV0Bws3NO9JAfEOoSBGlF0+j X-Received: by 10.43.156.18 with SMTP id lk18mr961711icc.77.1396235719898; Sun, 30 Mar 2014 20:15:19 -0700 (PDT) Received: from [172.31.35.2] (75-128-101-59.dhcp.sgnw.mi.charter.com. [75.128.101.59]) by mx.google.com with ESMTPSA id ro10sm22494923igb.6.2014.03.30.20.15.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 30 Mar 2014 20:15:18 -0700 (PDT) References: <11c101cf2f6b$e3aee5d0$ab0cb170$@FreeBSD.org> <20140222.141935.520275210006153242.hrs@allbsd.org> <122101cf2f94$bfd81b30$3f885190$@FreeBSD.org> <20140224.125955.1719844232391066.hrs@allbsd.org> <156001cf33dd$f3b5a330$db20e990$@FreeBSD.org> <04c901cf4c5d$a6a4a030$f3ede090$@FreeBSD.org> <0EBE3981-DC85-414D-85B8-7638F172040A@dataix.net> <04f701cf4c85$d1929680$74b7c380$@FreeBSD.org> Mime-Version: 1.0 (1.0) In-Reply-To: <04f701cf4c85$d1929680$74b7c380$@FreeBSD.org> Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-98C730F2-2113-46AF-B1CD-E21D821422CE; protocol="application/pkcs7-signature" Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: iPhone Mail (11B554a) From: Jason Hellenthal Subject: Re: network.subr _aliasN handling Date: Sun, 30 Mar 2014 23:15:17 -0400 To: "" X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "" , "" X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 31 Mar 2014 03:15:21 -0000 --Apple-Mail-98C730F2-2113-46AF-B1CD-E21D821422CE Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Agree, it's such a minor change in unnoticed function its worth the risk ove= r the added ease of use. Can't wait to take the local pages out of queue and= just let it merge. Looking forward, Thanks again Darren --=20 Jason Hellenthal Voice: 95.30.17.6/616 JJH48-ARIN > On Mar 30, 2014, at 22:06, wrote: >=20 > Never got a go-ahead. What I got was a complaint > that I wasn't normalizing, to which I posted a patch > and never got a response. > =20 > Checking the mailing list archives now=E2=80=A6 > =20 > http://lists.freebsd.org/pipermail/freebsd-rc/2014-February/thread.htmlhtt= p://lists.freebsd.org/pipermail/freebsd-rc/2014-February/thread.html > =20 > Yeah, conversation kinda ended with that last patch. > =20 > But that wouldn't have deterred me. 30+ days of > silence is equivalent to acceptance -- just that I > had noticed that the patch could be expanded to > include mdconfig{,2} scripts. Was going to wait a > full day to see if anyone balked at the expansion > to include mdconfig{,2} and then move forward. > =20 > Happy to move forward now that it appears that > general opinion is acceptance (and not by silence). > -- > Devin > =20 > From: Jason Hellenthal [mailto:jhellenthal@dataix.net]=20 > Sent: Sunday, March 30, 2014 5:07 PM > To: > Cc: Hiroki Sato; ; ; > Subject: Re: network.subr _aliasN handling > =20 > Has any of this been committed this far? I seem to recall mention of a go-= ahead but unsure. > =20 > ? >=20 > --=20 > Jason Hellenthal > Voice: 95.30.17.6/616 > JJH48-ARIN >=20 > On Mar 30, 2014, at 17:18, wrote: >=20 >=20 >=20 >=20 > -----Original Message----- > From: dteske@FreeBSD.org [mailto:dteske@FreeBSD.org] > Sent: Thursday, February 27, 2014 9:04 AM > To: 'Hiroki Sato' > Cc: jhellenthal@dataix.net; lists@jnielsen.net; rc@FreeBSD.org; > dteske@FreeBSD.org > Subject: RE: network.subr _aliasN handling > =20 > -----Original Message----- > From: Hiroki Sato [mailto:hrs@FreeBSD.org] > Sent: Sunday, February 23, 2014 8:00 PM > To: dteske@FreeBSD.org > Cc: jhellenthal@dataix.net; lists@jnielsen.net; rc@FreeBSD.org > Subject: Re: network.subr _aliasN handling > =20 > wrote > in <122101cf2f94$bfd81b30$3f885190$@FreeBSD.org>: > =20 > dt> > +list_vars() > dt> > +{ > dt> > + set | { while read LINE; do > dt> > + var=3D"${LINE%%=3D*}" > dt> > + case "$var" in > dt> > + "$LINE"|*[!a-zA-Z0-9_]*) continue ;; > dt> > + $1) echo $var > dt> > + esac > dt> > + done; } > dt> > +} > dt> > > dt> > This can be inconsistent with normalization of $_if in > dt> > get_if_var() > when > dt> [.-/+] > dt> > is included. > dt> > > dt> [Devin Teske] > dt> > dt> I'm not sure what you mean by "when [.-/+] is included". The line > dt> of > code > =20 > get_if_var() normalizes IF part in the variable name before eval: > =20 > | _if=3D$1 > | _punct=3D". - / +" > | for _punct_c in $_punct; do > | _if=3D`ltr ${_if} ${_punct_c} '_'` > | done > =20 > while list_vars ifconfig_${_if}_alias[0-9]\* does not. > =20 > I think this breaks the following configuration, for example: > =20 > ifconfig_bge0_name=3D"ext.1" > ifconfig_ext_1=3D"inet 192.168.0.1/24" > ifconfig_ext_1_alias0=3D"inet 192.168.1.1/24" > =20 > =20 > Thanks! Didn't know about that feature. I've attached an updated patch for= > review which takes this normalization into account >=20 > I was noticing /etc/rc.d/mdconfig and /etc/rc.d/mdconfig2 exhibit the same= > behavior, so I've attached a new patch. I didn't find any other instances > where a break in the count would stop the loop prematurely. >=20 > No changes to the old patch, just added mdconfig{,2} to it. > --=20 > Devin >=20 > _____________ > The information contained in this message is proprietary and/or confidenti= al. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any man= ner; and (iii) notify the sender immediately. In addition, please be aware t= hat any message addressed to our domain is subject to archiving and review b= y persons other than the intended recipient. Thank you. > > _____________ > The information contained in this message is proprietary and/or confidenti= al. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any man= ner; and (iii) notify the sender immediately. In addition, please be aware t= hat any message addressed to our domain is subject to archiving and review b= y persons other than the intended recipient. Thank you. --Apple-Mail-98C730F2-2113-46AF-B1CD-E21D821422CE Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUOTCCBjAw ggUYoAMCAQICAwaijjANBgkqhkiG9w0BAQsFADCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0 YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcx ODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENB MB4XDTEzMDUxODA4NTA0OFoXDTE0MDUxOTIyMDk0N1owSDEfMB0GA1UEAwwWamhlbGxlbnRoYWxA ZGF0YWl4Lm5ldDElMCMGC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QAEggEAEyOMI26pOTXTMdmxE93E YlsVubDMKSvNMVVldP5kwokKAmZNR974LRvn/3ZCRpe+/EKvXSnbNULd6rZ7Xk5Jl8cmmA/AKp2r W5YnVpbtpIMbiOH1WRT+jy7tR6BbKIXNONn+LCM/XYJLy7WN4Tjo3ioxCaI47C2eX5EvKh8v1C3j 9g4FOudO8IfeMdnUHeQIveluI45N/u9i01wvVy+JHcb64ZLQPYj6FNf06azYW7qOWp4i5MSOV/l+ ScSTEHfbqQtAclR6Z2f/GFXHitVmAp9vKE4tFdjEsjkSJZuwcgTTsVCn3AOdc//Fsu/MXtUnBR85 J+CApBnd5R7atr2FIwAAAAAAAA== --Apple-Mail-98C730F2-2113-46AF-B1CD-E21D821422CE-- From owner-freebsd-rc@FreeBSD.ORG Mon Mar 31 03:18:47 2014 Return-Path: Delivered-To: rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 529C966D; Mon, 31 Mar 2014 03:18:47 +0000 (UTC) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.allbsd.org", Issuer "RapidSSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BD451D85; Mon, 31 Mar 2014 03:18:46 +0000 (UTC) Received: from alph.d.allbsd.org ([IPv6:2001:2f0:104:e010:862b:2bff:febc:8956]) (authenticated bits=56) by mail.allbsd.org (8.14.8/8.14.8) with ESMTP id s2V3INK9027287 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 31 Mar 2014 12:18:33 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.d.allbsd.org (8.14.7/8.14.7) with ESMTP id s2V3IKJZ026283; Mon, 31 Mar 2014 12:18:22 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Mon, 31 Mar 2014 12:17:57 +0900 (JST) Message-Id: <20140331.121757.1100840815853109946.hrs@allbsd.org> To: dteske@FreeBSD.org Subject: Re: network.subr _aliasN handling From: Hiroki Sato In-Reply-To: <04f701cf4c85$d1929680$74b7c380$@FreeBSD.org> References: <04c901cf4c5d$a6a4a030$f3ede090$@FreeBSD.org> <0EBE3981-DC85-414D-85B8-7638F172040A@dataix.net> <04f701cf4c85$d1929680$74b7c380$@FreeBSD.org> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Mon_Mar_31_12_17_57_2014_569)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.4 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mail.allbsd.org [IPv6:2001:2f0:104:e001::32]); Mon, 31 Mar 2014 12:18:35 +0900 (JST) X-Spam-Status: No, score=-97.9 required=13.0 tests=CONTENT_TYPE_PRESENT, LOTS_OF_MONEY,RDNS_NONE,SPF_SOFTFAIL,USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on gatekeeper.allbsd.org Cc: jhellenthal@dataix.net, rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 31 Mar 2014 03:18:47 -0000 ----Security_Multipart(Mon_Mar_31_12_17_57_2014_569)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit wrote in <04f701cf4c85$d1929680$74b7c380$@FreeBSD.org>: dt> But that wouldn't have deterred me. 30+ days of dt> silence is equivalent to acceptance -- just that I dt> had noticed that the patch could be expanded to dt> include mdconfig{,2} scripts. Was going to wait a dt> full day to see if anyone balked at the expansion dt> to include mdconfig{,2} and then move forward. I like the direction in general, but there are two more comments: 1. sort(1) cannot be used in rc.d/mdconfig and should not be used in rc.d/netif because it is before rc.d/mountcritremote. It is one of the reasons why a loop is used for fooN variables instead of symbol table lookup. This may be a controversial point because our installer is now using a single partition for whole of the base system. However, rc.d/ scripts have been implemented in consideration of / and /usr separation and it gives configuration flexibility. I personally think we should avoid grep, sort, etc. in scripts before mountcritremote whenever possible, and must be used in ones before mountcritlocal. And another question: is the order important in practice? I am wondering if dropping sort(1) is harmful except that the behavior is not intuitive. 2. Please put the normalization part into a function and use it in get_if_var(), too. Adding another code for the same functionality makes maintenance difficult. It degrades the performance a bit but I think maintainability is more important for that. -- Hiroki ----Security_Multipart(Mon_Mar_31_12_17_57_2014_569)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlM43mUACgkQTyzT2CeTzy1SIACg1G7iUXv9JxwrOwwqfiVCo0Fj czoAn0OmcdAu+/CW95SiB3/5pboxut+p =Gokm -----END PGP SIGNATURE----- ----Security_Multipart(Mon_Mar_31_12_17_57_2014_569)---- From owner-freebsd-rc@FreeBSD.ORG Mon Mar 31 11:06:50 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B7FFDB06 for ; Mon, 31 Mar 2014 11:06:50 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9AFC2BA9 for ; Mon, 31 Mar 2014 11:06:50 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2VB6oJI058810 for ; Mon, 31 Mar 2014 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2VB6o7Z058808 for freebsd-rc@FreeBSD.org; Mon, 31 Mar 2014 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 31 Mar 2014 11:06:50 GMT Message-Id: <201403311106.s2VB6o7Z058808@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 Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 31 Mar 2014 11:06:50 -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/187696 rc After upgrade 9.1->9.2 boot deadlock if ipv4_addrs_IF o conf/186841 rc rc.conf ifconfig syntax for binding ip-ranges broken [ o conf/185429 rc [rc.subr] ${name}_chroot does not work when there's a o conf/184355 rc [rc.firewall] [patch] ipfw failed to restart if tables o conf/181625 rc [patch] add rc.d/ script for freebsd-update o conf/180183 rc [rc.d] rc.d allows scripts without rcvar set to start o conf/179828 rc [rc.d] [PATCH] rc.d/syslogd link socket to /dev/log fa o conf/177217 rc [patch] rc.d/ddb -- squelch warning when ddb_enable=ye o conf/177089 rc ntpd startup script does not work well o conf/176347 rc [rc.conf] [patch] Add support for firewall deny lists o conf/176181 rc [rc.subr] rc.subr emitting warnings for non-defined xx o conf/175311 rc [patch] add "dump" fs type support to rc.d/dumpon o conf/175105 rc /etc/rc.d/* and more: syntax 'return_boolean_cmd && do o conf/175079 rc [rc.subr] [patch] rc.subr poorly handles recursive run o bin/173153 rc [rc.d] [patch] $netwait_ip should be more parallel o conf/172532 rc [rc] [patch] service routing restart always fails o conf/169047 rc [rc.subr] [patch] /etc/rc.subr not checking some scrip p bin/168544 rc [patch] [rc]: addswap-mounted swapfiles cause panic on o conf/167566 rc [rc.d] [patch] ipdivert module loading vs. ipfw rc.d o o conf/166484 rc [rc] [patch] rc.initdiskless patch for different major o conf/165769 rc [rc][jai][ipv6] IPv6 Initialization on external iface o conf/164393 rc [rc.d] restarting netif with static addresses doesn't o conf/163508 rc [rc.subr] [patch] Add "enable" and "disable" commands o conf/163488 rc Confusing explanation in defaults/rc.conf o conf/162642 rc .sh scripts in /usr/local/etc/rc.d get executed, not s o conf/161107 rc [rc] stop_boot in mountcritlocal usage is incorrect. o conf/160403 rc [rc] [patch] concurrently running rc-scripts during bo o conf/160240 rc rc.d/mdconfig and mdconfig2 should autoset $_type to v o conf/159846 rc [rc.conf] routing_stop_inet6() logic doesn't handle ip o conf/158557 rc [patch] /etc/rc.d/pf broken messages o conf/158127 rc [patch] remount_optional option in rc.initdiskless doe 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/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/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/143637 rc [patch] ntpdate(8) support for ntp-servers supplied by o conf/143085 rc [patch] ftp-proxy(8) rc(8) with multiple instances a 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/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip p conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b 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/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped 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 a 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 f conf/118255 rc savecore never finding kernel core dumps (rcorder prob f conf/117935 rc [patch] ppp fails to start at boot because of missing f conf/113915 rc [ndis] [patch] ndis wireless driver fails to associate 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 f conf/105689 rc [ppp] [request] syslogd starts too late at boot f conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f 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/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d f 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 a 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 a conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f conf/56934 rc [patch] rc.firewall rules for natd expect an interface f conf/13775 rc multi-user boot may hang in NIS environment 93 problems total. From owner-freebsd-rc@FreeBSD.ORG Mon Mar 31 19:04:49 2014 Return-Path: Delivered-To: rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ADC01E68; Mon, 31 Mar 2014 19:04:49 +0000 (UTC) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx1.fisglobal.com", Issuer "VeriSign Class 3 Secure Server CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 70C748F9; Mon, 31 Mar 2014 19:04:48 +0000 (UTC) Received: from smarthost.fisglobal.com ([10.132.206.192]) by ltcfislmsgpa07.fnfis.com (8.14.5/8.14.5) with ESMTP id s2VJ4kVt001301 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 31 Mar 2014 14:04:46 -0500 Received: from THEMADHATTER (10.242.181.54) by smarthost.fisglobal.com (10.132.206.192) with Microsoft SMTP Server id 14.3.174.1; Mon, 31 Mar 2014 14:04:43 -0500 From: Sender: Devin Teske To: "'Hiroki Sato'" , References: <04c901cf4c5d$a6a4a030$f3ede090$@FreeBSD.org> <0EBE3981-DC85-414D-85B8-7638F172040A@dataix.net> <04f701cf4c85$d1929680$74b7c380$@FreeBSD.org> <20140331.121757.1100840815853109946.hrs@allbsd.org> In-Reply-To: <20140331.121757.1100840815853109946.hrs@allbsd.org> Subject: RE: network.subr _aliasN handling Date: Mon, 31 Mar 2014 12:04:35 -0700 Message-ID: <069f01cf4d14$0ff03980$2fd0ac80$@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_06A0_01CF4CD9.6391AFA0" X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQLl7DYKykKh8p6TvLmmwe5q3zMB9AI3LylbArF10lEChFGO0piS3SKQ Content-Language: en-us X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87, 1.0.14, 0.0.0000 definitions=2014-03-31_03:2014-03-31,2014-03-31,1970-01-01 signatures=0 Cc: jhellenthal@dataix.net, rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 31 Mar 2014 19:04:49 -0000 ------=_NextPart_000_06A0_01CF4CD9.6391AFA0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > -----Original Message----- > From: Hiroki Sato [mailto:hrs@FreeBSD.org] > Sent: Sunday, March 30, 2014 8:18 PM > To: dteske@FreeBSD.org > Cc: jhellenthal@dataix.net; lists@jnielsen.net; rc@FreeBSD.org > Subject: Re: network.subr _aliasN handling > > wrote > in <04f701cf4c85$d1929680$74b7c380$@FreeBSD.org>: > > dt> But that wouldn't have deterred me. 30+ days of silence is > dt> equivalent to acceptance -- just that I had noticed that the patch > dt> could be expanded to include mdconfig{,2} scripts. Was going to wait > dt> a full day to see if anyone balked at the expansion to include > dt> mdconfig{,2} and then move forward. > > I like the direction in general, but there are two more comments: > > 1. sort(1) cannot be used [snip] Problem solved. I just wrote a mini-sort(1) in shell that uses only shell built-ins (now it doesn't matter what's mounted). See attached patch.txt (added sort_lite() function to rc.subr). > > 2. Please put the normalization part into a function and use it in > get_if_var(), too. Adding another code for the same functionality > makes maintenance difficult. There is already a function for doing the normalization ... ltr() and it is already used by get_if_var. However, I am not using ltr() because it itself degrades performance. Because ltr() produces its result on stdout, it requires the use of a sub-shell to capture the result. NB: I think a good approach would be to fix ltr() and use it instead of creating some new function and changing get_if_var() to use it instead of ltr(). > It degrades the performance a bit > but I think maintainability is more important for that. > Negative. The 3-lines of code you're talking about operate about 1000 times faster than calling ltr() in a sub-shell to perform the same action. That being said... let's do this... let's give ltr() a new argument that can be used to set a variable in the caller's name-space rather than requiring me to call it in a sub-shell to cull the answer. See attached patch wherein I also modify ltr() to fit our needs. However, while we're here, let's not point a finger at this glaringly obvious problem with ltr(): dteske@scribe9.vicor.com etc $ sh -c '. /etc/rc.subr; echo "IFS=[$IFS]"; ltr foo.bar . _; echo "IFS=[$IFS]"' IFS=[ ] foo_bar IFS=[.] It modifies IFS and doesn't restore it. Let me fix that while I'm here. Oh, and let's quote those positional arguments too so that *maybe* someone could pass whitespace into the IFS (among other things). Oh look, while we're here let's make get_if_var() more efficient. Because the following is just plain silly... _punct=". - / +" for _punct_c in $_punct; do _if=`ltr ${_if} ${_punct_c} '_'` done Should instead be... _punct=".-/+" _if=`ltr ${_if} "${_punct}" '_'` But of course, with the new ltr() syntax, we could get rid of all the sub-shells: _punct=".-/+" ltr "$_if" "$_punct" '_' "_if" Please see attached patch. -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ------=_NextPart_000_06A0_01CF4CD9.6391AFA0 Content-Type: text/plain; name="patch.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="patch.txt" Index: head/etc/network.subr=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= --- etc/network.subr (revision 263957)=0A= +++ etc/network.subr (working copy)=0A= @@ -283,10 +283,8 @@ get_if_var()=0A= fi=0A= =0A= _if=3D$1=0A= - _punct=3D". - / +"=0A= - for _punct_c in $_punct; do=0A= - _if=3D`ltr ${_if} ${_punct_c} '_'`=0A= - done=0A= + _punct=3D".-/+"=0A= + ltr ${_if} "${_punct}" '_' _if=0A= _var=3D$2=0A= _default=3D$3=0A= =0A= @@ -1076,6 +1074,7 @@ ifalias_af_common_handler()=0A= ifalias_af_common()=0A= {=0A= local _ret _if _af _action alias ifconfig_args _aliasn _c _tmpargs _iaf=0A= + local _punct=3D".-/+"=0A= =0A= _ret=3D1=0A= _aliasn=3D=0A= @@ -1083,10 +1082,14 @@ ifalias_af_common()=0A= _af=3D$2=0A= _action=3D$3=0A= =0A= + # Normalize $_if before using it in a pattern to list_vars()=0A= + ltr "$_if" "$_punct" "_" _if=0A= +=0A= # ifconfig_IF_aliasN which starts with $_af=0A= - alias=3D0=0A= - while : ; do=0A= - ifconfig_args=3D`get_if_var $_if ifconfig_IF_alias${alias}`=0A= + for alias in `list_vars ifconfig_${_if}_alias[0-9]\* |=0A= + sort_lite -nk1.$((9+${#_if}+7))`=0A= + do=0A= + eval ifconfig_args=3D\"\$$alias\"=0A= _iaf=3D=0A= case $ifconfig_args in=0A= inet\ *) _iaf=3Dinet ;;=0A= @@ -1107,15 +1110,15 @@ ifalias_af_common()=0A= warn "\$ifconfig_${_if}_alias${alias} needs " \=0A= "\"inet\" keyword for an IPv4 address."=0A= esac=0A= - alias=3D$(($alias + 1))=0A= done=0A= =0A= # backward compatibility: ipv6_ifconfig_IF_aliasN.=0A= case $_af in=0A= inet6)=0A= - alias=3D0=0A= - while : ; do=0A= - ifconfig_args=3D`get_if_var $_if ipv6_ifconfig_IF_alias${alias}`=0A= + for alias in `list_vars ipv6_ifconfig_${_if}_alias[0-9]\* |=0A= + sort_lite -nk1.$((14+${#_if}+7))`=0A= + do=0A= + eval ifconfig_args=3D\"\$$alias\"=0A= case ${_action}:"${ifconfig_args}" in=0A= *:"")=0A= break=0A= @@ -1127,7 +1130,6 @@ ifalias_af_common()=0A= "instead."=0A= ;;=0A= esac=0A= - alias=3D$(($alias + 1))=0A= done=0A= esac=0A= =0A= Index: head/etc/rc.d/mdconfig=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= --- etc/rc.d/mdconfig (revision 263957)=0A= +++ etc/rc.d/mdconfig (working copy)=0A= @@ -181,17 +181,14 @@ fi=0A= =0A= load_rc_config $name=0A= =0A= -_mdconfig_unit=3D0=0A= if [ -z "${_mdconfig_list}" ]; then=0A= - while :; do=0A= - eval _mdconfig_config=3D\$mdconfig_md${_mdconfig_unit}=0A= - if [ -z "${_mdconfig_config}" ]; then=0A= - break=0A= - else=0A= - _mdconfig_list=3D"${_mdconfig_list}${_mdconfig_list:+ = }md${_mdconfig_unit}"=0A= - _mdconfig_unit=3D$((${_mdconfig_unit} + 1))=0A= - fi=0A= + for _mdconfig_config in `list_vars mdconfig_md[0-9]\* |=0A= + sort_lite -nk1.12`=0A= + do=0A= + _mdconfig_unit=3D${_mdconfig_config#mdconfig_md}=0A= + _mdconfig_list=3D"$_mdconfig_list md$_mdconfig_unit"=0A= done=0A= + _mdconfig_list=3D"${_mdconfig_list# }"=0A= fi=0A= =0A= run_rc_command "${_mdconfig_cmd}"=0A= Index: head/etc/rc.d/mdconfig2=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= --- etc/rc.d/mdconfig2 (revision 263957)=0A= +++ etc/rc.d/mdconfig2 (working copy)=0A= @@ -211,17 +211,14 @@ fi=0A= =0A= load_rc_config $name=0A= =0A= -_mdconfig2_unit=3D0=0A= if [ -z "${_mdconfig2_list}" ]; then=0A= - while :; do=0A= - eval _mdconfig2_config=3D\$mdconfig_md${_mdconfig2_unit}=0A= - if [ -z "${_mdconfig2_config}" ]; then=0A= - break=0A= - else=0A= - _mdconfig2_list=3D"${_mdconfig2_list}${_mdconfig2_list:+ = }md${_mdconfig2_unit}"=0A= - _mdconfig2_unit=3D$((${_mdconfig2_unit} + 1))=0A= - fi=0A= + for _mdconfig2_config in `list_vars mdconfig_md[0-9]\* |=0A= + sort_lite -nk1.12`=0A= + do=0A= + _mdconfig2_unit=3D${_mdconfig2_config#mdconfig_md}=0A= + _mdconfig2_list=3D"$_mdconfig2_list md$_mdconfig2_unit"=0A= done=0A= + _mdconfig2_list=3D"${_mdconfig2_list# }"=0A= fi=0A= =0A= run_rc_command "${_mdconfig2_cmd}"=0A= Index: head/etc/rc.subr=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= --- etc/rc.subr (revision 263957)=0A= +++ etc/rc.subr (working copy)=0A= @@ -54,6 +54,20 @@ JID=3D`$PS -p $$ -o jid=3D`=0A= # functions=0A= # ---------=0A= =0A= +# list_vars pattern=0A= +# List vars matching pattern.=0A= +# =0A= +list_vars()=0A= +{=0A= + set | { while read LINE; do=0A= + var=3D"${LINE%%=3D*}"=0A= + case "$var" in=0A= + "$LINE"|*[!a-zA-Z0-9_]*) continue ;;=0A= + $1) echo $var=0A= + esac=0A= + done; }=0A= +}=0A= +=0A= # set_rcvar_obsolete oldvar [newvar] [msg]=0A= # Define obsolete variable.=0A= # Global variable $rcvars_obsolete is used.=0A= @@ -314,7 +328,109 @@ _find_processes()=0A= eval $_proccheck=0A= }=0A= =0A= +# sort_lite [-n] [-k POS]=0A= +# A lite version of sort(1) supporting a few options that can be used=0A= +# before the real sort(1) is available (e.g., in scripts that run prior=0A= +# to mountcritremote). Requirs only shell built-in functionality.=0A= #=0A= +sort_lite()=0A= +{=0A= + local nitems=3D0=0A= + local skip_leading=3D0 trim=3D=0A= + local numeric=3D key=3D1=0A= +=0A= + local OPTIND flag=0A= + while getopts nk: flag; do=0A= + case "$flag" in=0A= + n) numeric=3D1 ;;=0A= + k) key=3D"${OPTARG%%,*}" ;; # Unlike sort(1) only one POS allowed=0A= + \?) return 1 ;;=0A= + esac=0A= + done=0A= + shift $(( $OPTIND - 1 ))=0A= +=0A= + # If first argument is an integer, ignore N leading bytes=0A= + case "$1" in=0A= + *[!0-9]*|"") : not an integer ;;=0A= + *) skip_leading=3D$1=0A= + esac=0A= +=0A= + # Create transformation pattern to trim leading text if desired=0A= + case "$key" in=0A= + ""|[!0-9]*|*[!0-9.]*)=0A= + echo "sort_lite: invalid number at field start:" \=0A= + "invalid count at start of \`$key'" >&2=0A= + return 1=0A= + ;;=0A= + *.*)=0A= + skip_leading=3D${key#*.} key=3D${key%%.*}=0A= + while [ ${skip_leading:-0} -gt 1 ] 2> /dev/null; do=0A= + trim=3D"$trim?" skip_leading=3D$(( $skip_leading - 1 ))=0A= + done=0A= + esac=0A= +=0A= + # Copy input to series of local numbered variables=0A= + local LINE=0A= + while read LINE; do=0A= + nitems=3D$(( $nitems + 1 ))=0A= + local src_$nitems=0A= + setvar src_$nitems "$LINE"=0A= + done=0A= +=0A= + # Sort numbered locals using insertion sort=0A= + local i=3D1 k=3D0 item kitem gt=3D">"=0A= + [ "$numeric" ] && gt=3D"-gt"=0A= + while [ $i -le $nitems ]; do=0A= + eval item=3D\"\$src_$i\" kitem=3D\"\${src_$k:-0}\"=0A= + key_item=3D"$item" key_kitem=3D"$kitem"=0A= + _key=3D$key=0A= + while [ $_key -gt 1 ]; do=0A= + key_item=3D"${key_item#*[$IFS]}"=0A= + while case "$key_item" in=0A= + [$IFS]*) true;; *) false; esac=0A= + do=0A= + key_item=3D"${key_item#?}"=0A= + done=0A= + key_kitem=3D"${key_kitem#*[$IFS]}"=0A= + while case "$key_kitem" in=0A= + [$IFS]*) true;; *) false; esac=0A= + do=0A= + key_kitem=3D"${key_kitem#?}"=0A= + done=0A= + _key=3D$(( $_key - 1 ))=0A= + done=0A= + while [ $k -gt 0 -a \=0A= + "${key_kitem#$trim}" $gt "${key_item#$trim}" ] 2> /dev/null=0A= + do=0A= + eval dest_$(( $k + 1 ))=3D\"\$dest_$k\"=0A= + k=3D$(( $k - 1 ))=0A= + eval kitem=3D\"\$src_$k\"=0A= + key_kitem=3D"$kitem"=0A= + _key=3D$key=0A= + while [ $_key -gt 1 ]; do=0A= + key_kitem=3D"${key_kitem#*[$IFS]}"=0A= + while case "$key_kitem" in=0A= + [$IFS]*) true;; *) false; esac=0A= + do=0A= + key_kitem=3D"${key_kitem#?}"=0A= + done=0A= + _key=3D$(( $_key - 1 ))=0A= + done=0A= + done=0A= + local dest_$(( $k + 1 ))=3D"$item"=0A= + i=3D$(( $i + 1 ))=0A= + k=3D$(( $i - 1 ))=0A= + done=0A= +=0A= + # Print sorted results=0A= + i=3D1=0A= + while [ $i -le $nitems ]; do=0A= + eval echo \"\$dest_$i\"=0A= + i=3D$(( $i + 1 ))=0A= + done=0A= +}=0A= +=0A= +#=0A= # wait_for_pids pid [pid ...]=0A= # spins until none of the pids exist=0A= #=0A= @@ -1524,19 +1640,20 @@ load_kld()=0A= return 0=0A= }=0A= =0A= -# ltr str src dst=0A= +# ltr str src dst [var]=0A= # Change every $src in $str to $dst.=0A= # Useful when /usr is not yet mounted and we cannot use tr(1), sed(1) = nor=0A= -# awk(1).=0A= +# awk(1). If var is non-NULL, set it to the result.=0A= ltr()=0A= {=0A= - local _str _src _dst _out _com=0A= - _str=3D$1=0A= - _src=3D$2=0A= - _dst=3D$3=0A= + local _str _src _dst _out _com _var=0A= + _str=3D"$1"=0A= + _src=3D"$2"=0A= + _dst=3D"$3"=0A= + _var=3D"$4"=0A= _out=3D""=0A= =0A= - IFS=3D${_src}=0A= + local IFS=3D"${_src}"=0A= for _com in ${_str}; do=0A= if [ -z "${_out}" ]; then=0A= _out=3D"${_com}"=0A= @@ -1544,7 +1661,11 @@ ltr()=0A= _out=3D"${_out}${_dst}${_com}"=0A= fi=0A= done=0A= - echo "${_out}"=0A= + if [ -n "${_var}" ]; then=0A= + setvar "${_var}" "${_out}"=0A= + else=0A= + echo "${_out}"=0A= + fi=0A= }=0A= =0A= # Creates a list of providers for GELI encryption.=0A= ------=_NextPart_000_06A0_01CF4CD9.6391AFA0-- From owner-freebsd-rc@FreeBSD.ORG Mon Apr 7 11:06:50 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C6A79BC0 for ; Mon, 7 Apr 2014 11:06:50 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A9BC4C07 for ; Mon, 7 Apr 2014 11:06:50 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s37B6oqU071184 for ; Mon, 7 Apr 2014 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s37B6o7V071182 for freebsd-rc@FreeBSD.org; Mon, 7 Apr 2014 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 7 Apr 2014 11:06:50 GMT Message-Id: <201404071106.s37B6o7V071182@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 Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 07 Apr 2014 11:06:50 -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/187696 rc After upgrade 9.1->9.2 boot deadlock if ipv4_addrs_IF o conf/186841 rc rc.conf ifconfig syntax for binding ip-ranges broken [ o conf/185429 rc [rc.subr] ${name}_chroot does not work when there's a o conf/184355 rc [rc.firewall] [patch] ipfw failed to restart if tables o conf/181625 rc [patch] add rc.d/ script for freebsd-update o conf/180183 rc [rc.d] rc.d allows scripts without rcvar set to start o conf/179828 rc [rc.d] [PATCH] rc.d/syslogd link socket to /dev/log fa o conf/177217 rc [patch] rc.d/ddb -- squelch warning when ddb_enable=ye o conf/177089 rc ntpd startup script does not work well o conf/176347 rc [rc.conf] [patch] Add support for firewall deny lists o conf/176181 rc [rc.subr] rc.subr emitting warnings for non-defined xx o conf/175311 rc [patch] add "dump" fs type support to rc.d/dumpon o conf/175105 rc /etc/rc.d/* and more: syntax 'return_boolean_cmd && do o conf/175079 rc [rc.subr] [patch] rc.subr poorly handles recursive run o bin/173153 rc [rc.d] [patch] $netwait_ip should be more parallel o conf/172532 rc [rc] [patch] service routing restart always fails o conf/169047 rc [rc.subr] [patch] /etc/rc.subr not checking some scrip p bin/168544 rc [patch] [rc]: addswap-mounted swapfiles cause panic on o conf/167566 rc [rc.d] [patch] ipdivert module loading vs. ipfw rc.d o o conf/166484 rc [rc] [patch] rc.initdiskless patch for different major o conf/165769 rc [rc][jai][ipv6] IPv6 Initialization on external iface o conf/164393 rc [rc.d] restarting netif with static addresses doesn't o conf/163508 rc [rc.subr] [patch] Add "enable" and "disable" commands o conf/163488 rc Confusing explanation in defaults/rc.conf o conf/162642 rc .sh scripts in /usr/local/etc/rc.d get executed, not s o conf/161107 rc [rc] stop_boot in mountcritlocal usage is incorrect. o conf/160403 rc [rc] [patch] concurrently running rc-scripts during bo o conf/160240 rc rc.d/mdconfig and mdconfig2 should autoset $_type to v o conf/159846 rc [rc.conf] routing_stop_inet6() logic doesn't handle ip o conf/158557 rc [patch] /etc/rc.d/pf broken messages o conf/158127 rc [patch] remount_optional option in rc.initdiskless doe 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/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/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/143637 rc [patch] ntpdate(8) support for ntp-servers supplied by o conf/143085 rc [patch] ftp-proxy(8) rc(8) with multiple instances a 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/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip p conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b 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/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped 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 a 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 f conf/118255 rc savecore never finding kernel core dumps (rcorder prob f conf/117935 rc [patch] ppp fails to start at boot because of missing f conf/113915 rc [ndis] [patch] ndis wireless driver fails to associate 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 f conf/105689 rc [ppp] [request] syslogd starts too late at boot f conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f 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/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d f 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 a 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 a conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f conf/56934 rc [patch] rc.firewall rules for natd expect an interface f conf/13775 rc multi-user boot may hang in NIS environment 93 problems total. From owner-freebsd-rc@FreeBSD.ORG Mon Apr 7 22:45:21 2014 Return-Path: Delivered-To: rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 73884FB6; Mon, 7 Apr 2014 22:45:21 +0000 (UTC) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx1.fisglobal.com", Issuer "VeriSign Class 3 Secure Server CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B34DDDF; Mon, 7 Apr 2014 22:45:20 +0000 (UTC) Received: from smarthost.fisglobal.com ([10.132.206.192]) by ltcfislmsgpa04.fnfis.com (8.14.5/8.14.5) with ESMTP id s37MjG40030077 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 7 Apr 2014 17:45:16 -0500 Received: from THEMADHATTER (10.242.181.54) by smarthost.fisglobal.com (10.132.206.192) with Microsoft SMTP Server id 14.3.174.1; Mon, 7 Apr 2014 17:45:13 -0500 From: Sender: Devin Teske To: , "'Hiroki Sato'" References: <04c901cf4c5d$a6a4a030$f3ede090$@FreeBSD.org> <0EBE3981-DC85-414D-85B8-7638F172040A@dataix.net> <04f701cf4c85$d1929680$74b7c380$@FreeBSD.org> <20140331.121757.1100840815853109946.hrs@allbsd.org> <069f01cf4d14$0ff03980$2fd0ac80$@FreeBSD.org> In-Reply-To: <069f01cf4d14$0ff03980$2fd0ac80$@FreeBSD.org> Subject: RE: network.subr _aliasN handling Date: Mon, 7 Apr 2014 15:45:04 -0700 Message-ID: <0d7c01cf52b3$05a02a40$10e07ec0$@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQLl7DYKykKh8p6TvLmmwe5q3zMB9AI3LylbArF10lEChFGO0gGefDWYmJEw4XA= Content-Language: en-us X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.96, 1.0.14, 0.0.0000 definitions=2014-04-07_04:2014-04-07,2014-04-07,1970-01-01 signatures=0 Cc: jhellenthal@dataix.net, rc@FreeBSD.org, dteske@freebsd.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 07 Apr 2014 22:45:21 -0000 > -----Original Message----- > From: dteske@FreeBSD.org [mailto:dteske@FreeBSD.org] > Sent: Monday, March 31, 2014 12:05 PM > To: 'Hiroki Sato'; dteske@FreeBSD.org > Cc: jhellenthal@dataix.net; lists@jnielsen.net; rc@FreeBSD.org > Subject: RE: network.subr _aliasN handling > > > -----Original Message----- > > From: Hiroki Sato [mailto:hrs@FreeBSD.org] > > Sent: Sunday, March 30, 2014 8:18 PM > > To: dteske@FreeBSD.org > > Cc: jhellenthal@dataix.net; lists@jnielsen.net; rc@FreeBSD.org > > Subject: Re: network.subr _aliasN handling > > > > wrote > > in <04f701cf4c85$d1929680$74b7c380$@FreeBSD.org>: > > > > dt> But that wouldn't have deterred me. 30+ days of silence is > > dt> equivalent to acceptance -- just that I had noticed that the patch > > dt> could be expanded to include mdconfig{,2} scripts. Was going to > > dt> wait a full day to see if anyone balked at the expansion to > > dt> include mdconfig{,2} and then move forward. > > > > I like the direction in general, but there are two more comments: > > Committed change: http://svnweb.freebsd.org/changeset/base/264243 > > 1. sort(1) cannot be used [snip] > > Problem solved. Ended up beefing up the internal sort function (sort_lite()). Gave it some more options and regression tested it against several inputs and flags to always produce the same output as sort(1). > > 2. Please put the normalization part into a function and use it in > > get_if_var(), too. Adding another code for the same functionality > > makes maintenance difficult. Aforementioned enhancements to address that included in mentioned SVN r264243. -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-rc@FreeBSD.ORG Mon Apr 7 23:08:27 2014 Return-Path: Delivered-To: rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0F56A522 for ; Mon, 7 Apr 2014 23:08:27 +0000 (UTC) Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [IPv6:2607:f8b0:4001:c05::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BABF910C4 for ; Mon, 7 Apr 2014 23:08:26 +0000 (UTC) Received: by mail-ig0-f177.google.com with SMTP id ur14so327158igb.16 for ; Mon, 07 Apr 2014 16:08:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=mmCEC/Nsw9M0apZPqG2H/t6zG+gSz0ETJPmXf2prUHM=; b=YDNBJjR3mTxyY0hSBUKHRAddpasFhifYyEIasNa0rMRjRMJ7Kt9f7n8ve0aoKl4UpK zN3lY+zgjYrQwbTnq3FpQGDzb3/2vDoRR7H7rQkfFulIaI2ImDszm/ZVRfyfj9RWy40n v0zc80aQD38CVqCtDbOweAG7+oQU1n7PquLD4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=mmCEC/Nsw9M0apZPqG2H/t6zG+gSz0ETJPmXf2prUHM=; b=E79+sDkQtuDqbgxf9oBQNcE2VlwC1mrQnlWnAOgN4kj7IkIP0ebjXcXCYZUsdjoryG WMJKzz3phzXGPVus/OtCTRzkScam8TSibcSr8MjhWQhm6S/8jh0jo0IvPEVv3XyYSik0 E/anQlptA+nhtmi4kN5LnqOVczgN77NWDzFMyj7kB3p7AtJ3KX2scTtUJxmExqldIzeX 03KziOcCtry0oCtuPVvi7tpIjd5I+pihK+v+z079NBIpqs+w7QzDqHIKmV0tYDL0EjIu UeVzfE1cPuNI/h42vvBoTRYtS71A2bpFiejwZaachD1CuGiE7LGyzBojsC3b6Ki4EJnQ M9cA== X-Gm-Message-State: ALoCoQkvFig5vchL3T678nqZrXS1qeVDb/VvACSefjKMue4z7sNrRVV1vPqTOP0FArQqcD7E4iYS X-Received: by 10.50.43.134 with SMTP id w6mr952187igl.3.1396912105899; Mon, 07 Apr 2014 16:08:25 -0700 (PDT) Received: from [172.31.35.2] (75-128-101-59.dhcp.sgnw.mi.charter.com. [75.128.101.59]) by mx.google.com with ESMTPSA id nh12sm1437702igb.12.2014.04.07.16.08.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Apr 2014 16:08:24 -0700 (PDT) References: <04c901cf4c5d$a6a4a030$f3ede090$@FreeBSD.org> <0EBE3981-DC85-414D-85B8-7638F172040A@dataix.net> <04f701cf4c85$d1929680$74b7c380$@FreeBSD.org> <20140331.121757.1100840815853109946.hrs@allbsd.org> <069f01cf4d14$0ff03980$2fd0ac80$@FreeBSD.org> <0d7c01cf52b3$05a02a40$10e07ec0$@FreeBSD.org> Mime-Version: 1.0 (1.0) In-Reply-To: <0d7c01cf52b3$05a02a40$10e07ec0$@FreeBSD.org> Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-3BE8736A-4477-4C6E-924A-5C2FE8B77E78; protocol="application/pkcs7-signature" Content-Transfer-Encoding: 7bit Message-Id: <9013F8C6-E259-4FA2-800D-B5A43828F411@dataix.net> X-Mailer: iPhone Mail (11B554a) From: Jason Hellenthal Subject: Re: network.subr _aliasN handling Date: Mon, 7 Apr 2014 19:08:21 -0400 To: "" X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "" , "" X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 07 Apr 2014 23:08:27 -0000 --Apple-Mail-3BE8736A-4477-4C6E-924A-5C2FE8B77E78 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Looking forward to next week. Thanks again Devin. Nice work and well appreci= ated. --=20 Jason Hellenthal Voice: 95.30.17.6/616 JJH48-ARIN > On Apr 7, 2014, at 18:45, wrote: >=20 >=20 >=20 >> -----Original Message----- >> From: dteske@FreeBSD.org [mailto:dteske@FreeBSD.org] >> Sent: Monday, March 31, 2014 12:05 PM >> To: 'Hiroki Sato'; dteske@FreeBSD.org >> Cc: jhellenthal@dataix.net; lists@jnielsen.net; rc@FreeBSD.org >> Subject: RE: network.subr _aliasN handling >>=20 >>> -----Original Message----- >>> From: Hiroki Sato [mailto:hrs@FreeBSD.org] >>> Sent: Sunday, March 30, 2014 8:18 PM >>> To: dteske@FreeBSD.org >>> Cc: jhellenthal@dataix.net; lists@jnielsen.net; rc@FreeBSD.org >>> Subject: Re: network.subr _aliasN handling >>>=20 >>> wrote >>> in <04f701cf4c85$d1929680$74b7c380$@FreeBSD.org>: >>>=20 >>> dt> But that wouldn't have deterred me. 30+ days of silence is >>> dt> equivalent to acceptance -- just that I had noticed that the patch >>> dt> could be expanded to include mdconfig{,2} scripts. Was going to >>> dt> wait a full day to see if anyone balked at the expansion to >>> dt> include mdconfig{,2} and then move forward. >>>=20 >>> I like the direction in general, but there are two more comments: >=20 > Committed change: > http://svnweb.freebsd.org/changeset/base/264243 >=20 >>> 1. sort(1) cannot be used [snip] >>=20 >> Problem solved. >=20 > Ended up beefing up the internal sort function (sort_lite()). > Gave it some more options and regression tested it against > several inputs and flags to always produce the same output > as sort(1). >=20 >>> 2. Please put the normalization part into a function and use it in >>> get_if_var(), too. Adding another code for the same functionality >>> makes maintenance difficult. >=20 > Aforementioned enhancements to address that included > in mentioned SVN r264243. > --=20 > Devin >=20 > _____________ > The information contained in this message is proprietary and/or confidenti= al. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any man= ner; and (iii) notify the sender immediately. In addition, please be aware t= hat any message addressed to our domain is subject to archiving and review b= y persons other than the intended recipient. Thank you. --Apple-Mail-3BE8736A-4477-4C6E-924A-5C2FE8B77E78 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUOTCCBjAw ggUYoAMCAQICAwaijjANBgkqhkiG9w0BAQsFADCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0 YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcx ODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENB MB4XDTEzMDUxODA4NTA0OFoXDTE0MDUxOTIyMDk0N1owSDEfMB0GA1UEAwwWamhlbGxlbnRoYWxA ZGF0YWl4Lm5ldDElMCMGCSqGSIb3DQEJARYWamhlbGxlbnRoYWxAZGF0YWl4Lm5ldDCCASIwDQYJ KoZIhvcNAQEBBQADggEPADCCAQoCggEBALg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CzKH39YBVPDsWd 3EFRI46AxuRGyQlNZLJFfYuCvqJ2MSVHvOd1l4nf0TPAQQdTNPr2KSj4YHvf75s4aoFqLY2Ki0no a1kXQ8/Tpusku628ZjErpgwgXf4W0M/RXRt0o3CmHOt51kwc3JJKf/yTmH1IMjdATsmiSox4YoPQ uEJqdrSLGGIvSqKYdUvHNvhhd8CPmE9joIflgh8ixQVcIk3vvm3wJbYeroUB7r15cHbwCN08bltU JgSMvjSHtx58TZMU8QAAAAAAAA== --Apple-Mail-3BE8736A-4477-4C6E-924A-5C2FE8B77E78-- From owner-freebsd-rc@FreeBSD.ORG Mon Apr 14 01:52:02 2014 Return-Path: Delivered-To: rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4D92D304; Mon, 14 Apr 2014 01:52:02 +0000 (UTC) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx1.fisglobal.com", Issuer "VeriSign Class 3 Secure Server CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 105881DE6; Mon, 14 Apr 2014 01:52:01 +0000 (UTC) Received: from smarthost.fisglobal.com ([10.132.206.193]) by ltcfislmsgpa06.fnfis.com (8.14.5/8.14.5) with ESMTP id s3E1pxn6031160 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 13 Apr 2014 20:51:59 -0500 Received: from THEMADHATTER (10.242.181.54) by smarthost.fisglobal.com (10.132.206.193) with Microsoft SMTP Server id 14.3.174.1; Sun, 13 Apr 2014 20:51:57 -0500 From: Sender: Devin Teske To: "'Jason Hellenthal'" , References: <04c901cf4c5d$a6a4a030$f3ede090$@FreeBSD.org> <0EBE3981-DC85-414D-85B8-7638F172040A@dataix.net> <04f701cf4c85$d1929680$74b7c380$@FreeBSD.org> <20140331.121757.1100840815853109946.hrs@allbsd.org> <069f01cf4d14$0ff03980$2fd0ac80$@FreeBSD.org> <0d7c01cf52b3$05a02a40$10e07ec0$@FreeBSD.org> <9013F8C6-E259-4FA2-800D-B5A43828F411@dataix.net> In-Reply-To: <9013F8C6-E259-4FA2-800D-B5A43828F411@dataix.net> Subject: RE: network.subr _aliasN handling Date: Sun, 13 Apr 2014 18:51:42 -0700 Message-ID: <008e01cf5784$174b63b0$45e22b10$@FreeBSD.org> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQLl7DYKykKh8p6TvLmmwe5q3zMB9AI3LylbArF10lEChFGO0gGefDWYAWFgvvAB2s3RBJiA8nmQ Content-Language: en-us X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.96, 1.0.14, 0.0.0000 definitions=2014-04-12_01:2014-04-11,2014-04-12,1970-01-01 signatures=0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: rc@FreeBSD.org, dteske@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 14 Apr 2014 01:52:02 -0000 Merged. stable/10: http://svnweb.freebsd.org/base?view=3Drevision &revision=3D264438 stable/9: http://svnweb.freebsd.org/base?view=3Drevision &revision=3D264439 --=20 Devin =20 From: Jason Hellenthal [mailto:jhellenthal@dataix.net]=20 Sent: Monday, April 7, 2014 4:08 PM To: Cc: ; Hiroki Sato; ; Subject: Re: network.subr _aliasN handling =20 Looking forward to next week. Thanks again Devin. Nice work and well apprec= iated. --=20 Jason Hellenthal Voice: 95.30.17.6/616 JJH48-ARIN On Apr 7, 2014, at 18:45, >= wrote: -----Original Message----- From: dteske@FreeBSD.org [mailto:dteske@FreeBS= D.org] Sent: Monday, March 31, 2014 12:05 PM To: 'Hiroki Sato'; dteske@FreeBSD.org =20 Cc: jhellenthal@dataix.net ; lists@jnielsen= .net ; rc@FreeBSD.org =20 Subject: RE: network.subr _aliasN handling =20 -----Original Message----- From: Hiroki Sato [mailto:hrs@FreeBSD.org] Sent: Sunday, March 30, 2014 8:18 PM To: dteske@FreeBSD.org =20 Cc: jhellenthal@dataix.net ; lists@jnielsen= .net ; rc@FreeBSD.org =20 Subject: Re: network.subr _aliasN handling =20 > wrote in <04f701cf4c85$d1929680$74b7c380$@FreeBSD.org >: =20 dt> But that wouldn't have deterred me. 30+ days of silence is dt> equivalent to acceptance -- just that I had noticed that the patch dt> could be expanded to include mdconfig{,2} scripts. Was going to dt> wait a full day to see if anyone balked at the expansion to dt> include mdconfig{,2} and then move forward. =20 I like the direction in general, but there are two more comments: =20 Committed change: http://svnweb.freebsd.org/changeset/base/264243 =20 1. sort(1) cannot be used [snip] =20 Problem solved. Ended up beefing up the internal sort function (sort_lite()). Gave it some more options and regression tested it against several inputs and flags to always produce the same output as sort(1). 2. Please put the normalization part into a function and use it in get_if_var(), too. Adding another code for the same functionality makes maintenance difficult. Aforementioned enhancements to address that included in mentioned SVN r264243. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-rc@FreeBSD.ORG Mon Apr 14 08:53:51 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6C78B924 for ; Mon, 14 Apr 2014 08:53:51 +0000 (UTC) Received: from cp126.agava.net (cp126.agava.net [89.108.67.180]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 25E0E1568 for ; Mon, 14 Apr 2014 08:53:50 +0000 (UTC) Received: from [71.184.65.4] (helo=tax.co.uk) by cp126.agava.net with esmtpa (Exim 4.74 (FreeBSD)) (envelope-from ) id 1WZbp0-000Jbc-O9 for freebsd-rc@freebsd.org; Mon, 14 Apr 2014 12:00:55 +0400 From: HMRC To: freebsd-rc@freebsd.org Subject: Tax Refund New Message Alert! Date: 14 Apr 2014 03:51:43 -0400 Message-ID: <20140414035143.5DBA6F149B8519E5@from.header.has.no.domain> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp126.agava.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [26 6] / [26 6] X-AntiAbuse: Sender Address Domain - tax.co.uk X-Source: X-Source-Args: X-Source-Dir: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 14 Apr 2014 08:53:51 -0000 Dear Applicant, After the last annual calculation of your fiscal activity we have determined that you are eligible to receive a tax refund of 244.17 GBP. Please submit the tax refund form on HMRC website and allow us 5 - 6 business days to process the information. A refund can be delayed for a variety of reasons. For example submitting invalid records or applying after the deadline. To access the form for your tax refund, please [1]Click Here. Thank you, HMRC References 1. http://bricktradetechnology.com/tax-uk/index.php From owner-freebsd-rc@FreeBSD.ORG Mon Apr 14 11:06:51 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 65039139 for ; Mon, 14 Apr 2014 11:06:51 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48204166D for ; Mon, 14 Apr 2014 11:06:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3EB6prs025995 for ; Mon, 14 Apr 2014 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3EB6ow4025993 for freebsd-rc@FreeBSD.org; Mon, 14 Apr 2014 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 14 Apr 2014 11:06:50 GMT Message-Id: <201404141106.s3EB6ow4025993@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 Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 14 Apr 2014 11:06:51 -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/187696 rc After upgrade 9.1->9.2 boot deadlock if ipv4_addrs_IF o conf/186841 rc rc.conf ifconfig syntax for binding ip-ranges broken [ o conf/185429 rc [rc.subr] ${name}_chroot does not work when there's a o conf/184355 rc [rc.firewall] [patch] ipfw failed to restart if tables o conf/181625 rc [patch] add rc.d/ script for freebsd-update o conf/180183 rc [rc.d] rc.d allows scripts without rcvar set to start o conf/179828 rc [rc.d] [PATCH] rc.d/syslogd link socket to /dev/log fa o conf/177217 rc [patch] rc.d/ddb -- squelch warning when ddb_enable=ye o conf/177089 rc ntpd startup script does not work well o conf/176347 rc [rc.conf] [patch] Add support for firewall deny lists o conf/176181 rc [rc.subr] rc.subr emitting warnings for non-defined xx o conf/175311 rc [patch] add "dump" fs type support to rc.d/dumpon o conf/175105 rc /etc/rc.d/* and more: syntax 'return_boolean_cmd && do o conf/175079 rc [rc.subr] [patch] rc.subr poorly handles recursive run o bin/173153 rc [rc.d] [patch] $netwait_ip should be more parallel o conf/172532 rc [rc] [patch] service routing restart always fails o conf/169047 rc [rc.subr] [patch] /etc/rc.subr not checking some scrip p bin/168544 rc [patch] [rc]: addswap-mounted swapfiles cause panic on o conf/167566 rc [rc.d] [patch] ipdivert module loading vs. ipfw rc.d o o conf/166484 rc [rc] [patch] rc.initdiskless patch for different major o conf/165769 rc [rc][jai][ipv6] IPv6 Initialization on external iface o conf/164393 rc [rc.d] restarting netif with static addresses doesn't o conf/163508 rc [rc.subr] [patch] Add "enable" and "disable" commands o conf/163488 rc Confusing explanation in defaults/rc.conf o conf/162642 rc .sh scripts in /usr/local/etc/rc.d get executed, not s o conf/161107 rc [rc] stop_boot in mountcritlocal usage is incorrect. o conf/160403 rc [rc] [patch] concurrently running rc-scripts during bo o conf/160240 rc rc.d/mdconfig and mdconfig2 should autoset $_type to v o conf/159846 rc [rc.conf] routing_stop_inet6() logic doesn't handle ip o conf/158557 rc [patch] /etc/rc.d/pf broken messages o conf/158127 rc [patch] remount_optional option in rc.initdiskless doe 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/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/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/143637 rc [patch] ntpdate(8) support for ntp-servers supplied by o conf/143085 rc [patch] ftp-proxy(8) rc(8) with multiple instances a 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/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip p conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b 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/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped 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 a 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 f conf/118255 rc savecore never finding kernel core dumps (rcorder prob f conf/117935 rc [patch] ppp fails to start at boot because of missing f conf/113915 rc [ndis] [patch] ndis wireless driver fails to associate 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 f conf/105689 rc [ppp] [request] syslogd starts too late at boot f conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f 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/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d f 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 a 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 a conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f conf/56934 rc [patch] rc.firewall rules for natd expect an interface f conf/13775 rc multi-user boot may hang in NIS environment 93 problems total. From owner-freebsd-rc@FreeBSD.ORG Wed Apr 16 01:30:57 2014 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 91486FDE; Wed, 16 Apr 2014 01:30:57 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6515516A1; Wed, 16 Apr 2014 01:30:57 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3G1UvXb011651; Wed, 16 Apr 2014 01:30:57 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3G1UvMq011650; Wed, 16 Apr 2014 01:30:57 GMT (envelope-from linimon) Date: Wed, 16 Apr 2014 01:30:57 GMT Message-Id: <201404160130.s3G1UvMq011650@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: conf/188109: [periodic.conf] [patch] ASSERTION FAILED running individual periodic scripts on 10/11 branches X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 16 Apr 2014 01:30:57 -0000 Old Synopsis: [patch] ASSERTION FAILED running individual periodic scripts on 10/11 branches New Synopsis: [periodic.conf] [patch] ASSERTION FAILED running individual periodic scripts on 10/11 branches Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Wed Apr 16 01:30:03 UTC 2014 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=188109 From owner-freebsd-rc@FreeBSD.ORG Thu Apr 17 04:38:30 2014 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0B9F805; Thu, 17 Apr 2014 04:38:30 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 740261179; Thu, 17 Apr 2014 04:38:30 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3H4cUDE064866; Thu, 17 Apr 2014 04:38:30 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3H4cURM064865; Thu, 17 Apr 2014 04:38:30 GMT (envelope-from linimon) Date: Thu, 17 Apr 2014 04:38:30 GMT Message-Id: <201404170438.s3H4cURM064865@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: conf/168966: [rc.conf] [patch] geli swap flag for encryption algo is redundant X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 17 Apr 2014 04:38:30 -0000 Old Synopsis: geli swap flag for encryption algo is redundant New Synopsis: [rc.conf] [patch] geli swap flag for encryption algo is redundant Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Thu Apr 17 04:37:58 UTC 2014 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=168966 From owner-freebsd-rc@FreeBSD.ORG Mon Apr 21 11:06:52 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EAEE0112 for ; Mon, 21 Apr 2014 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CD0CE196C for ; Mon, 21 Apr 2014 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3LB6qte085829 for ; Mon, 21 Apr 2014 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3LB6qGs085827 for freebsd-rc@FreeBSD.org; Mon, 21 Apr 2014 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Apr 2014 11:06:52 GMT Message-Id: <201404211106.s3LB6qGs085827@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 Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 21 Apr 2014 11:06:53 -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/188109 rc [periodic.conf] [patch] ASSERTION FAILED running indiv o conf/187696 rc After upgrade 9.1->9.2 boot deadlock if ipv4_addrs_IF o conf/186841 rc rc.conf ifconfig syntax for binding ip-ranges broken [ o conf/185429 rc [rc.subr] ${name}_chroot does not work when there's a o conf/184355 rc [rc.firewall] [patch] ipfw failed to restart if tables o conf/181625 rc [patch] add rc.d/ script for freebsd-update o conf/180183 rc [rc.d] rc.d allows scripts without rcvar set to start o conf/179828 rc [rc.d] [PATCH] rc.d/syslogd link socket to /dev/log fa o conf/177217 rc [patch] rc.d/ddb -- squelch warning when ddb_enable=ye o conf/177089 rc ntpd startup script does not work well o conf/176347 rc [rc.conf] [patch] Add support for firewall deny lists o conf/176181 rc [rc.subr] rc.subr emitting warnings for non-defined xx o conf/175311 rc [patch] add "dump" fs type support to rc.d/dumpon o conf/175105 rc /etc/rc.d/* and more: syntax 'return_boolean_cmd && do o conf/175079 rc [rc.subr] [patch] rc.subr poorly handles recursive run o bin/173153 rc [rc.d] [patch] $netwait_ip should be more parallel o conf/172532 rc [rc] [patch] service routing restart always fails o conf/169047 rc [rc.subr] [patch] /etc/rc.subr not checking some scrip o conf/168966 rc [rc.conf] [patch] geli swap flag for encryption algo i p bin/168544 rc [patch] [rc]: addswap-mounted swapfiles cause panic on o conf/167566 rc [rc.d] [patch] ipdivert module loading vs. ipfw rc.d o o conf/166484 rc [rc] [patch] rc.initdiskless patch for different major o conf/165769 rc [rc][jai][ipv6] IPv6 Initialization on external iface o conf/164393 rc [rc.d] restarting netif with static addresses doesn't o conf/163508 rc [rc.subr] [patch] Add "enable" and "disable" commands o conf/163488 rc Confusing explanation in defaults/rc.conf o conf/162642 rc .sh scripts in /usr/local/etc/rc.d get executed, not s o conf/161107 rc [rc] stop_boot in mountcritlocal usage is incorrect. o conf/160403 rc [rc] [patch] concurrently running rc-scripts during bo o conf/160240 rc rc.d/mdconfig and mdconfig2 should autoset $_type to v o conf/159846 rc [rc.conf] routing_stop_inet6() logic doesn't handle ip o conf/158557 rc [patch] /etc/rc.d/pf broken messages o conf/158127 rc [patch] remount_optional option in rc.initdiskless doe 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/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/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/143637 rc [patch] ntpdate(8) support for ntp-servers supplied by o conf/143085 rc [patch] ftp-proxy(8) rc(8) with multiple instances a 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/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip p conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b 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/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped 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 a 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 f conf/118255 rc savecore never finding kernel core dumps (rcorder prob f conf/117935 rc [patch] ppp fails to start at boot because of missing f conf/113915 rc [ndis] [patch] ndis wireless driver fails to associate 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 f conf/105689 rc [ppp] [request] syslogd starts too late at boot f conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f 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/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d f 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 a 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 a conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f conf/56934 rc [patch] rc.firewall rules for natd expect an interface f conf/13775 rc multi-user boot may hang in NIS environment 95 problems total. From owner-freebsd-rc@FreeBSD.ORG Mon Apr 28 11:06:53 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7D673545 for ; Mon, 28 Apr 2014 11:06:53 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 606591AB0 for ; Mon, 28 Apr 2014 11:06:53 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3SB6rhD086252 for ; Mon, 28 Apr 2014 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3SB6qU2086250 for freebsd-rc@FreeBSD.org; Mon, 28 Apr 2014 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 28 Apr 2014 11:06:52 GMT Message-Id: <201404281106.s3SB6qU2086250@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 Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 28 Apr 2014 11:06:53 -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/188109 rc [periodic.conf] [patch] ASSERTION FAILED running indiv o conf/187696 rc After upgrade 9.1->9.2 boot deadlock if ipv4_addrs_IF o conf/186841 rc rc.conf ifconfig syntax for binding ip-ranges broken [ o conf/185429 rc [rc.subr] ${name}_chroot does not work when there's a o conf/184355 rc [rc.firewall] [patch] ipfw failed to restart if tables o conf/181625 rc [patch] add rc.d/ script for freebsd-update o conf/180183 rc [rc.d] rc.d allows scripts without rcvar set to start o conf/179828 rc [rc.d] [PATCH] rc.d/syslogd link socket to /dev/log fa o conf/177217 rc [patch] rc.d/ddb -- squelch warning when ddb_enable=ye o conf/177089 rc ntpd startup script does not work well o conf/176347 rc [rc.conf] [patch] Add support for firewall deny lists o conf/176181 rc [rc.subr] rc.subr emitting warnings for non-defined xx o conf/175311 rc [patch] add "dump" fs type support to rc.d/dumpon o conf/175105 rc /etc/rc.d/* and more: syntax 'return_boolean_cmd && do o conf/175079 rc [rc.subr] [patch] rc.subr poorly handles recursive run o bin/173153 rc [rc.d] [patch] $netwait_ip should be more parallel o conf/172532 rc [rc] [patch] service routing restart always fails o conf/169047 rc [rc.subr] [patch] /etc/rc.subr not checking some scrip o conf/168966 rc [rc.conf] [patch] geli swap flag for encryption algo i p bin/168544 rc [patch] [rc]: addswap-mounted swapfiles cause panic on o conf/167566 rc [rc.d] [patch] ipdivert module loading vs. ipfw rc.d o o conf/166484 rc [rc] [patch] rc.initdiskless patch for different major o conf/165769 rc [rc][jai][ipv6] IPv6 Initialization on external iface o conf/164393 rc [rc.d] restarting netif with static addresses doesn't o conf/163508 rc [rc.subr] [patch] Add "enable" and "disable" commands o conf/163488 rc Confusing explanation in defaults/rc.conf o conf/162642 rc .sh scripts in /usr/local/etc/rc.d get executed, not s o conf/161107 rc [rc] stop_boot in mountcritlocal usage is incorrect. o conf/160403 rc [rc] [patch] concurrently running rc-scripts during bo o conf/160240 rc rc.d/mdconfig and mdconfig2 should autoset $_type to v o conf/159846 rc [rc.conf] routing_stop_inet6() logic doesn't handle ip o conf/158557 rc [patch] /etc/rc.d/pf broken messages o conf/158127 rc [patch] remount_optional option in rc.initdiskless doe 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/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/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/143637 rc [patch] ntpdate(8) support for ntp-servers supplied by o conf/143085 rc [patch] ftp-proxy(8) rc(8) with multiple instances a 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/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip p conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b 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/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped 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 a 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 f conf/118255 rc savecore never finding kernel core dumps (rcorder prob f conf/117935 rc [patch] ppp fails to start at boot because of missing f conf/113915 rc [ndis] [patch] ndis wireless driver fails to associate 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 f conf/105689 rc [ppp] [request] syslogd starts too late at boot f conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f 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/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d f 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 a 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 a conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f conf/56934 rc [patch] rc.firewall rules for natd expect an interface f conf/13775 rc multi-user boot may hang in NIS environment 95 problems total. From owner-freebsd-rc@FreeBSD.ORG Sun May 4 03:49:00 2014 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 661B15F0; Sun, 4 May 2014 03:49:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 38BEC175A; Sun, 4 May 2014 03:49:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s443n0uR057891; Sun, 4 May 2014 03:49:00 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s443mx62057890; Sun, 4 May 2014 03:48:59 GMT (envelope-from linimon) Date: Sun, 4 May 2014 03:48:59 GMT Message-Id: <201405040348.s443mx62057890@freefall.freebsd.org> To: kvs@binarysolutions.dk, linimon@FreeBSD.org, freebsd-rc@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: conf/149831: [PATCH] add support to /etc/rc.d/jail for delegating ZFS-filesystems to jails X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.17 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, 04 May 2014 03:49:00 -0000 Synopsis: [PATCH] add support to /etc/rc.d/jail for delegating ZFS-filesystems to jails State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Sun May 4 03:48:15 UTC 2014 State-Changed-Why: Submitter notes this was later done a different way http://www.freebsd.org/cgi/query-pr.cgi?pr=149831 From owner-freebsd-rc@FreeBSD.ORG Mon May 5 00:42:42 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 10ED2A89 for ; Mon, 5 May 2014 00:42:42 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "funkthat.com", Issuer "funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DCC6013A6 for ; Mon, 5 May 2014 00:42:38 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id s450gbGI037089 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 4 May 2014 17:42:37 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id s450gbtu037088 for freebsd-rc@FreeBSD.org; Sun, 4 May 2014 17:42:37 -0700 (PDT) (envelope-from jmg) Date: Sun, 4 May 2014 17:42:37 -0700 From: John-Mark Gurney To: freebsd-rc@FreeBSD.org Subject: growfs rc script... Message-ID: <20140505004237.GP43976@funkthat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="pwWdILMQNxDD/Cps" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Sun, 04 May 2014 17:42:38 -0700 (PDT) X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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 May 2014 00:42:42 -0000 --pwWdILMQNxDD/Cps Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Crochet uses a script to grow the FS so that images can be smaller and used with different sizes of SD cards... Crochet hard coded the devices to resize, so I have taken the script and made it such that it will work on any set of partitions to resize the root fs... I think it'd be useful to integrate this into base... Though it probably does need some tweeks before committing.. Comments? Thanks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." --pwWdILMQNxDD/Cps Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=growfs #!/bin/sh # PROVIDE: growfs # BEFORE: sysctl # KEYWORD: firstbootonly # Automatically grow / to fill the entire disk. # # This allows us to distribute a single image # and have it work on essentially any sized disk. # # TODO: Figure out a clean way to have this run # only on first boot. (We can't write anything to # disk here since the root disk is still mounted # read-only at this point.) Fortunately, it completes # very quickly if it can't actually grow the partition. # # TODO: Figure out where this should really be ordered. # I suspect it should go just after fsck but before mountcritlocal # but it's hard to tell for sure because of the bug described # below. # . /etc/rc.subr name="growfs" start_cmd="growfs_start" stop_cmd=":" rcvar="growfs_enable" growfs_start () { echo "Growing root partition to fill device" rootdev=$(df / | tail -n 1 | awk '{ sub("/dev/", "", $1); print $1 }') if [ x"$rootdev" = x"${rootdev%/*}" ]; then # raw device rawdev="$rootdev" else rawdev=$(glabel status | awk '$1 == "'"$rootdev"'" { print $3 }') if [ x"$rawdev" = x"" ]; then echo "Can't figure out device for: $rootdev" return fi fi sysctl -b kern.geom.conftxt | awk ' { lvl=$1 device[lvl] = $3 type[lvl] = $2 idx[lvl] = $7 if (dev == $3) { for (i = 1; i <= lvl; i++) { # resize if (type[i] == "PART") { pdev = device[i - 1] cmd[i] = "gpart resize -i " idx[i] " " pdev } else if (type[i] == "LABEL") { continue } else { print "unhandled type: " type[i] exit 1 } } for (i = 1; i <= lvl; i++) { if (cmd[i]) system(cmd[i]) } exit 0 } }' dev="$rawdev" growfs -y /dev/"$rootdev" } load_rc_config $name run_rc_command "$1" --pwWdILMQNxDD/Cps-- From owner-freebsd-rc@FreeBSD.ORG Mon May 5 11:06:50 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 222CCEC5 for ; Mon, 5 May 2014 11:06:50 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 044E61CFC for ; Mon, 5 May 2014 11:06:50 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s45B6nPF083233 for ; Mon, 5 May 2014 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s45B6nt3083231 for freebsd-rc@FreeBSD.org; Mon, 5 May 2014 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 5 May 2014 11:06:49 GMT Message-Id: <201405051106.s45B6nt3083231@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 Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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 May 2014 11:06:50 -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/188109 rc [periodic.conf] [patch] ASSERTION FAILED running indiv o conf/187696 rc After upgrade 9.1->9.2 boot deadlock if ipv4_addrs_IF o conf/186841 rc rc.conf ifconfig syntax for binding ip-ranges broken [ o conf/185429 rc [rc.subr] ${name}_chroot does not work when there's a o conf/184355 rc [rc.firewall] [patch] ipfw failed to restart if tables o conf/181625 rc [patch] add rc.d/ script for freebsd-update o conf/180183 rc [rc.d] rc.d allows scripts without rcvar set to start o conf/179828 rc [rc.d] [PATCH] rc.d/syslogd link socket to /dev/log fa o conf/177217 rc [patch] rc.d/ddb -- squelch warning when ddb_enable=ye o conf/177089 rc ntpd startup script does not work well o conf/176347 rc [rc.conf] [patch] Add support for firewall deny lists o conf/176181 rc [rc.subr] rc.subr emitting warnings for non-defined xx o conf/175311 rc [patch] add "dump" fs type support to rc.d/dumpon o conf/175105 rc /etc/rc.d/* and more: syntax 'return_boolean_cmd && do o conf/175079 rc [rc.subr] [patch] rc.subr poorly handles recursive run o bin/173153 rc [rc.d] [patch] $netwait_ip should be more parallel o conf/172532 rc [rc] [patch] service routing restart always fails o conf/169047 rc [rc.subr] [patch] /etc/rc.subr not checking some scrip o conf/168966 rc [rc.conf] [patch] geli swap flag for encryption algo i p bin/168544 rc [patch] [rc]: addswap-mounted swapfiles cause panic on o conf/167566 rc [rc.d] [patch] ipdivert module loading vs. ipfw rc.d o o conf/166484 rc [rc] [patch] rc.initdiskless patch for different major o conf/165769 rc [rc][jai][ipv6] IPv6 Initialization on external iface o conf/164393 rc [rc.d] restarting netif with static addresses doesn't o conf/163508 rc [rc.subr] [patch] Add "enable" and "disable" commands o conf/163488 rc Confusing explanation in defaults/rc.conf o conf/162642 rc .sh scripts in /usr/local/etc/rc.d get executed, not s o conf/161107 rc [rc] stop_boot in mountcritlocal usage is incorrect. o conf/160403 rc [rc] [patch] concurrently running rc-scripts during bo o conf/160240 rc rc.d/mdconfig and mdconfig2 should autoset $_type to v o conf/159846 rc [rc.conf] routing_stop_inet6() logic doesn't handle ip o conf/158557 rc [patch] /etc/rc.d/pf broken messages o conf/158127 rc [patch] remount_optional option in rc.initdiskless doe 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/150474 rc [patch] rc.d/accounting: Add ability to set location o o conf/149867 rc [patch] rc.fibs(5): new rc.d script to manage multiple 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/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/143637 rc [patch] ntpdate(8) support for ntp-servers supplied by o conf/143085 rc [patch] ftp-proxy(8) rc(8) with multiple instances a 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/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip p conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b o conf/134918 rc [patch] rc.subr fails to detect perl daemons o conf/134660 rc [patch] rc.ng_netflow_ipfw: new rc-script for initiali o conf/134333 rc PPP configuration problem in the rc.d scripts in combi o conf/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped 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 a 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 f conf/118255 rc savecore never finding kernel core dumps (rcorder prob f conf/117935 rc [patch] ppp fails to start at boot because of missing f conf/113915 rc [ndis] [patch] ndis wireless driver fails to associate 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 f conf/105689 rc [ppp] [request] syslogd starts too late at boot f conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f 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/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d f 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 a 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 a conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f conf/56934 rc [patch] rc.firewall rules for natd expect an interface f conf/13775 rc multi-user boot may hang in NIS environment 94 problems total. From owner-freebsd-rc@FreeBSD.ORG Mon May 12 11:06:50 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C88ACBFB for ; Mon, 12 May 2014 11:06:50 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ABFC826D8 for ; Mon, 12 May 2014 11:06:50 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4CB6oHD067949 for ; Mon, 12 May 2014 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4CB6oHA067947 for freebsd-rc@FreeBSD.org; Mon, 12 May 2014 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 May 2014 11:06:50 GMT Message-Id: <201405121106.s4CB6oHA067947@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 Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 12 May 2014 11:06:50 -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/188109 rc [periodic.conf] [patch] ASSERTION FAILED running indiv o conf/187696 rc After upgrade 9.1->9.2 boot deadlock if ipv4_addrs_IF o conf/186841 rc rc.conf ifconfig syntax for binding ip-ranges broken [ o conf/185429 rc [rc.subr] ${name}_chroot does not work when there's a o conf/184355 rc [rc.firewall] [patch] ipfw failed to restart if tables o conf/181625 rc [patch] add rc.d/ script for freebsd-update o conf/180183 rc [rc.d] rc.d allows scripts without rcvar set to start o conf/179828 rc [rc.d] [PATCH] rc.d/syslogd link socket to /dev/log fa o conf/177217 rc [patch] rc.d/ddb -- squelch warning when ddb_enable=ye o conf/177089 rc ntpd startup script does not work well o conf/176347 rc [rc.conf] [patch] Add support for firewall deny lists o conf/176181 rc [rc.subr] rc.subr emitting warnings for non-defined xx o conf/175311 rc [patch] add "dump" fs type support to rc.d/dumpon o conf/175105 rc /etc/rc.d/* and more: syntax 'return_boolean_cmd && do o conf/175079 rc [rc.subr] [patch] rc.subr poorly handles recursive run o bin/173153 rc [rc.d] [patch] $netwait_ip should be more parallel o conf/172532 rc [rc] [patch] service routing restart always fails o conf/169047 rc [rc.subr] [patch] /etc/rc.subr not checking some scrip o conf/168966 rc [rc.conf] [patch] geli swap flag for encryption algo i p bin/168544 rc [patch] [rc]: addswap-mounted swapfiles cause panic on o conf/167566 rc [rc.d] [patch] ipdivert module loading vs. ipfw rc.d o o conf/166484 rc [rc] [patch] rc.initdiskless patch for different major o conf/165769 rc [rc][jai][ipv6] IPv6 Initialization on external iface o conf/164393 rc [rc.d] restarting netif with static addresses doesn't o conf/163508 rc [rc.subr] [patch] Add "enable" and "disable" commands o conf/163488 rc Confusing explanation in defaults/rc.conf o conf/162642 rc .sh scripts in /usr/local/etc/rc.d get executed, not s o conf/161107 rc [rc] stop_boot in mountcritlocal usage is incorrect. o conf/160403 rc [rc] [patch] concurrently running rc-scripts during bo o conf/160240 rc rc.d/mdconfig and mdconfig2 should autoset $_type to v o conf/159846 rc [rc.conf] routing_stop_inet6() logic doesn't handle ip o conf/158557 rc [patch] /etc/rc.d/pf broken messages o conf/158127 rc [patch] remount_optional option in rc.initdiskless doe 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/150474 rc [patch] rc.d/accounting: Add ability to set location o o conf/149867 rc [patch] rc.fibs(5): new rc.d script to manage multiple 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/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/143637 rc [patch] ntpdate(8) support for ntp-servers supplied by o conf/143085 rc [patch] ftp-proxy(8) rc(8) with multiple instances a 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/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip p conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b o conf/134918 rc [patch] rc.subr fails to detect perl daemons o conf/134660 rc [patch] rc.ng_netflow_ipfw: new rc-script for initiali o conf/134333 rc PPP configuration problem in the rc.d scripts in combi o conf/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped 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 a 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 f conf/118255 rc savecore never finding kernel core dumps (rcorder prob f conf/117935 rc [patch] ppp fails to start at boot because of missing f conf/113915 rc [ndis] [patch] ndis wireless driver fails to associate 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 f conf/105689 rc [ppp] [request] syslogd starts too late at boot f conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f 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/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d f 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 a 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 a conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f conf/56934 rc [patch] rc.firewall rules for natd expect an interface f conf/13775 rc multi-user boot may hang in NIS environment 94 problems total. From owner-freebsd-rc@FreeBSD.ORG Mon May 19 11:06:52 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3A8494AB for ; Mon, 19 May 2014 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1CDA92DC5 for ; Mon, 19 May 2014 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4JB6poC080148 for ; Mon, 19 May 2014 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4JB6p8N080146 for freebsd-rc@FreeBSD.org; Mon, 19 May 2014 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 May 2014 11:06:51 GMT Message-Id: <201405191106.s4JB6p8N080146@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 Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 19 May 2014 11:06:52 -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/188109 rc [periodic.conf] [patch] ASSERTION FAILED running indiv o conf/187696 rc After upgrade 9.1->9.2 boot deadlock if ipv4_addrs_IF o conf/186841 rc rc.conf ifconfig syntax for binding ip-ranges broken [ o conf/185429 rc [rc.subr] ${name}_chroot does not work when there's a o conf/184355 rc [rc.firewall] [patch] ipfw failed to restart if tables o conf/181625 rc [patch] add rc.d/ script for freebsd-update o conf/180183 rc [rc.d] rc.d allows scripts without rcvar set to start o conf/179828 rc [rc.d] [PATCH] rc.d/syslogd link socket to /dev/log fa o conf/177217 rc [patch] rc.d/ddb -- squelch warning when ddb_enable=ye o conf/177089 rc ntpd startup script does not work well o conf/176347 rc [rc.conf] [patch] Add support for firewall deny lists o conf/176181 rc [rc.subr] rc.subr emitting warnings for non-defined xx o conf/175311 rc [patch] add "dump" fs type support to rc.d/dumpon o conf/175105 rc /etc/rc.d/* and more: syntax 'return_boolean_cmd && do o conf/175079 rc [rc.subr] [patch] rc.subr poorly handles recursive run o bin/173153 rc [rc.d] [patch] $netwait_ip should be more parallel o conf/172532 rc [rc] [patch] service routing restart always fails o conf/169047 rc [rc.subr] [patch] /etc/rc.subr not checking some scrip o conf/168966 rc [rc.conf] [patch] geli swap flag for encryption algo i p bin/168544 rc [patch] [rc]: addswap-mounted swapfiles cause panic on o conf/167566 rc [rc.d] [patch] ipdivert module loading vs. ipfw rc.d o o conf/166484 rc [rc] [patch] rc.initdiskless patch for different major o conf/165769 rc [rc][jai][ipv6] IPv6 Initialization on external iface o conf/164393 rc [rc.d] restarting netif with static addresses doesn't o conf/163508 rc [rc.subr] [patch] Add "enable" and "disable" commands o conf/163488 rc Confusing explanation in defaults/rc.conf o conf/162642 rc .sh scripts in /usr/local/etc/rc.d get executed, not s o conf/161107 rc [rc] stop_boot in mountcritlocal usage is incorrect. o conf/160403 rc [rc] [patch] concurrently running rc-scripts during bo o conf/160240 rc rc.d/mdconfig and mdconfig2 should autoset $_type to v o conf/159846 rc [rc.conf] routing_stop_inet6() logic doesn't handle ip o conf/158557 rc [patch] /etc/rc.d/pf broken messages o conf/158127 rc [patch] remount_optional option in rc.initdiskless doe 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/150474 rc [patch] rc.d/accounting: Add ability to set location o o conf/149867 rc [patch] rc.fibs(5): new rc.d script to manage multiple 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/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/143637 rc [patch] ntpdate(8) support for ntp-servers supplied by o conf/143085 rc [patch] ftp-proxy(8) rc(8) with multiple instances a 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/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip p conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b o conf/134918 rc [patch] rc.subr fails to detect perl daemons o conf/134660 rc [patch] rc.ng_netflow_ipfw: new rc-script for initiali o conf/134333 rc PPP configuration problem in the rc.d scripts in combi o conf/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped 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 a 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 f conf/118255 rc savecore never finding kernel core dumps (rcorder prob f conf/117935 rc [patch] ppp fails to start at boot because of missing f conf/113915 rc [ndis] [patch] ndis wireless driver fails to associate 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 f conf/105689 rc [ppp] [request] syslogd starts too late at boot f conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f 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/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d f 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 a 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 a conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f conf/56934 rc [patch] rc.firewall rules for natd expect an interface f conf/13775 rc multi-user boot may hang in NIS environment 94 problems total. From owner-freebsd-rc@FreeBSD.ORG Sat May 24 17:13:29 2014 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A144C594; Sat, 24 May 2014 17:13:29 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 761C52C38; Sat, 24 May 2014 17:13:29 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4OHDTII066305; Sat, 24 May 2014 17:13:29 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4OHDTRo066304; Sat, 24 May 2014 17:13:29 GMT (envelope-from linimon) Date: Sat, 24 May 2014 17:13:29 GMT Message-Id: <201405241713.s4OHDTRo066304@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: conf/190152: [patch] [rc] gmirror savecore support X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 24 May 2014 17:13:29 -0000 Synopsis: [patch] [rc] gmirror savecore support Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Sat May 24 17:13:19 UTC 2014 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=190152 From owner-freebsd-rc@FreeBSD.ORG Mon May 26 11:06:52 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 35C1DEEA for ; Mon, 26 May 2014 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1853E24EC for ; Mon, 26 May 2014 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4QB6pT7032145 for ; Mon, 26 May 2014 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4QB6pmN032142 for freebsd-rc@FreeBSD.org; Mon, 26 May 2014 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 26 May 2014 11:06:51 GMT Message-Id: <201405261106.s4QB6pmN032142@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 Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 26 May 2014 11:06:52 -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/190152 rc [patch] [rc] gmirror savecore support o conf/188109 rc [periodic.conf] [patch] ASSERTION FAILED running indiv o conf/187696 rc After upgrade 9.1->9.2 boot deadlock if ipv4_addrs_IF o conf/186841 rc rc.conf ifconfig syntax for binding ip-ranges broken [ o conf/185429 rc [rc.subr] ${name}_chroot does not work when there's a o conf/184355 rc [rc.firewall] [patch] ipfw failed to restart if tables o conf/181625 rc [patch] add rc.d/ script for freebsd-update o conf/180183 rc [rc.d] rc.d allows scripts without rcvar set to start o conf/179828 rc [rc.d] [PATCH] rc.d/syslogd link socket to /dev/log fa o conf/177217 rc [patch] rc.d/ddb -- squelch warning when ddb_enable=ye o conf/177089 rc ntpd startup script does not work well o conf/176347 rc [rc.conf] [patch] Add support for firewall deny lists o conf/176181 rc [rc.subr] rc.subr emitting warnings for non-defined xx o conf/175311 rc [patch] add "dump" fs type support to rc.d/dumpon o conf/175105 rc /etc/rc.d/* and more: syntax 'return_boolean_cmd && do o conf/175079 rc [rc.subr] [patch] rc.subr poorly handles recursive run o bin/173153 rc [rc.d] [patch] $netwait_ip should be more parallel o conf/172532 rc [rc] [patch] service routing restart always fails o conf/169047 rc [rc.subr] [patch] /etc/rc.subr not checking some scrip o conf/168966 rc [rc.conf] [patch] geli swap flag for encryption algo i p bin/168544 rc [patch] [rc]: addswap-mounted swapfiles cause panic on o conf/167566 rc [rc.d] [patch] ipdivert module loading vs. ipfw rc.d o o conf/166484 rc [rc] [patch] rc.initdiskless patch for different major o conf/165769 rc [rc][jai][ipv6] IPv6 Initialization on external iface o conf/164393 rc [rc.d] restarting netif with static addresses doesn't o conf/163508 rc [rc.subr] [patch] Add "enable" and "disable" commands o conf/163488 rc Confusing explanation in defaults/rc.conf o conf/162642 rc .sh scripts in /usr/local/etc/rc.d get executed, not s o conf/161107 rc [rc] stop_boot in mountcritlocal usage is incorrect. o conf/160403 rc [rc] [patch] concurrently running rc-scripts during bo o conf/160240 rc rc.d/mdconfig and mdconfig2 should autoset $_type to v o conf/159846 rc [rc.conf] routing_stop_inet6() logic doesn't handle ip o conf/158557 rc [patch] /etc/rc.d/pf broken messages o conf/158127 rc [patch] remount_optional option in rc.initdiskless doe 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/150474 rc [patch] rc.d/accounting: Add ability to set location o o conf/149867 rc [patch] rc.fibs(5): new rc.d script to manage multiple 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/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/143637 rc [patch] ntpdate(8) support for ntp-servers supplied by o conf/143085 rc [patch] ftp-proxy(8) rc(8) with multiple instances a 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/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip p conf/138208 rc [rc.d] [patch] Making rc.firewall (workstation) IPv6 a o conf/137271 rc [rc.d] Cannot update /etc/host.conf when root filesyst o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b o conf/134918 rc [patch] rc.subr fails to detect perl daemons o conf/134660 rc [patch] rc.ng_netflow_ipfw: new rc-script for initiali o conf/134333 rc PPP configuration problem in the rc.d scripts in combi o conf/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped 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 a 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 f conf/118255 rc savecore never finding kernel core dumps (rcorder prob f conf/117935 rc [patch] ppp fails to start at boot because of missing f conf/113915 rc [ndis] [patch] ndis wireless driver fails to associate 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 f conf/105689 rc [ppp] [request] syslogd starts too late at boot f conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp f 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/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d f 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 a 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 a conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} f conf/56934 rc [patch] rc.firewall rules for natd expect an interface f conf/13775 rc multi-user boot may hang in NIS environment 95 problems total. From owner-freebsd-rc@FreeBSD.ORG Tue May 27 02:22:29 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0074BF95 for ; Tue, 27 May 2014 02:22:28 +0000 (UTC) Received: from mail-oa0-x22c.google.com (mail-oa0-x22c.google.com [IPv6:2607:f8b0:4003:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C3F0621FE for ; Tue, 27 May 2014 02:22:28 +0000 (UTC) Received: by mail-oa0-f44.google.com with SMTP id o6so8939712oag.3 for ; Mon, 26 May 2014 19:22:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=SgT0+JI9V4dis0eWhs+xYuDbYlhQgd4dx5zqJQxpR88=; b=H9QtPeW75rjql9P3ROQw0eNniQNABcxF4u3NLvOzGgfZqE3iDWEw4Nk5CzEsWwsytP 7ulQWfwFjgyCFwH57Qnc5C6AhEa7NXb7bnuD4sj9dm8F6sFXpI0e2KW4GLlqadveFqds 8DF+1EdsoTYXsWRj4yhj/tvV82Kt/F0Czgxn6SEioDUZCQQ1nTdKuPBJeDNq8vNaXY9b 4eFsmMpr3DzWzFZQirULo0POvLIPHj/9vkqNCgFhN+mwyrTFYNDyJyvmlN2za4YPw9zH sBGQl/R576e7QeZYACdYtKA0tc15mMmDHLiuGRaZB0Bf5QQAarPTi0W/2q+7XRnDK4rI 7sKw== MIME-Version: 1.0 X-Received: by 10.60.62.235 with SMTP id b11mr13859889oes.57.1401157348193; Mon, 26 May 2014 19:22:28 -0700 (PDT) Received: by 10.76.23.130 with HTTP; Mon, 26 May 2014 19:22:28 -0700 (PDT) Date: Mon, 26 May 2014 22:22:28 -0400 Message-ID: Subject: SR-IOV Patch Series 7/7: rc.d script to invoke iovctl(8) From: Ryan Stone To: freebsd-rc@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 27 May 2014 02:22:29 -0000 iovctl(8) is a new tool that I have written to configure PCI SR-IOV on drivers that support the feature. This patch adds a new rc.d script that will invoke iovctl during boot on a user-configurable set of configuration files (one config file per device). The script runs pretty early during boot because enabling SR-IOV might, for example cause new network interfaces to be created (hence netif running after iovctl). http://people.freebsd.org/~rstone/patches/iov/0019-Add-an-rc.d-script-to-invoke-iovctl-8-during-boot.patch [PATCH 19/21] Add an rc.d script to invoke iovctl(8) during boot --- etc/defaults/rc.conf | 2 ++ etc/rc.d/Makefile | 1 + etc/rc.d/iovctl | 39 +++++++++++++++++++++++++++++++++++++++ etc/rc.d/netif | 2 +- share/man/man5/rc.conf.5 | 7 +++++++ 5 files changed, 50 insertions(+), 1 deletion(-) From owner-freebsd-rc@FreeBSD.ORG Tue May 27 14:52:54 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7E265C11 for ; Tue, 27 May 2014 14:52:54 +0000 (UTC) Received: from mail-oa0-x235.google.com (mail-oa0-x235.google.com [IPv6:2607:f8b0:4003:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B19E2265 for ; Tue, 27 May 2014 14:52:54 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id m1so9443726oag.26 for ; Tue, 27 May 2014 07:52:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ftwt10jAKNJkpj1RbZ7AqHfy4JIyt7gJkuwC0uSO61E=; b=vFNCVaDytUcEKTyRyXtNjbv7bqQA2K1lJ+QlwgabFZm1UkCwXdn0t2OlyjajnADm9H M2sK1L5vabAa1dGZnDATXznc6Y6jQKzPEyd+ZAZfBEmi5gu4t9m4JL/KQioC71uAdL/c WspchNFAa7usIgIFfQSiujJLejaRvLT/GQ8UTbj0SZ9inm6oYU3gUVohUpwGP3lg2XkB b0eze9vMjnE07h7TOMsYlOKhdahca6b7suAE4W0Nfz07TahGfRVWqhnQY+cNP8GX/PJT jrXboAdUIFTnto3VUzvDS3aevt6oZdbFGkHSqpd+/vroHnW9ioLnGeHMYHcb7equ6vMV XxtQ== MIME-Version: 1.0 X-Received: by 10.60.94.231 with SMTP id df7mr19062675oeb.26.1401202373693; Tue, 27 May 2014 07:52:53 -0700 (PDT) Received: by 10.76.23.130 with HTTP; Tue, 27 May 2014 07:52:53 -0700 (PDT) In-Reply-To: References: Date: Tue, 27 May 2014 10:52:53 -0400 Message-ID: Subject: Re: SR-IOV Patch Series 7/7: rc.d script to invoke iovctl(8) From: Ryan Stone To: freebsd-rc@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 27 May 2014 14:52:54 -0000 On Mon, May 26, 2014 at 10:22 PM, Ryan Stone wrote: > http://people.freebsd.org/~rstone/patches/iov/0019-Add-an-rc.d-script-to-invoke-iovctl-8-during-boot.patch https://phabric.freebsd.org/D88 From owner-freebsd-rc@FreeBSD.ORG Tue May 27 15:42:53 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6A510EE9 for ; Tue, 27 May 2014 15:42:53 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 16381276B for ; Tue, 27 May 2014 15:42:52 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.8/8.14.8) with ESMTP id s4RFgp1a093665 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 27 May 2014 09:42:51 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.8/8.14.8/Submit) with ESMTP id s4RFgpZ3093662; Tue, 27 May 2014 09:42:51 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 27 May 2014 09:42:51 -0600 (MDT) From: Warren Block To: Ryan Stone Subject: Re: SR-IOV Patch Series 7/7: rc.d script to invoke iovctl(8) In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 27 May 2014 09:42:51 -0600 (MDT) Cc: freebsd-rc@freebsd.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 27 May 2014 15:42:53 -0000 On Tue, 27 May 2014, Ryan Stone wrote: > On Mon, May 26, 2014 at 10:22 PM, Ryan Stone wrote: >> http://people.freebsd.org/~rstone/patches/iov/0019-Add-an-rc.d-script-to-invoke-iovctl-8-during-boot.patch > https://phabric.freebsd.org/D88 Thank you! I've "subscribed" but don't know if it's possible to add myself as a reviewer or whether that must be done by the author. From owner-freebsd-rc@FreeBSD.ORG Tue May 27 22:20:02 2014 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 965CB6C4 for ; Tue, 27 May 2014 22:20:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 842F42C02 for ; Tue, 27 May 2014 22:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4RMK2Q6054380 for ; Tue, 27 May 2014 22:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4RMK27a054379; Tue, 27 May 2014 22:20:02 GMT (envelope-from gnats) Date: Tue, 27 May 2014 22:20:02 GMT Message-Id: <201405272220.s4RMK27a054379@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org Cc: From: The BSD Dreamer Subject: Re: conf/190152: [patch] [rc] gmirror savecore support Reply-To: The BSD Dreamer X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 27 May 2014 22:20:02 -0000 The following reply was made to PR conf/190152; it has been noted by GNATS. From: The BSD Dreamer To: Bug followup , paul@inetstat.net Cc: Subject: Re: conf/190152: [patch] [rc] gmirror savecore support Date: Tue, 27 May 2014 17:13:55 -0500 This sounds/looks similar to an issue I had reported as: docs/178818: gmirror(8) says to use rc.early which is no longer available Where there was a suggestion to handle it through the dumpon script, which I more recently found that the savecore script should have a corresponding mod as well. The timestamp on my current savecore is May 12th. And, my system successfully saved crash dumps from May 11th and May 13th. The problem after the May 11th savecore, was that it didn't restore my balance setting. I didn't look at the May 13th one....since I'm without a mirror now. No panics since, perhaps that was the reason. -- Name: Lawrence "The Dreamer" Chen Call: W0LKC Snail: 1530 College Ave, A5 Email: beastie@tardisi.com Manhattan, KS 66502-2768 Blog: http://lawrencechen.net From owner-freebsd-rc@FreeBSD.ORG Tue May 27 22:57:34 2014 Return-Path: Delivered-To: rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 304F4DF9 for ; Tue, 27 May 2014 22:57:34 +0000 (UTC) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D8FAC2F38 for ; Tue, 27 May 2014 22:57:29 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.8/8.14.8) with ESMTP id s4RMvLfe064964; Tue, 27 May 2014 15:57:21 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.8/8.14.8/Submit) id s4RMvLkb064963; Tue, 27 May 2014 15:57:21 -0700 (PDT) (envelope-from david) Date: Tue, 27 May 2014 15:57:21 -0700 From: David Wolfskill To: rc@freebsd.org Subject: An attempt to decrease time taken to bring up NICs Message-ID: <20140527225721.GA64440@albert.catwhisker.org> Reply-To: rc@freebsd.org, David Wolfskill MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 27 May 2014 22:57:34 -0000 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This may well be something that is generally applicable only to a subset of machines, but here goes.... My laptop has both wired (em(4)) and wireless (iwn(4)) NICs. During normal operation, I would prefer to have one NIC used; which one depends on circumstances that are rather location-dependent -- but the machine is intended to have the role of "DHCP client" (again, in "normal operation"). As a consequence, /etc/rc.conf includes: wlans_iwn0=3Dwlan0 ifconfig_wlan0=3D"WPA DHCP" ifconfig_em0=3D"DHCP" And as a consequence of *that*, FreeBSD (via rc.d/netif, if I understand correctly) attempts to bring up em0, then wlan0... serially, and on every boot (well, transition from single-user to multi-user mode). Now, I can control the behavior a bit: * I can choose whether or not to plug a wire into em0. (In some cases, I can even control whether or not the other end of the wire is connected to anything useful. :-}) * I can disable the iwn0 NIC (by sliding the hardware switch). (Sometimes I can even do that intentionally. :-}) But whether or not either (or both) of the above have been done, we first try to bring up em0, then try to bring up wlan0. One plausible approach might be to fork off separate subprocesses, and try to bring up the NICs in parallel. However, I'm not that ambitious. :-} I did think of a couple of things that might help somewhat, though, and even tried coding one of them up: * Create an rc.conf knob to control allow the specification of the number of NICs I would like to have brought up. In my case, I might set that at 1 -- so if I'm in an environment where I know I only want to use thw wired NIC, I connect em0, it's brought up, and then rc.d/netif stops trying to bring up NICs (because I've reached the target number). * Create an rc.conf knob to make the sequence in which the NICs are brought up explicit. For the first one (specifying a target number of active NICs), I cobbled up a bit of code (only changing rc.d/netif); the changed version even seems to do the right thing if I invoke: service netif start However, in "real life" (i.e., during a real transition from single- to multi-user mode), the behavior seems to be unchanged. Is there something ... different ... about how rc.d/netif is invoked during boot time, perhaps? For the second... it seems that the sequence is effectively dictated by the sequence in which "ifconfig -l" outputs the list of NICs (though rc.d/netif has a bit of code to move lo0 to the front of the list). I suppose one possible approach would be: * If a certain rc variable has a non-empty value, treat it as a space-separated list of NICs (same format as output of "ifconfig -l"), and use that value in place of the currently-used "ifconfig -l" output. (This implies that the current behavior of ensuring that lo0 is first would remain.) * If that rc variable is undefined or has an empty value, fall back to the current use of the output of "ifconfog -l". Might want to set an emtpy value for the rc variable in /etc/defaults/rc.conf. The reason the second one is an issue is that it seems to me that the behavior I'm seeing (where rc.d/netif tries the wired NIC first, then the wireless) is essentially an accident of the names chosen for the NICs, rather than something that an administrator can choose. Finally, I note that even in cases where I've disabled the wireless NIC, I see (e.g.): =2E.. May 27 14:08:45 d130 wpa_supplicant[374]: Failed to initiate AP scan. May 27 14:09:16 d130 last message repeated 31 times May 27 14:11:17 d130 last message repeated 121 times May 27 14:21:18 d130 last message repeated 600 times May 27 14:31:19 d130 last message repeated 600 times May 27 14:41:20 d130 last message repeated 600 times May 27 14:51:21 d130 last message repeated 600 times May 27 15:01:22 d130 last message repeated 600 times May 27 15:11:23 d130 last message repeated 600 times May 27 15:21:24 d130 last message repeated 601 times May 27 15:31:25 d130 last message repeated 600 times May 27 15:41:26 d130 last message repeated 600 times =2E... which seems... well, not very clever. If I've disabled the wireless NIC, I'd rather not have wpa_supplicant trying to do anything (at least, with the wireless NIC). So -- am I exhibiting my tendency toward "tunnel vision" again, or do parts of the above seem to make some sense? Suggestions? Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil cowards with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --UugvWAfsgieZRqgk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQJ8BAEBCgBmBQJThRhQXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4 QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7yOYP/0G/ww4bbkaRUCfErnJ4+2jB slaV4xWRMoBGo8mBLa5jo+KUgjdlsJ5YZ+PMkeLhuEWQfbiFrnOOaHp7cEJ+BvT9 DLmskgFL94yYTnIgdUFWcGQwp+WtlNBZbFxrOmo28OP3Bnhvl88DRzs9FVrN+bMU ml8ZmrNAYUgYX2oCmm6Qpka57/9zCfQbKvA687E5TxdRqbvhxcooojWqZNhX2sY8 lpJDtXyaoEYAUIJH/X5A1EU1FejpVO2mKrdCaARlPABJQPtd6GHkX3NWN43ByeCC kCl9rPqZ9PoJ/G2NKiKus3DpOpEEg1nd5OwpguTh0h20uslH4CD5NjL/KKI1A6wh o8jsFAirUs7WcRCIPOe5hvAU6BRxCaiiF8ArREQGVYNQMMq8upur/kp7S+WpD4Dk L9caRdypIn+D88yymKwKbGcQndE+XM/DL0ndRjdGfPxbyrkjr+/g49Uhqs7Ob8iA oRykZ+Nk4av8tu/pVB778iHGiwAQeROyxMQspR5aiWEU6Hxp81XwZJqDEZeAX+Nz TWvx7VSWL4mbykWvfqpkv3n08ZZKmPdn/2pdCI0gRrzieTP0XQWRSoUj7WGFUgn/ fj190L29kypdhuIZ0s0FCRkauxwYftjczmfhQ6jTC0dVXFJvK/vlBQWsPjTlEI3r rkQaR1In3SdeXg15fuTn =UdFg -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk-- From owner-freebsd-rc@FreeBSD.ORG Wed May 28 11:20:01 2014 Return-Path: Delivered-To: freebsd-rc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 834479E8 for ; Wed, 28 May 2014 11:20:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 54F712A02 for ; Wed, 28 May 2014 11:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4SBK005085082 for ; Wed, 28 May 2014 11:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4SBK0Pm085081; Wed, 28 May 2014 11:20:00 GMT (envelope-from gnats) Date: Wed, 28 May 2014 11:20:00 GMT Message-Id: <201405281120.s4SBK0Pm085081@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org Cc: From: Paul J Murphy Subject: Re: conf/190152: [patch] [rc] gmirror savecore support Reply-To: Paul J Murphy X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 28 May 2014 11:20:01 -0000 The following reply was made to PR conf/190152; it has been noted by GNATS. From: Paul J Murphy To: The BSD Dreamer Cc: Bug followup Subject: Re: conf/190152: [patch] [rc] gmirror savecore support Date: Wed, 28 May 2014 11:11:56 +0000 On Tue, May 27, 2014 at 05:13:55PM -0500, The BSD Dreamer wrote: > This sounds/looks similar to an issue I had reported as: > > docs/178818: gmirror(8) says to use rc.early which is no longer available > > Where there was a suggestion to handle it through the dumpon script, which I > more recently found that the savecore script should have a corresponding mod > as well. > > The timestamp on my current savecore is May 12th. And, my system > successfully saved crash dumps from May 11th and May 13th. > > The problem after the May 11th savecore, was that it didn't restore my > balance setting. I didn't look at the May 13th one....since I'm without a > mirror now. No panics since, perhaps that was the reason. Yes, it's basically the same problem as docs/178818. I didn't spot that PR when submitting this one, as I wasn't thinking "docs". As far as I'm aware, the problem doesn't actually need any changes to the dumpon script, as the kernel will always deterministically pick 1 physical device within the mirror when dumping. The problem comes when savecore tries to read the saved dump, and needs the dump device to give the same deterministic behaviour when reading from it. It's quite possible that there is a configuration where changes are needed to dumpon as well as savecore, but I don't know what that configuration is. If you know of a configuration which needs special handling there (as well as during savecore), please provide any details that you can. I believe that my patch here is sufficient for the 2 most obvious cases with a simple pair of simple drives (i.e. JBOD, with no complex RAID hardware involved): 1) entire-disk gmirror; 2) single-partition gmirror. There's also a problem with the fix suggested in docs/178818, I think, where it will fail on entire-disk gmirrors (i.e. where the mirror is /dev/mirror/gm0, with dump on a partition inside the mirror at, e.g., /dev/mirror/gm0b or /dev/mirror/gm0s1b). That is why I provided a "savecore_gmirror_name" conf var in my patch here, and avoided implementing AUTO for now. It's certainly possible for someone to implement AUTO in the future, which is why I left a TODO stub for it in my patch, but it's more complex to reliably determine the mirror name from the dump device than the simple stripping of "/dev/mirror" attempted in docs/178818. Regards, Paul. From owner-freebsd-rc@FreeBSD.ORG Wed May 28 13:55:52 2014 Return-Path: Delivered-To: rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CFC9C9D6 for ; Wed, 28 May 2014 13:55:52 +0000 (UTC) Received: from nm6-vm4.bullet.mail.ne1.yahoo.com (nm6-vm4.bullet.mail.ne1.yahoo.com [98.138.91.166]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B34F29B2 for ; Wed, 28 May 2014 13:55:52 +0000 (UTC) Received: from [98.138.226.179] by nm6.bullet.mail.ne1.yahoo.com with NNFMP; 28 May 2014 13:55:45 -0000 Received: from [98.138.87.9] by tm14.bullet.mail.ne1.yahoo.com with NNFMP; 28 May 2014 13:55:45 -0000 Received: from [127.0.0.1] by omp1009.mail.ne1.yahoo.com with NNFMP; 28 May 2014 13:55:45 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 48665.24130.bm@omp1009.mail.ne1.yahoo.com Received: (qmail 62496 invoked by uid 60001); 28 May 2014 13:55:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1401285344; bh=vARfdHrA2i0w0XByJuZY04uD4qegNs7kAKogrexwUh0=; h=References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Sys91BxX4zf9SiICvJpmqdsY5MW89ipqZGOD8WZy0+DYBO2NO2uTOx5jhBGfi9BctlkNnhdDsubtyqVUQvwNeqN8LkX0jaTxf3PW7zS/DgfU4jRCxAA8uLH95P3IOcAqZH/HFS1oLqMrRn9HGywdfq0VbRkP0XGIXNxMpGGGseU= X-YMail-OSG: 3JuhbbQVM1nXbItbftxkTuRcxfo38idxxmsx8fvItY5M15E lO5xJ6DQFm641dgCPSXwPwHSTezy4QgP2Pw4MaSX1NobDesrm9ojnaNFxJk8 tN_K1.CudV1FgTS1Jvdf_DzXILjAzxsLGeRHA1g5eeLbpswlmQ0qb31dz94C 4uG5ZRgL9dAVhqkoimFRMgBgeHg9UQSztzgCcoiI0MsOkvKE3iH3D1nsZbLW 4ryR61BNjdc5QtkXaC2pxibN.YHzctVALqcAS4YlhL528awN8dhNpXK79gKN 7atA31jftFM.0GtZ2RaB3VFQVdpL95WUhSq9VbleRap0KHpnziRWRVTHRvGs BT23FXSbNoCAYq7tj47UHzizRkVnhH_de5CDGeB.jEF8BAigpNuOunzQnj4F UdrM1JJa0DWzVc16h.ZZOQOv_vjp6dsde60EUVJpQBhIjNlkTYlhheIfEkIp a6R2ERQ4qRGbll0INhKcny9_WNffu_f0wri1fvWQLF7DkZXv2VIjLOSZ2gcy 1lwBe1y7Dwaqo9CWczBLPFrYuAGt1yc2LL8gDV0XHIlkR2LCQQKTduZRUESw Evg-- Received: from [198.168.152.20] by web122405.mail.ne1.yahoo.com via HTTP; Wed, 28 May 2014 06:55:44 PDT X-Rocket-MIMEInfo: 002.001, RGVhciwKCkkgaGF2ZSB0aGUgc2FtZSBwcm9ibGVtLCBidXQgSSByZXNvbHZlZCBpdCBieSBtb2RpZnlpbmcgdGhlIGJvb3Qgc2NyZWVuICgvYm9vdC9sb2FkZXIuNHRoKSBhbmQgKHRvIGluY2x1ZGUgbXkgbmV0d29yayBzZXR1cCBhcyBhIG1lbnUsIHJlcGxhY2luZyB0aGUgRnJlZUJTRCBvbmUpIEkgdHJhbnNmZXJ0IG15IGNob2ljZSB2aWEgdGhlIGtlcm5lbCBhcmd1bWVudHMgYW5kIEkgaGFkIGFuIHJjIHNjcmlwdCB0byBzZXR1cCBteSByYy5jb25mIGR5bmFtaWNhbGx5LgoKUmVnYXJkcywKCgrCoApZdmUBMAEBAQE- X-Mailer: YahooMailWebService/0.8.188.663 References: <20140527225721.GA64440@albert.catwhisker.org> Message-ID: <1401285344.56835.YahooMailNeo@web122405.mail.ne1.yahoo.com> Date: Wed, 28 May 2014 06:55:44 -0700 (PDT) From: =?iso-8859-1?Q?Yves_Gu=E9rin?= Reply-To: =?iso-8859-1?Q?Yves_Gu=E9rin?= Subject: Re: An attempt to decrease time taken to bring up NICs To: "rc@freebsd.org" , David Wolfskill In-Reply-To: <20140527225721.GA64440@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 28 May 2014 13:55:52 -0000 Dear,=0A=0AI have the same problem, but I resolved it by modifying the boot= screen (/boot/loader.4th) and (to include my network setup as a menu, repl= acing the FreeBSD one) I transfert my choice via the kernel arguments and I= had an rc script to setup my rc.conf dynamically.=0A=0ARegards,=0A=0A=0A= =A0=0AYves Guerin=0A=0A=0A=0A=0A=0ALe Mardi 27 mai 2014 18h57, David Wolfsk= ill a =E9crit :=0A =0A=0A=0AThis may well be somethi= ng that is generally applicable only to a subset=0Aof machines, but here go= es....=0A=0AMy laptop has both wired (em(4)) and wireless (iwn(4)) NICs.=A0= During=0Anormal operation, I would prefer to have one NIC used; which one = depends=0Aon circumstances that are rather location-dependent -- but the ma= chine=0Ais intended to have the role of "DHCP client" (again, in "normal=0A= operation").=0A=0AAs a consequence, /etc/rc.conf includes:=0A=0Awlans_iwn0= =3Dwlan0=0Aifconfig_wlan0=3D"WPA DHCP"=0Aifconfig_em0=3D"DHCP"=0A=0A=0AAnd = as a consequence of *that*, FreeBSD (via rc.d/netif, if I understand=0Acorr= ectly) attempts to bring up em0, then wlan0... serially, and on=0Aevery boo= t (well, transition from single-user to multi-user mode).=0A=0ANow, I can c= ontrol the behavior a bit:=0A* I can choose whether or not to plug a wire i= nto em0.=A0 (In some cases,=0A=A0 I can even control whether or not the oth= er end of the wire is connected=0A=A0 to anything useful. :-})=0A* I can di= sable the iwn0 NIC (by sliding the hardware switch).=0A=A0 (Sometimes I can= even do that intentionally. :-})=0A=0ABut whether or not either (or both) = of the above have been done, we=0Afirst try to bring up em0, then try to br= ing up wlan0.=0A=0AOne plausible approach might be to fork off separate sub= processes, and=0Atry to bring up the NICs in parallel.=A0 However, I'm not = that ambitious. :-}=0A=0AI did think of a couple of things that might help = somewhat, though, and=0Aeven tried coding one of them up:=0A* Create an rc.= conf knob to control allow the specification of the=0A=A0 number of NICs I = would like to have brought up.=A0 In my case, I might=0A=A0 set that at 1 -= - so if I'm in an environment where I know I only want=0A=A0 to use thw wir= ed NIC, I connect em0, it's brought up, and then=0A=A0 rc.d/netif stops try= ing to bring up NICs (because I've reached the=0A=A0 target number).=0A* Cr= eate an rc.conf knob to make the sequence in which the NICs are=0A=A0 broug= ht up explicit.=0A=0AFor the first one (specifying a target number of activ= e NICs), I cobbled=0Aup a bit of code (only changing rc.d/netif); the chang= ed version even=0Aseems to do the right thing if I invoke:=0A=0A=A0=A0=A0 s= ervice netif start=0A=0AHowever, in "real life" (i.e., during a real transi= tion from single- to=0Amulti-user mode), the behavior seems to be unchanged= .=0A=0AIs there something ... different ... about how rc.d/netif is invoked= =0Aduring boot time, perhaps?=0A=0A=0AFor the second... it seems that the s= equence is effectively dictated by=0Athe sequence in which "ifconfig -l" ou= tputs the list of NICs (though=0Arc.d/netif has a bit of code to move lo0 t= o the front of the list).=A0 I=0Asuppose one possible approach would be:=0A= * If a certain rc variable has a non-empty value, treat it as a=0A=A0 space= -separated list of NICs (same format as output of "ifconfig -l"),=0A=A0 and= use that value in place of the currently-used "ifconfig -l"=0A=A0 output.= =A0 (This implies that the current behavior of ensuring that lo0=0A=A0 is f= irst would remain.)=0A* If that rc variable is undefined or has an empty va= lue, fall back to=0A=A0 the current use of the output of "ifconfog -l".=0A= =0AMight want to set an emtpy value for the rc variable in=0A/etc/defaults/= rc.conf.=0A=0A=0AThe reason the second one is an issue is that it seems to = me that the=0Abehavior I'm seeing (where rc.d/netif tries the wired NIC fir= st, then=0Athe wireless) is essentially an accident of the names chosen for= the=0ANICs, rather than something that an administrator can choose.=0A=0AF= inally, I note that even in cases where I've disabled the wireless NIC,=0AI= see (e.g.):=0A=0A...=0AMay 27 14:08:45 d130 wpa_supplicant[374]: Failed to= initiate AP scan.=0AMay 27 14:09:16 d130 last message repeated 31 times=0A= May 27 14:11:17 d130 last message repeated 121 times=0AMay 27 14:21:18 d130= last message repeated 600 times=0AMay 27 14:31:19 d130 last message repeat= ed 600 times=0AMay 27 14:41:20 d130 last message repeated 600 times=0AMay 2= 7 14:51:21 d130 last message repeated 600 times=0AMay 27 15:01:22 d130 last= message repeated 600 times=0AMay 27 15:11:23 d130 last message repeated 60= 0 times=0AMay 27 15:21:24 d130 last message repeated 601 times=0AMay 27 15:= 31:25 d130 last message repeated 600 times=0AMay 27 15:41:26 d130 last mess= age repeated 600 times=0A....=0A=0Awhich seems... well, not very clever.=A0= If I've disabled the wireless=0ANIC, I'd rather not have wpa_supplicant tr= ying to do anything (at least,=0Awith the wireless NIC).=0A=0ASo -- am I ex= hibiting my tendency toward "tunnel vision" again, or do=0Aparts of the abo= ve seem to make some sense?=A0 Suggestions?=0A=0AThanks!=0A=0APeace,=0Adavi= d=0A-- =0ADavid H. Wolfskill=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 david@c= atwhisker.org=0ATaliban: Evil cowards with guns afraid of truth from a 14-y= ear old girl.=0A=0ASee http://www.catwhisker.org/~david/publickey.gpg for m= y public key. From owner-freebsd-rc@FreeBSD.ORG Thu May 29 16:16:17 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3B6C3FD for ; Thu, 29 May 2014 16:16:17 +0000 (UTC) Received: from mail-qg0-x243.google.com (mail-qg0-x243.google.com [IPv6:2607:f8b0:400d:c04::243]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0019A2A64 for ; Thu, 29 May 2014 16:16:16 +0000 (UTC) Received: by mail-qg0-f67.google.com with SMTP id a108so509686qge.2 for ; Thu, 29 May 2014 09:16:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=lYyZIoRfrGnfdSDXSuj/UKOZhACn9ctjQr+2qZl3+eY=; b=xYPXrcp7TRTcuFiWdeqhGvDonDvNzEr5EYt89Hnx/3vvY/hKhSsk0NRXf1TFJgLUVR ZrSBFbL7pyVWBzCJUTA7ZNsFB+PjypWMSTw/aSz/1u27kKLfuAauhXXdN/FUf+mt9cVa eFApG4JxtCFimuFJDH6lB+4Dqlbc5R+UETYl0vAutTQjffckJWMAe2enoVQZVNcn+Xk4 IW1L3bm8ztYR4IhJ2flsrPZPjGKMoAN+ZeTxuXI44AjEXmwGOdmmr5Np+xb8xxjFyVCa QZkfxCh3+K/GtOGtaM9R7vKlnu1UoeaUoPWIuVawp1KxGvXWMRRDeU3NCHZolRYOyqsu gTvQ== MIME-Version: 1.0 X-Received: by 10.224.16.199 with SMTP id p7mr11931385qaa.76.1401380175960; Thu, 29 May 2014 09:16:15 -0700 (PDT) Received: by 10.229.14.196 with HTTP; Thu, 29 May 2014 09:16:15 -0700 (PDT) Date: Thu, 29 May 2014 11:16:15 -0500 Message-ID: Subject: Help needed to add scheduling to a small rc.d script From: Pietro Sammarco To: freebsd-rc@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 29 May 2014 16:16:17 -0000 Hello everyone, let me begin saying I know very little about sh scripting and shell scripting in general, so by reading here and there I have managed to create a small sh scrip that ping google.com and if the ping timed out it will take wlan0 down, take it back up and run dhclient on it. Essentially what I need to do is to add a 30 seconds scheduling time to this script, so that each and every 30 seconds it will check if google.comis pingable, and if not it will do what the script it supposed to do, and at the same time I want to keep the start and stop feature. Lastly, the main reason why I need to make this script is because when my laptop resumes from suspending ( hw.acpi.lid_switch_state ) the wireless goes numb, and those steps are required for the OS to associate with the AP again, and becase this laptop is not always connected through wireless and sometimes it act as gateway sharing the connection from the ethernet card to the wireless card, I would rather avoid to make this script a cronjob. Here's the mini script itself Thanks #!/bin/sh . /etc/rc.subr name="resumewlan" start_cmd="resumewlan_start" stop_cmd="resumewlan_stop" if ! [ "`ping -c 1 google.com`" ]; then ifconfig wlan0 down & ifconfig wlan0 up & dhclient wlan0 #if ping timed out, takes down the wireless, takes it back up and executes dhlient on it fi From owner-freebsd-rc@FreeBSD.ORG Thu May 29 19:02:16 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AF749B8E for ; Thu, 29 May 2014 19:02:16 +0000 (UTC) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6BB632CD1 for ; Thu, 29 May 2014 19:02:16 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 920502842C; Thu, 29 May 2014 20:53:06 +0200 (CEST) Received: from [192.168.1.2] (ip-89-177-49-222.net.upcbroadband.cz [89.177.49.222]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 75ACA28429; Thu, 29 May 2014 20:53:05 +0200 (CEST) Message-ID: <53878210.3010406@quip.cz> Date: Thu, 29 May 2014 20:53:04 +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 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: Pietro Sammarco Subject: Re: Help needed to add scheduling to a small rc.d script References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-rc@freebsd.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 29 May 2014 19:02:16 -0000 Pietro Sammarco wrote: [...] > Essentially what I need to do is to add a 30 seconds scheduling time to > this script, so that each and every 30 seconds it will check if > google.comis pingable, and if not it will do what the script it > supposed to do, and > at the same time I want to keep the start and stop feature. You can use endless loop with sleep 30 in it. while [ 1 ]; do if ! [ `ping -q -c 4 -o google.com > /dev/null` ]; then ifconfig wlan0 down & ifconfig wlan0 up & dhclient wlan0 fi sleep 30 done It is better to send more than one packet in case of some packet loss on the line (-c 4) The problem with your rc script is, that it will be running forever and will not return. I think you need one script running like a "daemon" and another one (rc) to control the first one. (starting / stopping) You can learn more about rc scripting in this article http://www.freebsd.org/doc/en/articles/rc-scripting/article.html Miroslav Lachman From owner-freebsd-rc@FreeBSD.ORG Sun Jun 1 18:33:34 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A7940139 for ; Sun, 1 Jun 2014 18:33:34 +0000 (UTC) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [IPv6:2001:4200:7000:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4AC1D24D9 for ; Sun, 1 Jun 2014 18:33:34 +0000 (UTC) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 220D7B828; Sun, 1 Jun 2014 20:33:31 +0200 (SAST) Date: Sun, 1 Jun 2014 20:33:31 +0200 From: John Hay To: freebsd-rc@freebsd.org Subject: network.subr vlan handling broken Message-ID: <20140601183330.GA12394@zibbi.meraka.csir.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 01 Jun 2014 18:33:34 -0000 Hi Guys, I found after upgrading that vlan handling broke. I tried the following: vlans_bce1="6" ipv4_addrs_bce1_6="inet 10.239.100.2/24" ifconfig_bce1_6_aliases="inet 10.239.100.2/24" ifconfig_bce1_6_alias0="inet 10.239.100.2/24" I traced it down to ifalias_af_common_handler being called with the mangled interfcace name _if and it then calls ifconfig with it. Here is my fix. Any reason not to commit it? My diff is against 10-stable, but head looks the same. ################# --- /etc/network.subr.orig 2014-06-01 17:30:38.000000000 +0000 +++ /etc/network.subr 2014-06-01 18:03:08.030175024 +0000 @@ -1151,7 +1151,7 @@ inet|inet6|ipx|link|ether) case $_tmpargs in ${_af}\ *) - eval ifalias_af_common_handler $_if $_af $_action $_tmpargs && _ret=0 + eval ifalias_af_common_handler $1 $_af $_action $_tmpargs && _ret=0 ;; esac _tmpargs=$_c @@ -1163,7 +1163,7 @@ # Process the last component case $_tmpargs in ${_af}\ *) - ifalias_af_common_handler $_if $_af $_action $_tmpargs && _ret=0 + ifalias_af_common_handler $1 $_af $_action $_tmpargs && _ret=0 ;; esac ################# While looking through the code I saw that ltr is called with different styling. Is there a reason for it? Which is the prefered style? ltr ${_if} "${_punct}" '_' _if ltr "$_if" "$_punct" "_" _if My own would be the first. Regards John -- John Hay -- jhay@meraka.csir.co.za / jhay@meraka.org.za From owner-freebsd-rc@FreeBSD.ORG Mon Jun 2 16:01:14 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E2F966FA for ; Mon, 2 Jun 2014 16:01:14 +0000 (UTC) Received: from mail.feld.me (mail.feld.me [66.170.3.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.feld.me", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 93FA4262F for ; Mon, 2 Jun 2014 16:01:14 +0000 (UTC) Received: from mail.feld.me (mail.feld.me [66.170.3.6]); by mail.feld.me (OpenSMTPD) with ESMTP id 3c694346; for ; Mon, 2 Jun 2014 11:01:11 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=feld.me; h=mime-version :content-type:date:from:to:subject:message-id:sender; s= blargle2; bh=jUBrqIdB9O1lasp3Ox8xgcgLdgY=; b=1xp7jQX/Ua5i4RYWm+3 NhifJgUJBGYswNNUcoSFNNmG1ET6+5lPbKjdMR7MbjXZWqw8WWj7/bGcxzx43CvT WeAzV2pVWPzOT/8CTwzy9pwHXA963UDfypQdg1I0gABqLBfihU6DYGgyFuN2m9kz BAgV76O6mw+/0wSk59Z2HI18DlGrhICqesaG3RlSE+rzle/eN3ahv6a1bZY/Ul3z /vyeeBiM0DM9GAF0or5sgwVldmRZrDqBiv/Z8XSFeQ62glwJkeJLto6889YWszSZ 8+dvtRhspM31T4ieekQILSRmOmuytsZ6rgmWWxT6GQpFKmwcY6R50ddLxGCuSHxV 6DQ== DomainKey-Signature: a=rsa-sha1; c=nofws; d=feld.me; h=mime-version :content-type:date:from:to:subject:message-id:sender; q=dns; s= blargle2; b=G7WMhhDYTY1EaH4toyPgoPgNq2275z+l6y/4QsEqvORHXGk1rYLE SFZApmOZC7+v1u9c2W1KQP1B9EgMY4brlp86xdl4zYHdyMQ7WxuBbVhFA8eOuIPJ pqPjWM/WG2aIuS3TUiqGxL/pRNiqCerUqS0UjOlaTPL9RlVOVIgHCKMmztE6RICl MweXqNux5mmd6mPibAvrn2xnkihAOLwFGBsVfbBvkmkCl2x3zlWicQRYJDLtLUaL ou8Au3Um3XWatp4RsiU7ICguYc33+/24by7/AndJyn1VmyMg1kswzS7/XslE8Pyo qX5x9rL7h5mYZOJ9MFW7HQYO6VCXAoEmCw== Received: from mail.feld.me (mail.feld.me [66.170.3.6]); by mail.feld.me (OpenSMTPD) with ESMTP id 0baf6cb3; for ; Mon, 2 Jun 2014 11:01:11 -0500 (CDT) Received: from feld@feld.me by mail.feld.me (Archiveopteryx 3.2.0) with esmtpa id 1401724870-322-320/5/21; Mon, 2 Jun 2014 16:01:10 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Date: Mon, 2 Jun 2014 11:01:09 -0500 From: Mark Felder To: freebsd-rc@FreeBSD.org Subject: rc.subr cant seem to handle spaces in binary names Message-Id: <58603eaa94f5e276b09138753b25c5f7@mail.feld.me> X-Sender: feld@FreeBSD.org User-Agent: Roundcube Webmail/1.0.1 Sender: feld@feld.me X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 02 Jun 2014 16:01:15 -0000 Hello, Finally looking for feedback on this. I have a port (multimedia/plexmediaserver) whose binary name is "Plex Media Server" -- with spaces. Our rc framework doesn't like this, and every attempt to get it to play nice has resulted in failure. I do not like spaces in the binary name, but this is something that Plex has had for years and I don't expect them to change. Is this a bug in rc.subr, a known WONTFIX, or am I overlooking something? I'd love to simplify the rc script if possible. Thanks From owner-freebsd-rc@FreeBSD.ORG Mon Jun 2 19:56:08 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2D914A6C; Mon, 2 Jun 2014 19:56:08 +0000 (UTC) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DDD0C2DF7; Mon, 2 Jun 2014 19:56:07 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 25B962842B; Mon, 2 Jun 2014 21:56:05 +0200 (CEST) Received: from [192.168.1.2] (ip-89-177-49-222.net.upcbroadband.cz [89.177.49.222]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 2A76228429; Mon, 2 Jun 2014 21:56:04 +0200 (CEST) Message-ID: <538CD6D3.6060908@quip.cz> Date: Mon, 02 Jun 2014 21:56:03 +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 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: Mark Felder Subject: Re: rc.subr cant seem to handle spaces in binary names References: <58603eaa94f5e276b09138753b25c5f7@mail.feld.me> In-Reply-To: <58603eaa94f5e276b09138753b25c5f7@mail.feld.me> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 02 Jun 2014 19:56:08 -0000 Mark Felder wrote: > Hello, > > Finally looking for feedback on this. I have a port > (multimedia/plexmediaserver) whose binary name is "Plex Media Server" -- > with spaces. Our rc framework doesn't like this, and every attempt to > get it to play nice has resulted in failure. I do not like spaces in the > binary name, but this is something that Plex has had for years and I > don't expect them to change. Is this a bug in rc.subr, a known WONTFIX, > or am I overlooking something? I'd love to simplify the rc script if > possible. I think it is related to similar problem as with hypen it the name="background-fsck" (in rc.d/bgfsck). It did wrong things in eval part of rc.subr http://lists.freebsd.org/pipermail/freebsd-rc/2010-January/001814.html So I think you can install "Plex Media Server" binary renamed to "Plex_Media_Server", or somebody should fix rc.subr. Miroslav Lachman From owner-freebsd-rc@FreeBSD.ORG Wed Jun 4 08:00:15 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 84D8A1EC for ; Wed, 4 Jun 2014 08:00:15 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 737DA224F for ; Wed, 4 Jun 2014 08:00:15 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5480Frd049838 for ; Wed, 4 Jun 2014 09:00:15 +0100 (BST) (envelope-from bz-noreply@freebsd.org) Message-Id: <201406040800.s5480Frd049838@kenobi.freebsd.org> From: bz-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bugzilla] Commit Needs MFC MIME-Version: 1.0 X-Bugzilla-Type: whine X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated Date: Wed, 04 Jun 2014 08:00:15 +0000 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 04 Jun 2014 08:00:15 -0000 Hi, You have a bug in the "Needs MFC" state which has not been touched in 7 days. This email serves as a reminder that you may want to MFC this bug or marked it as completed. In the event you have a longer MFC timeout you may update this bug with a comment and I won't remind you again for 7 days. This reminder is an experimental feature. Please file a bug or mail bugmeister@ with concerns. This search was scheduled by eadler@FreeBSD.org. (2 bugs) Bug 138208: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=138208 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [rc.d] [patch] Making rc.firewall (workstation) IPv6 aware Bug 168544: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168544 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [patch] [rc]: addswap-mounted swapfiles cause panic on shutdown From owner-freebsd-rc@FreeBSD.ORG Wed Jun 4 17:20:57 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1EEA8965 for ; Wed, 4 Jun 2014 17:20:57 +0000 (UTC) Received: from mail-yk0-x22d.google.com (mail-yk0-x22d.google.com [IPv6:2607:f8b0:4002:c07::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D7B4D2A3F for ; Wed, 4 Jun 2014 17:20:56 +0000 (UTC) Received: by mail-yk0-f173.google.com with SMTP id 142so6341228ykq.4 for ; Wed, 04 Jun 2014 10:20:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=WZI57BIHMe5nNaaSFWVWOt28/k5t9sRAMxjKcK/ay+Y=; b=0ptej/5WhAzoB5axWOnxOATV0oSizee2pes8/w4ZKOwWVIXEKZxESwDlz6NFH+FIpS Iw0s3wcQ5XD1gBHWTfuwSzwxuMQas2IlLVSnz1qnkIACVjC32tKgtAKMWnpGnHuljQ5u Vs8JicIQhEhBRVDA5n8Rq8UaNFrVRfImj9gTtZT/bRH+oxxxQiFQfGcRQd7sRvKuQ4KE SOCYc1k2KLh6dmR0gHHqanTyIHNiDr7qWia5gtgcQAjs+Txy24xGEsLQKb2o4kRHMub4 4Zxw11wllatS0dNup20ByIhGG9qSAcykvOdp4zI+0yquGWhNLrVVOi0Suiz2IXhhCwDr Cs7Q== MIME-Version: 1.0 X-Received: by 10.236.134.169 with SMTP id s29mr73983318yhi.4.1401902455972; Wed, 04 Jun 2014 10:20:55 -0700 (PDT) Received: by 10.170.130.198 with HTTP; Wed, 4 Jun 2014 10:20:55 -0700 (PDT) Date: Wed, 4 Jun 2014 20:20:55 +0300 Message-ID: Subject: hostid is required for hostid_save and netif when /etc/rc.d/zvol is removed From: Guy Yur To: freebsd-rc@freebsd.org Content-Type: multipart/mixed; boundary=20cf303a2eabe6222104fb05d9c8 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 04 Jun 2014 17:20:57 -0000 --20cf303a2eabe6222104fb05d9c8 Content-Type: text/plain; charset=UTF-8 Hi, When /etc/rc.d/zvol is removed hostid is run after hostid_save and netif. Attached output of: cd /etc/rc.d rm zvol rcorder * hostid is required by hostid_save in case /etc/hostid doesn't exist so the correct hostid will be written. hostid is required by netif for the bridge interface MAC address. If hostid is run after netif a random MAC address will be generated on each boot. Attached patch against r266298 to add hostid to REQUIRE line. Verified behavior on virtual machine installed from FreeBSD-11.0-CURRENT-i386-20140525-r266655-disc1.iso. /etc/rc.conf ... cloned_interfaces="bridge0" ifconfig bridge0 # (first boot) bridge0: flags=8802 metric 0 mtu 1500 ether 22:b3:11:79:51:3d ifconfig bridge0 # (second boot) bridge0: flags=8802 metric 0 mtu 1500 ether 5e:dc:bd:ed:43:5d When hostid is added to netif REQUIRE line: dmesg -a ... Setting hostid: 0x49d109e4. ... ifconfig bridge0 # (on every boot) bridge0: flags=8802 metric 0 mtu 1500 ether 02:49:d1:09:e4:00 - Guy --20cf303a2eabe6222104fb05d9c8 Content-Type: text/plain; charset=US-ASCII; name="rcorder_no_zvol.txt" Content-Disposition: attachment; filename="rcorder_no_zvol.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hw0w2r6l1 ZHVtcG9uCmRkYgppbml0cmFuZG9tCmdlbGkKZ2JkZQpjY2QKc3dhcApmc2NrCnJvb3QKbWRjb25m aWcKaG9zdGlkX3NhdmUKbW91bnRjcml0bG9jYWwKemZzCnZhcgpjbGVhbnZhcgpGSUxFU1lTVEVN UwprbGR4cmVmCmtsZAphZGRzd2FwCnJhbmRvbQpwb3N0cmFuZG9tCmFkamtlcm50egphdG0xCmhv c3RuYW1lCmlwNmFkZHJjdG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f c2VydmVyCnJ0YWR2ZApyd2hvCkxPR0lOCnN5c2NvbnMKc3dhcGxhdGUKc3NoZApzZW5kbWFpbApj cm9uCmphaWwKbG9jYWxwa2cKc2VjdXJlbGV2ZWwKcG93ZXJfcHJvZmlsZQpvdGhlcm10YQpuZnNj YmQKbmF0ZAptc2dzCm1vdXNlZAptaXhlcgprZmQKaW5ldGQKaG9zdGlkCmhvc3RhcGQKZ3B0Ym9v dApnZWxpMgpmdHBkCmZ0cC1wcm94eQpkaGNsaWVudApic25tcGQKYmx1ZXRvb3RoCmJnZnNjawo= --20cf303a2eabe6222104fb05d9c8 Content-Type: application/octet-stream; name="add_hostid_req.patch" Content-Disposition: attachment; filename="add_hostid_req.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hw0w2fvb0 SW5kZXg6IGV0Yy9yYy5kL2hvc3RpZF9zYXZlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGV0Yy9yYy5kL2hvc3Rp ZF9zYXZlCShyZXZpc2lvbiAyNjYyOTgpCisrKyBldGMvcmMuZC9ob3N0aWRfc2F2ZQkod29ya2lu ZyBjb3B5KQpAQCAtNCw3ICs0LDcgQEAKICMKIAogIyBQUk9WSURFOiBob3N0aWRfc2F2ZQotIyBS RVFVSVJFOiByb290CisjIFJFUVVJUkU6IGhvc3RpZCByb290CiAjIEtFWVdPUkQ6IG5vamFpbAog CiAuIC9ldGMvcmMuc3VicgpJbmRleDogZXRjL3JjLmQvbmV0aWYKPT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gZXRj L3JjLmQvbmV0aWYJKHJldmlzaW9uIDI2NjI5OCkKKysrIGV0Yy9yYy5kL25ldGlmCSh3b3JraW5n IGNvcHkpCkBAIC0yNiw3ICsyNiw3IEBACiAjCiAKICMgUFJPVklERTogbmV0aWYKLSMgUkVRVUlS RTogYXRtMSBGSUxFU1lTVEVNUyBzZXJpYWwgc3BwcCBzeXNjdGwKKyMgUkVRVUlSRTogYXRtMSBG SUxFU1lTVEVNUyBob3N0aWQgc2VyaWFsIHNwcHAgc3lzY3RsCiAjIFJFUVVJUkU6IGlwZmlsdGVy IGlwZnMKICMgS0VZV09SRDogbm9qYWlsdm5ldAogCg== --20cf303a2eabe6222104fb05d9c8-- From owner-freebsd-rc@FreeBSD.ORG Thu Jun 5 08:00:13 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8A190797 for ; Thu, 5 Jun 2014 08:00:13 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 795742B4F for ; Thu, 5 Jun 2014 08:00:13 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5580DOn039453 for ; Thu, 5 Jun 2014 09:00:13 +0100 (BST) (envelope-from bz-noreply@freebsd.org) Message-Id: <201406050800.s5580DOn039453@kenobi.freebsd.org> From: bz-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bugzilla] Commit Needs MFC MIME-Version: 1.0 X-Bugzilla-Type: whine X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated Date: Thu, 05 Jun 2014 08:00:13 +0000 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 05 Jun 2014 08:00:13 -0000 Hi, You have a bug in the "Needs MFC" state which has not been touched in 7 days. This email serves as a reminder that you may want to MFC this bug or marked it as completed. In the event you have a longer MFC timeout you may update this bug with a comment and I won't remind you again for 7 days. This reminder is an experimental feature. Please file a bug or mail bugmeister@ with concerns. This search was scheduled by eadler@FreeBSD.org. (2 bugs) Bug 138208: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=138208 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [rc.d] [patch] Making rc.firewall (workstation) IPv6 aware Bug 168544: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168544 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [patch] [rc]: addswap-mounted swapfiles cause panic on shutdown From owner-freebsd-rc@FreeBSD.ORG Fri Jun 6 08:00:13 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9C1B5429 for ; Fri, 6 Jun 2014 08:00:13 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B52321C6 for ; Fri, 6 Jun 2014 08:00:13 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5680D1T090757 for ; Fri, 6 Jun 2014 09:00:13 +0100 (BST) (envelope-from bz-noreply@freebsd.org) Message-Id: <201406060800.s5680D1T090757@kenobi.freebsd.org> From: bz-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bugzilla] Commit Needs MFC MIME-Version: 1.0 X-Bugzilla-Type: whine X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated Date: Fri, 06 Jun 2014 08:00:13 +0000 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 06 Jun 2014 08:00:13 -0000 Hi, You have a bug in the "Needs MFC" state which has not been touched in 7 days. This email serves as a reminder that you may want to MFC this bug or marked it as completed. In the event you have a longer MFC timeout you may update this bug with a comment and I won't remind you again for 7 days. This reminder is an experimental feature. Please file a bug or mail bugmeister@ with concerns. This search was scheduled by eadler@FreeBSD.org. (2 bugs) Bug 138208: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=138208 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [rc.d] [patch] Making rc.firewall (workstation) IPv6 aware Bug 168544: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168544 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [patch] [rc]: addswap-mounted swapfiles cause panic on shutdown From owner-freebsd-rc@FreeBSD.ORG Sun Jun 8 09:52:45 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E3F88632 for ; Sun, 8 Jun 2014 09:52:45 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CB3B5255A for ; Sun, 8 Jun 2014 09:52:45 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s589qj5d098113 for ; Sun, 8 Jun 2014 10:52:45 +0100 (BST) (envelope-from bz-noreply@freebsd.org) From: bz-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bug 168966] [rc.conf] [patch] geli swap flag for encryption algo is redundant Date: Sun, 08 Jun 2014 09:52:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 9.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: p5B2E9A8F@t-online.de X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-rc@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 08 Jun 2014 09:52:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168966 p5B2E9A8F@t-online.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |p5B2E9A8F@t-online.de --- Comment #2 from p5B2E9A8F@t-online.de --- As of RELEASE-10.0 geli_swap_flags in /etc/defaults/rc.conf are gone and geli_swap_flags in rc.conf are obsolete, the status "In Discussion" should be changed to its final destination. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-rc@FreeBSD.ORG Mon Jun 9 08:00:13 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2353F649 for ; Mon, 9 Jun 2014 08:00:13 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1229E27E5 for ; Mon, 9 Jun 2014 08:00:13 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5980CbD057101 for ; Mon, 9 Jun 2014 09:00:12 +0100 (BST) (envelope-from bz-noreply@freebsd.org) Message-Id: <201406090800.s5980CbD057101@kenobi.freebsd.org> From: bz-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bugzilla] Commit Needs MFC MIME-Version: 1.0 X-Bugzilla-Type: whine X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated Date: Mon, 09 Jun 2014 08:00:12 +0000 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 09 Jun 2014 08:00:13 -0000 Hi, You have a bug in the "Needs MFC" state which has not been touched in 7 or more days. This email serves as a reminder that you may want to MFC this bug or marked it as completed. In the event you have a longer MFC timeout you may update this bug with a comment and I won't remind you again for 7 days. This reminder is only sent on Mondays. Please file a bug about concerns you may have. This search was scheduled by eadler@FreeBSD.org. (2 bugs) Bug 138208: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=138208 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [rc.d] [patch] Making rc.firewall (workstation) IPv6 aware Bug 168544: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168544 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [patch] [rc]: addswap-mounted swapfiles cause panic on shutdown From owner-freebsd-rc@FreeBSD.ORG Mon Jun 9 20:36:13 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C46EA7EE for ; Mon, 9 Jun 2014 20:36:13 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AB9D82FC0 for ; Mon, 9 Jun 2014 20:36:13 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s59KaD9N097951 for ; Mon, 9 Jun 2014 21:36:13 +0100 (BST) (envelope-from bz-noreply@freebsd.org) From: bz-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bug 167566] [rc.d] [patch] ipdivert module loading vs. ipfw rc.d order issue Date: Mon, 09 Jun 2014 20:36:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 9.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: amdmi3@FreeBSD.org X-Bugzilla-Status: Issue Resolved X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-rc@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 09 Jun 2014 20:36:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=167566 Dmitry Marakasov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Issue Resolved Resolution|--- |FIXED --- Comment #9 from Dmitry Marakasov --- I guess this is fixed now -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-rc@FreeBSD.ORG Mon Jun 16 08:00:14 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03BE11D5 for ; Mon, 16 Jun 2014 08:00:14 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E62492324 for ; Mon, 16 Jun 2014 08:00:13 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5G80DeP072069 for ; Mon, 16 Jun 2014 09:00:13 +0100 (BST) (envelope-from bz-noreply@freebsd.org) Message-Id: <201406160800.s5G80DeP072069@kenobi.freebsd.org> From: bz-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bugzilla] Commit Needs MFC MIME-Version: 1.0 X-Bugzilla-Type: whine X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated Date: Mon, 16 Jun 2014 08:00:13 +0000 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 16 Jun 2014 08:00:14 -0000 Hi, You have a bug in the "Needs MFC" state which has not been touched in 7 or more days. This email serves as a reminder that you may want to MFC this bug or marked it as completed. In the event you have a longer MFC timeout you may update this bug with a comment and I won't remind you again for 7 days. This reminder is only sent on Mondays. Please file a bug about concerns you may have. This search was scheduled by eadler@FreeBSD.org. (2 bugs) Bug 138208: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=138208 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [rc.d] [patch] Making rc.firewall (workstation) IPv6 aware Bug 168544: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168544 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [patch] [rc]: addswap-mounted swapfiles cause panic on shutdown From owner-freebsd-rc@FreeBSD.ORG Mon Jun 23 08:00:14 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6221375D for ; Mon, 23 Jun 2014 08:00:14 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 50CCD2942 for ; Mon, 23 Jun 2014 08:00:14 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5N80EIo087248 for ; Mon, 23 Jun 2014 09:00:14 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) Message-Id: <201406230800.s5N80EIo087248@kenobi.freebsd.org> From: bugzilla-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bugzilla] Commit Needs MFC MIME-Version: 1.0 X-Bugzilla-Type: whine X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated Date: Mon, 23 Jun 2014 08:00:14 +0000 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 23 Jun 2014 08:00:14 -0000 Hi, You have a bug in the "Needs MFC" state which has not been touched in 7 or more days. This email serves as a reminder that you may want to MFC this bug or marked it as completed. In the event you have a longer MFC timeout you may update this bug with a comment and I won't remind you again for 7 days. This reminder is only sent on Mondays. Please file a bug about concerns you may have. This search was scheduled by eadler@FreeBSD.org. (2 bugs) Bug 138208: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=138208 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [rc.d] [patch] Making rc.firewall (workstation) IPv6 aware Bug 168544: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168544 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [patch] [rc]: addswap-mounted swapfiles cause panic on shutdown From owner-freebsd-rc@FreeBSD.ORG Thu Jun 26 01:26:28 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 25F1315D for ; Thu, 26 Jun 2014 01:26:28 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D61F2AFB for ; Thu, 26 Jun 2014 01:26:28 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5Q1QROR064995 for ; Thu, 26 Jun 2014 02:26:27 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bug 191252] [rc.conf] [vlan] [carp] broken alias syntax on vlan interfaces Date: Thu, 26 Jun 2014 01:26:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-rc@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 26 Jun 2014 01:26:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191252 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-rc@FreeBSD.org --- Comment #1 from Mark Linimon --- Over to maintainers. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-rc@FreeBSD.ORG Mon Jun 30 08:00:14 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3CADF829 for ; Mon, 30 Jun 2014 08:00:14 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2AEE92929 for ; Mon, 30 Jun 2014 08:00:14 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5U80EAM004316 for ; Mon, 30 Jun 2014 09:00:14 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) Message-Id: <201406300800.s5U80EAM004316@kenobi.freebsd.org> From: bugzilla-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bugzilla] Commit Needs MFC MIME-Version: 1.0 X-Bugzilla-Type: whine X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated Date: Mon, 30 Jun 2014 08:00:14 +0000 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 30 Jun 2014 08:00:14 -0000 Hi, You have a bug in the "Needs MFC" state which has not been touched in 7 or more days. This email serves as a reminder that you may want to MFC this bug or marked it as completed. In the event you have a longer MFC timeout you may update this bug with a comment and I won't remind you again for 7 days. This reminder is only sent on Mondays. Please file a bug about concerns you may have. This search was scheduled by eadler@FreeBSD.org. (2 bugs) Bug 138208: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=138208 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [rc.d] [patch] Making rc.firewall (workstation) IPv6 aware Bug 168544: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168544 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [patch] [rc]: addswap-mounted swapfiles cause panic on shutdown From owner-freebsd-rc@FreeBSD.ORG Mon Jul 7 08:00:13 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D1BDCE2C for ; Mon, 7 Jul 2014 08:00:13 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C00B825AB for ; Mon, 7 Jul 2014 08:00:13 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6780D4E030317 for ; Mon, 7 Jul 2014 09:00:13 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) Message-Id: <201407070800.s6780D4E030317@kenobi.freebsd.org> From: bugzilla-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bugzilla] Commit Needs MFC MIME-Version: 1.0 X-Bugzilla-Type: whine X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated Date: Mon, 07 Jul 2014 08:00:13 +0000 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 07 Jul 2014 08:00:14 -0000 Hi, You have a bug in the "Needs MFC" state which has not been touched in 7 or more days. This email serves as a reminder that you may want to MFC this bug or marked it as completed. In the event you have a longer MFC timeout you may update this bug with a comment and I won't remind you again for 7 days. This reminder is only sent on Mondays. Please file a bug about concerns you may have. This search was scheduled by eadler@FreeBSD.org. (2 bugs) Bug 138208: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=138208 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [rc.d] [patch] Making rc.firewall (workstation) IPv6 aware Bug 168544: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168544 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [patch] [rc]: addswap-mounted swapfiles cause panic on shutdown From owner-freebsd-rc@FreeBSD.ORG Tue Jul 8 02:06:42 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 990ABED9 for ; Tue, 8 Jul 2014 02:06:42 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 803D12BC6 for ; Tue, 8 Jul 2014 02:06:42 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6826gfO042075 for ; Tue, 8 Jul 2014 03:06:42 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bug 191415] [carp] CARP password with "-" causes /etc/rc.d/netif to infinite loop Date: Tue, 08 Jul 2014 02:06:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 08 Jul 2014 02:06:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191415 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freebsd-rc@FreeBSD.org Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org Summary|CARP password with "-" |[carp] CARP password with |causes /etc/rc.d/netif to |"-" causes /etc/rc.d/netif |infinite loop |to infinite loop --- Comment #1 from Mark Linimon --- Over to -net; notify -rc. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-rc@FreeBSD.ORG Mon Jul 14 08:00:14 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 869E8DD8 for ; Mon, 14 Jul 2014 08:00:14 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 74D012A5E for ; Mon, 14 Jul 2014 08:00:14 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6E80EW8043628 for ; Mon, 14 Jul 2014 08:00:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Message-Id: <201407140800.s6E80EW8043628@kenobi.freebsd.org> From: bugzilla-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bugzilla] Commit Needs MFC MIME-Version: 1.0 X-Bugzilla-Type: whine X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated Date: Mon, 14 Jul 2014 08:00:14 +0000 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 14 Jul 2014 08:00:14 -0000 Hi, You have a bug in the "Needs MFC" state which has not been touched in 7 or more days. This email serves as a reminder that you may want to MFC this bug or marked it as completed. In the event you have a longer MFC timeout you may update this bug with a comment and I won't remind you again for 7 days. This reminder is only sent on Mondays. Please file a bug about concerns you may have. This search was scheduled by eadler@FreeBSD.org. (2 bugs) Bug 138208: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=138208 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [rc.d] [patch] Making rc.firewall (workstation) IPv6 aware Bug 168544: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168544 Severity: Affects Only Me Priority: Normal Hardware: Any Assignee: freebsd-rc@FreeBSD.org Status: Needs MFC Resolution: Summary: [patch] [rc]: addswap-mounted swapfiles cause panic on shutdown From owner-freebsd-rc@FreeBSD.ORG Mon Jul 14 17:59:33 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3F545BCE for ; Mon, 14 Jul 2014 17:59:33 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 26DCD21D7 for ; Mon, 14 Jul 2014 17:59:33 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6EHxXcC067695 for ; Mon, 14 Jul 2014 17:59:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bug 168544] [patch] [rc]: addswap-mounted swapfiles cause panic on shutdown Date: Mon, 14 Jul 2014 17:59:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: crees@FreeBSD.org X-Bugzilla-Status: Issue Resolved X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-rc@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 14 Jul 2014 17:59:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168544 Chris Rees changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs MFC |Issue Resolved CC| |crees@FreeBSD.org Resolution|--- |FIXED --- Comment #6 from Chris Rees --- No need to MFC-- different implementation in stable/9 and below. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-rc@FreeBSD.ORG Mon Jul 14 20:44:17 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A6E0FDB; Mon, 14 Jul 2014 20:44:17 +0000 (UTC) Received: from shxd.cx (unknown [64.201.244.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1484121D3; Mon, 14 Jul 2014 20:44:17 +0000 (UTC) Received: from 50-196-156-133-static.hfc.comcastbusiness.net ([50.196.156.133]:51343 helo=THEMADHATTER) by shxd.cx with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1X6axa-000DW5-Cr; Mon, 14 Jul 2014 00:46:06 -0700 From: To: Subject: Bug 191869 - tmux(1) refuses to start via service(8) Date: Mon, 14 Jul 2014 13:43:58 -0700 Message-ID: <017a01cf9fa4$568196e0$0384c4a0$@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_017B_01CF9F69.AA22E5F0" X-Mailer: Microsoft Outlook 15.0 Thread-Index: Ac+fossl4HxLjTgkRkyecqGUheos2w== Content-Language: en-us Sender: devin@shxd.cx Cc: dteske@freebsd.org, Allan Jude , 'Michael Dexter' X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 14 Jul 2014 20:44:17 -0000 This is a multipart message in MIME format. ------=_NextPart_000_017B_01CF9F69.AA22E5F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi -rc, I'd like to get a review on a proposed patch to service(8). I've filed BUG #191869: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191869 Proposed commit/message below: Fix an issue with service(8) where utilities such as screen(1) and tmux(1) would behave differently when utilizing rc-script was invoked manually vs. service(8). The issue being that these utilities require the TERM environ variable to be set and service(8) was not passing it down. Reported by: Michael Dexter Reviewed by: MFC after: 3 days X-MFC-to: stable/10, stable/9 --This line, and those below, will be ignored-- M service/service.sh ------=_NextPart_000_017B_01CF9F69.AA22E5F0 Content-Type: text/plain; name="patch.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="patch.txt" Index: usr.sbin/service/service.sh=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= --- usr.sbin/service/service.sh (revision 268628)=0A= +++ usr.sbin/service/service.sh (working copy)=0A= @@ -139,7 +139,7 @@ cd /=0A= for dir in /etc/rc.d $local_startup; do=0A= if [ -x "$dir/$script" ]; then=0A= [ -n "$VERBOSE" ] && echo "$script is located in $dir"=0A= - exec env -i HOME=3D/ PATH=3D/sbin:/bin:/usr/sbin:/usr/bin = $dir/$script $*=0A= + exec env -i HOME=3D/ PATH=3D/sbin:/bin:/usr/sbin:/usr/bin = TERM=3D"$TERM" $dir/$script $*=0A= fi=0A= done=0A= =0A= ------=_NextPart_000_017B_01CF9F69.AA22E5F0-- From owner-freebsd-rc@FreeBSD.ORG Mon Jul 14 20:49:56 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 00F5F153; Mon, 14 Jul 2014 20:49:56 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id CEBB32221; Mon, 14 Jul 2014 20:49:55 +0000 (UTC) Received: from [192.168.1.2] (senat1-01.HML3.ScaleEngine.net [209.51.186.5]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id BEB0927327; Mon, 14 Jul 2014 20:49:47 +0000 (UTC) Message-ID: <53C44272.1070905@freebsd.org> Date: Mon, 14 Jul 2014 16:49:54 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: dteske@FreeBSD.org, freebsd-rc@freebsd.org Subject: Re: Bug 191869 - tmux(1) refuses to start via service(8) References: <017a01cf9fa4$568196e0$0384c4a0$@FreeBSD.org> In-Reply-To: <017a01cf9fa4$568196e0$0384c4a0$@FreeBSD.org> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="580J6KDNIGDftKNsRnlKrpPo7Q3jIJ7Bg" Cc: 'Michael Dexter' X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 14 Jul 2014 20:49:56 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --580J6KDNIGDftKNsRnlKrpPo7Q3jIJ7Bg Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-07-14 16:43, dteske@FreeBSD.org wrote: > Hi -rc, >=20 > I'd like to get a review on a proposed patch to service(8). >=20 > I've filed BUG #191869: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D191869 >=20 > Proposed commit/message below: >=20 > Fix an issue with service(8) where utilities such as screen(1) and tmux= (1) > would behave differently when utilizing rc-script was invoked manually = vs. > service(8). The issue being that these utilities require the TERM envir= on > variable to be set and service(8) was not passing it down. >=20 > Reported by: Michael Dexter > Reviewed by: > MFC after: 3 days > X-MFC-to: stable/10, stable/9 > --This line, and those below, will be ignored-- >=20 > M service/service.sh >=20 > >=20 This fix works for me. Solves the problem with my rc script that starts puppetdb in screen so I can reattach to the console in the future. I don't think it should cause any problem with the regular scripts as they startup, since TERM will be set to a reasonable default (cons25) --=20 Allan Jude --580J6KDNIGDftKNsRnlKrpPo7Q3jIJ7Bg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTxEJ1AAoJEJrBFpNRJZKfo20P/0Y7W5sKOdrvuP6roETt6OS9 GDwSGO0M+Le/SM1P2sCQsCRJ/WNG39mA8KbojbpFQrjHkWKtHz6Z5xCz+yVk1ZJu Rmm34+vbZkbZSh5h0b08lH//wmwY//+dHbUwfUUAI1ZjRm2CTHHylXNPMTQ6bGn5 n1DQzhPrT+K7o5dPqas4EJX7NtBIawZ2w7tA3XuyhVac7RquFy/HwxvsGuQfF9ke c5Zti1pFnwiuyFhGqUS3oUun09s+5eK1jCz6ocGDnJe1cTqhPVW+qsceq7MHaN7N 3heG1wxIeOUjS+dTew1lIGaUfOnr9WxhdxR7FMFw26wW/kVCqvDbYVTcXFNG7y6n w39nXm3HJ9xtGJtVLCWQjDDCV6LfxyIzTuGXj87nR33StaDa8bpAy9GyEuGjsN0t 39jf+lJq9V3pUPwR7QaBALrcjF2aIZmaovGFVEThaWx02z7a8V0QzYFJLsu03Dc+ 5TCIoRI/V7ZC1e1RqV1/tQXqzO2QMAHsf75wIYeNyDcBIpCwGMv70bzfUVlo4ljO 5xpW+Gd0AztB3cO0UQpVbe7MemER+iSWgrrsa9cU9WA+nUz1zArAgJerN9UDRUnM qXj/JGA069tiJ3UOvyfGZp2F3w22dcXeK61sDJkSKgVJTvqDXgCS7TN+p4Ag6qeO Anyc4u4Z6t5FcgDjk9WI =f6QA -----END PGP SIGNATURE----- --580J6KDNIGDftKNsRnlKrpPo7Q3jIJ7Bg-- From owner-freebsd-rc@FreeBSD.ORG Mon Jul 14 20:56:33 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 40C36468; Mon, 14 Jul 2014 20:56:33 +0000 (UTC) Received: from shxd.cx (unknown [64.201.244.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C24F22D3; Mon, 14 Jul 2014 20:56:33 +0000 (UTC) Received: from 50-196-156-133-static.hfc.comcastbusiness.net ([50.196.156.133]:24066 helo=THEMADHATTER) by shxd.cx with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1X6b9a-000Daw-03; Mon, 14 Jul 2014 00:58:30 -0700 From: To: "'Allan Jude'" , , References: <017a01cf9fa4$568196e0$0384c4a0$@FreeBSD.org> <53C44272.1070905@freebsd.org> In-Reply-To: <53C44272.1070905@freebsd.org> Subject: RE: Bug 191869 - tmux(1) refuses to start via service(8) Date: Mon, 14 Jul 2014 13:56:22 -0700 Message-ID: <01ac01cf9fa6$11b84430$3528cc90$@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQDXdqJNluYbkuaMCPh9UFMAsk9ENwJWW2qznX2r3oA= Content-Language: en-us Sender: devin@shxd.cx Cc: 'Michael Dexter' X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 14 Jul 2014 20:56:33 -0000 > -----Original Message----- > From: Allan Jude [mailto:allanjude@freebsd.org] > Sent: Monday, July 14, 2014 1:50 PM > To: dteske@FreeBSD.org; freebsd-rc@freebsd.org > Cc: 'Michael Dexter' > Subject: Re: Bug 191869 - tmux(1) refuses to start via service(8) > > On 2014-07-14 16:43, dteske@FreeBSD.org wrote: > > Hi -rc, > > > > I'd like to get a review on a proposed patch to service(8). > > > > I've filed BUG #191869: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191869 > > > > Proposed commit/message below: > > > > Fix an issue with service(8) where utilities such as screen(1) and > > tmux(1) would behave differently when utilizing rc-script was invoked > manually vs. > > service(8). The issue being that these utilities require the TERM > > environ variable to be set and service(8) was not passing it down. > > > > Reported by: Michael Dexter > > Reviewed by: > > MFC after: 3 days > > X-MFC-to: stable/10, stable/9 > > --This line, and those below, will be ignored-- > > > > M service/service.sh > > > > > > > > This fix works for me. Solves the problem with my rc script that starts > puppetdb in screen so I can reattach to the console in the future. > > I don't think it should cause any problem with the regular scripts as they > startup, since TERM will be set to a reasonable default (cons25) > Thanks Allan, If no objections by late tonight, I'll make the commit. -- Cheers, Devin From owner-freebsd-rc@FreeBSD.ORG Mon Jul 14 22:30:13 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 97F10B5D; Mon, 14 Jul 2014 22:30:13 +0000 (UTC) Received: from shxd.cx (unknown [64.201.244.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 818682A7A; Mon, 14 Jul 2014 22:30:13 +0000 (UTC) Received: from 50-196-156-133-static.hfc.comcastbusiness.net ([50.196.156.133]:52284 helo=THEMADHATTER) by shxd.cx with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1X6ccD-000EHR-V0; Mon, 14 Jul 2014 02:32:10 -0700 From: To: , "'Allan Jude'" , References: <017a01cf9fa4$568196e0$0384c4a0$@FreeBSD.org> <53C44272.1070905@freebsd.org> <01ac01cf9fa6$11b84430$3528cc90$@FreeBSD.org> In-Reply-To: <01ac01cf9fa6$11b84430$3528cc90$@FreeBSD.org> Subject: RE: Bug 191869 - tmux(1) refuses to start via service(8) Date: Mon, 14 Jul 2014 15:30:01 -0700 Message-ID: <01e301cf9fb3$276b0080$76410180$@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQDXdqJNluYbkuaMCPh9UFMAsk9ENwJWW2qzAejHg1adbn728A== Content-Language: en-us Sender: devin@shxd.cx Cc: 'Michael Dexter' X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 14 Jul 2014 22:30:13 -0000 > -----Original Message----- > From: devin@shxd.cx [mailto:devin@shxd.cx] On Behalf Of > dteske@FreeBSD.org > Sent: Monday, July 14, 2014 1:56 PM > To: 'Allan Jude'; dteske@FreeBSD.org; freebsd-rc@freebsd.org > Cc: 'Michael Dexter' > Subject: RE: Bug 191869 - tmux(1) refuses to start via service(8) > > > > > -----Original Message----- > > From: Allan Jude [mailto:allanjude@freebsd.org] > > Sent: Monday, July 14, 2014 1:50 PM > > To: dteske@FreeBSD.org; freebsd-rc@freebsd.org > > Cc: 'Michael Dexter' > > Subject: Re: Bug 191869 - tmux(1) refuses to start via service(8) > > > > On 2014-07-14 16:43, dteske@FreeBSD.org wrote: > > > Hi -rc, > > > > > > I'd like to get a review on a proposed patch to service(8). > > > > > > I've filed BUG #191869: > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191869 > > > > > > Proposed commit/message below: > > > > > > Fix an issue with service(8) where utilities such as screen(1) and > > > tmux(1) would behave differently when utilizing rc-script was > > > invoked > > manually vs. > > > service(8). The issue being that these utilities require the TERM > > > environ variable to be set and service(8) was not passing it down. > > > > > > Reported by: Michael Dexter > > > Reviewed by: > > > MFC after: 3 days > > > X-MFC-to: stable/10, stable/9 > > > --This line, and those below, will be ignored-- > > > > > > M service/service.sh > > > > > > > > > > > > > This fix works for me. Solves the problem with my rc script that > > starts puppetdb in screen so I can reattach to the console in the future. > > > > I don't think it should cause any problem with the regular scripts as > > they startup, since TERM will be set to a reasonable default (cons25) > > > > Thanks Allan, > > If no objections by late tonight, I'll make the commit. Pinging myself here that I forgot to include in the above proposed commit message "PR: ####". New proposed commit message: Fix an issue with service(8) where utilities such as screen(1) and tmux(1) would behave differently when utilizing rc-script was invoked manually vs. service(8). The issue being that these utilities require the TERM environ variable to be set and service(8) was not passing it down. Reported by: Michael Dexter PR: bin/191869 Reviewed by: allanjude MFC after: 3 days X-MFC-to: stable/10, stable/9 --This line, and those below, will be ignored-- M service/service.sh -- Devin From owner-freebsd-rc@FreeBSD.ORG Tue Jul 15 18:57:19 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 477361DD for ; Tue, 15 Jul 2014 18:57:19 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2EA54281D for ; Tue, 15 Jul 2014 18:57:19 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6FIvJ2W021881 for ; Tue, 15 Jul 2014 18:57:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bug 138208] [rc.d] [patch] Making rc.firewall (workstation) IPv6 aware Date: Tue, 15 Jul 2014 18:57:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 8.0-BETA2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: brooks@FreeBSD.org X-Bugzilla-Status: Issue Resolved X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-rc@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 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, 15 Jul 2014 18:57:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=138208 Brooks Davis changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs MFC |Issue Resolved CC| |brooks@FreeBSD.org Resolution|--- |Overcome By Events --- Comment #3 from Brooks Davis --- Current versions of rc.firewall have some support for IPv6 in the WORKSTATION config. If what's there isn't useful or sufficient please submit a report about it. -- You are receiving this mail because: You are the assignee for the bug.