From owner-freebsd-rc@FreeBSD.ORG Sun Nov 15 13:39:22 2009 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5A341065670 for ; Sun, 15 Nov 2009 13:39:22 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward14.mail.yandex.net (forward14.mail.yandex.net [95.108.130.92]) by mx1.freebsd.org (Postfix) with ESMTP id AC6028FC20 for ; Sun, 15 Nov 2009 13:39:21 +0000 (UTC) Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward14.mail.yandex.net (Yandex) with ESMTP id 6649726804CE for ; Sun, 15 Nov 2009 16:28:21 +0300 (MSK) Received: from HOMEUSER (unknown [77.93.42.18]) by smtp11.mail.yandex.net (Yandex) with ESMTPA id 206F86730084 for ; Sun, 15 Nov 2009 16:28:21 +0300 (MSK) X-Nat-Received: from [192.168.9.80]:1126 [ident-empty] by SPAM FILTER: with TPROXY id 1258291850.32790 abuse-to kes-kes@yandex.ru Date: Sun, 15 Nov 2009 15:28:20 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 2 (High) Message-ID: <13610579705.20091115152820@yandex.ru> To: freebsd-rc@freebsd.org In-Reply-To: <4AFFE8F8.3060303@infracaninophile.co.uk> References: <1755834289.20091114233449@yandex.ru> <4AFFE8F8.3060303@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Yandex-TimeMark: 1258291701 X-Yandex-Spam: 1 X-Yandex-Front: smtp11.mail.yandex.net Subject: Fwd: Re: rc.subr patch to set FIB to demon X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= 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, 15 Nov 2009 13:39:22 -0000 Здравствуйте, . ---------- Пересылаемое письмо ---------- От: Matthew Seaman К: Коньков Евгений А также к: freebsd-questions@freebsd.org Время создания: Sun, 15 Nov 2009 11:41:44 +0000 Тема: rc.subr patch to set FIB to demon Прикрепленные файлы: Коньков Евгений wrote: > Hello, . > > Link to news: > http://www.kes.net.ua/softdev/fib_patch.html > > > rc.subr.patch > ------------- > > 2c2 > < # $FreeBSD: src/etc/rc.subr,v 1.77.2.1.2.1 2008/11/25 02:59:29 kensmith Exp $ > --- >> # $FreeBSD: src/etc/rc.subr,v 1.77.2.1 2008/05/12 07:29:03 mtm Exp $ > 605d604 > < > 664a664,669 >> _fib= >> if [ "${name}_fib" && "${name}_fib" ne "NO" ]; then >> eval _fib=\$${name}_fib >> _fib="/usr/sbin/setfib $_fib" >> fi >> > 670c675 > < $_chroot $command $rc_flags $command_args" > --- >> $_chroot $_fib $command $rc_flags $command_args" > 674c679 > < $command $rc_flags $command_args" > --- >> $_fib $command $rc_flags $command_args" > > Interesting. I see you submitted this as a PR back in March, but there has been no activity other than to assign it to -net. Perhaps mailing the freebsd-rc@... list might raise some interest. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW ---------- Конец пересылаемого письма ---------- -- С уважением, Коньков mailto:kes-kes@yandex.ru From owner-freebsd-rc@FreeBSD.ORG Mon Nov 16 11:07:00 2009 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9704106568B for ; Mon, 16 Nov 2009 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9745E8FC14 for ; Mon, 16 Nov 2009 11:07:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nAGB70wi011278 for ; Mon, 16 Nov 2009 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nAGB70kS011276 for freebsd-rc@FreeBSD.org; Mon, 16 Nov 2009 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 16 Nov 2009 11:07:00 GMT Message-Id: <200911161107.nAGB70kS011276@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-rc@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 11:07:00 -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/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip o conf/138208 rc [rc] [patch] Making rc.firewall (workstation) IPv6 awa o conf/137629 rc [rc] background_dhclient rc.conf option causing double o conf/137470 rc [PATCH] /etc/rc.d/mdconfig2 : prioritize cli parameter o conf/136875 rc [request] _flags appending 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/134006 rc [patch] Unload console screensaver kernel modules if s o conf/133987 rc [rc.d] defaultroute broken with DHCP in some cases o conf/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/132766 rc wait_for_pids() in /etc/rc.subr is dull. o conf/132483 rc rc.subr(8) [patch] setfib(1) support for rc.subr o conf/132476 rc [rc.d] [patch] add support setfib(1) in rc.d/routing o conf/130414 rc [patch] rc services started with onestart are not stop o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o conf/127917 rc [patch] dumpon rejects on start with physmem>swap even o bin/126562 rc rcorder(8) fails to run unrelated startup scripts when o conf/126392 rc [patch] rc.conf ifconfig_xx keywords cannot be escaped o bin/126324 rc [patch] rc.d/tmp: Prevent mounting /tmp in second tim o conf/124747 rc [patch] savecore can't create dump from encrypted swap o conf/124248 rc [jail] [patch] add support for nice value for rc.d/jai o conf/123734 rc [patch] Chipset VIA CX700 requires extra initializatio o conf/123222 rc [patch] Add rtprio(1)/idprio(1) support to rc.subr(8). o conf/122477 rc [patch] /etc/rc.d/mdconfig and mdconfig2 are ignoring o conf/122170 rc [patch] [request] New feature: notify admin via page o o kern/121566 rc [nfs] [request] [patch] ethernet iface should be broug o conf/120431 rc [patch] devfs.rules are not initialized under certain o conf/120406 rc [devd] [patch] Handle newly attached pcm devices (eg. o conf/119874 rc [patch] "/etc/rc.d/pf reload" fails if there are macro o conf/119076 rc [patch] [rc.d] /etc/rc.d/netif tries to remove alias a o bin/118325 rc [patch] [request] new periodic script to test statuses o conf/118255 rc savecore never finding kernel core dumps (rcorder prob o conf/117935 rc [patch] ppp fails to start at boot because of missing o conf/113915 rc [patch] ndis wireless driver fails to associate when i o conf/109980 rc /etc/rc.d/netif restart doesn't destroy cloned_interfa o conf/109562 rc [rc.d] [patch] [request] Make rc.d/devfs usable from c o conf/108589 rc rtsol(8) fails due to default ipfw rules o conf/106009 rc [ppp] [patch] [request] Fix pppoed startup script to p o conf/105689 rc [ppp] [request] syslogd starts too late at boot o conf/105568 rc [patch] [request] Add more flexibility to rc.conf, to o conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp o conf/104549 rc [patch] rc.d/nfsd needs special _find_processes functi o conf/102700 rc [geli] [patch] Add encrypted /tmp support to GELI/GBDE o conf/99721 rc [patch] /etc/rc.initdiskless problem copy dotfile in s o conf/99444 rc [patch] Enhancement: rc.subr could easily support star o conf/96343 rc [patch] rc.d order change to start inet6 before pf o conf/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d o conf/92523 rc [patch] allow rc scripts to kill process after a timeo o conf/89870 rc [patch] [request] make netif verbose rc.conf toggle o conf/89061 rc [patch] IPv6 6to4 auto-configuration enhancement o conf/88913 rc [patch] wrapper support for rc.subr o conf/85819 rc [patch] script allowing multiuser mode in spite of fsc o kern/81006 rc ipnat not working with tunnel interfaces on startup o conf/77663 rc Suggestion: add /etc/rc.d/addnetswap after addcritremo o conf/73677 rc [patch] add support for powernow states to power_profi o conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} o conf/56934 rc [patch] rc.firewall rules for natd expect an interface o conf/45226 rc [patch] Fix for rc.network, ppp-user annoyance o conf/44170 rc [patch] Add ability to run multiple pppoed(8) on start 62 problems total. From owner-freebsd-rc@FreeBSD.ORG Thu Nov 19 23:00:07 2009 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BE6810656A5 for ; Thu, 19 Nov 2009 23:00:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6177E8FC14 for ; Thu, 19 Nov 2009 23:00:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nAJN06LA067070 for ; Thu, 19 Nov 2009 23:00:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nAJN06KK067069; Thu, 19 Nov 2009 23:00:06 GMT (envelope-from gnats) Date: Thu, 19 Nov 2009 23:00:06 GMT Message-Id: <200911192300.nAJN06KK067069@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Jilles Tjoelker Cc: Subject: Re: conf/132766: wait_for_pids() in /etc/rc.subr is dull. X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jilles Tjoelker 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, 19 Nov 2009 23:00:07 -0000 The following reply was made to PR conf/132766; it has been noted by GNATS. From: Jilles Tjoelker To: bug-followup@FreeBSD.org, hide@koie.org Cc: Subject: Re: conf/132766: wait_for_pids() in /etc/rc.subr is dull. Date: Thu, 19 Nov 2009 23:39:38 +0100 The new pwait(1) utility in 9-CURRENT would be an elegant approach to this. -- Jilles Tjoelker From owner-freebsd-rc@FreeBSD.ORG Thu Nov 19 23:11:15 2009 Return-Path: Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADEBB1065693; Thu, 19 Nov 2009 23:11:15 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8443F8FC1B; Thu, 19 Nov 2009 23:11:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nAJNBFgv083138; Thu, 19 Nov 2009 23:11:15 GMT (envelope-from dougb@freefall.freebsd.org) Received: (from dougb@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nAJNBFlQ083134; Thu, 19 Nov 2009 23:11:15 GMT (envelope-from dougb) Date: Thu, 19 Nov 2009 23:11:15 GMT Message-Id: <200911192311.nAJNBFlQ083134@freefall.freebsd.org> To: hide@koie.org, dougb@FreeBSD.org, freebsd-rc@FreeBSD.org, dougb@FreeBSD.org From: dougb@FreeBSD.org Cc: Subject: Re: conf/132766: wait_for_pids() in /etc/rc.subr is dull. X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 23:11:15 -0000 Synopsis: wait_for_pids() in /etc/rc.subr is dull. State-Changed-From-To: open->closed State-Changed-By: dougb State-Changed-When: Thu Nov 19 23:10:19 UTC 2009 State-Changed-Why: I agree with Jilles, pwait will be the way this is handled going forward. Responsible-Changed-From-To: freebsd-rc->dougb Responsible-Changed-By: dougb Responsible-Changed-When: Thu Nov 19 23:10:19 UTC 2009 Responsible-Changed-Why: I'm closing this one. http://www.freebsd.org/cgi/query-pr.cgi?pr=132766 From owner-freebsd-rc@FreeBSD.ORG Thu Nov 19 23:13:28 2009 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54FD9106568F for ; Thu, 19 Nov 2009 23:13:28 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id D58378FC1F for ; Thu, 19 Nov 2009 23:13:27 +0000 (UTC) Received: (qmail 1631 invoked by uid 399); 19 Nov 2009 23:13:27 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 19 Nov 2009 23:13:27 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4B05D11A.4020504@FreeBSD.org> Date: Thu, 19 Nov 2009 15:13:30 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: Jilles Tjoelker References: <200911192300.nAJN06KK067069@freefall.freebsd.org> In-Reply-To: <200911192300.nAJN06KK067069@freefall.freebsd.org> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org Subject: Re: conf/132766: wait_for_pids() in /etc/rc.subr is dull. X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 23:13:28 -0000 Jilles Tjoelker wrote: > The following reply was made to PR conf/132766; it has been noted by GNATS. > > From: Jilles Tjoelker > To: bug-followup@FreeBSD.org, hide@koie.org > Cc: > Subject: Re: conf/132766: wait_for_pids() in /etc/rc.subr is dull. > Date: Thu, 19 Nov 2009 23:39:38 +0100 > > The new pwait(1) utility in 9-CURRENT would be an elegant approach to this. Thanks for the reminder, I've closed the PR. BTW, I have looked briefly at implementing wait_for_pids with pwait. The only complication I see at the moment is that wait_for_pids actually takes a list of pids rather than just one, so setting that up will complicate things slightly, but it should not be an overwhelming burden. It will just take more time than I can devote to it at the moment. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/