From owner-freebsd-rc@FreeBSD.ORG Mon May 24 11:07:02 2010 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 23A2B106566B for ; Mon, 24 May 2010 11:07:02 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0981C8FC1B for ; Mon, 24 May 2010 11:07:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4OB71Oa004483 for ; Mon, 24 May 2010 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4OB71w4004481 for freebsd-rc@FreeBSD.org; Mon, 24 May 2010 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 May 2010 11:07:01 GMT Message-Id: <201005241107.o4OB71w4004481@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, 24 May 2010 11:07:02 -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/146053 rc [patch] [request] shutdown of jails breaks inter-jail o conf/145445 rc [rc.d] error in /etc/rc.d/jail (bad logic) o conf/145440 rc [rc.d] [patch] add multiple fib support (setfib) in /e o conf/145399 rc [patch] rc.d scripts are unable to start/stop programs o conf/145344 rc [patch] Fix kitchen sink approach for rc.d scripts ins o conf/145009 rc [patch] rc.subr(8): rc.conf should allow mac label con o conf/144213 rc [rc.d] [patch] Disappearing zvols on reboot o conf/143637 rc [patch] ntpdate(8) support for ntp-servers supplied by o conf/143085 rc [patch] ftp-proxy(8) rc(8) with multiple instances o conf/143084 rc [jail] [patch]: fix rc.d/jail creating stray softlinks o conf/142973 rc [jail] [patch] Strange counter init value in jail rc o conf/142434 rc [patch] Add cpuset(1) support to rc.subr(8) o conf/142304 rc rc.conf(5): mdconfig and mdconfig2 rc.d scripts lack e o conf/141909 rc rc.subr(8): [patch] add rc.conf.d support to /usr/loca o conf/141907 rc [rc.d] Bug if mtu (maybe others?) is set as first argu o conf/141678 rc [patch] A minor enhancement to how /etc/rc.d/jail dete o conf/141275 rc [request] dhclient(8) rc script should print something o conf/140440 rc [patch] allow local command files in rc.{suspend,resum o conf/140261 rc [patch] Improve flexibility of mdconfig2 startup scrip o conf/138208 rc [rc] [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/137271 rc [rc] Cannot update /etc/host.conf when root filesystem o conf/136875 rc [request] _flags appending o conf/136624 rc [rc.d] sysctl variables for ipnat are not applied on b o conf/135338 rc [rc.d] pf startup order seems broken [regression] o conf/134918 rc [patch] rc.subr fails to detect perl daemons o conf/134660 rc [patch] rc-script for initializing ng_netflow+ng_ipfw o conf/134333 rc PPP configuration problem in the rc.d scripts in combi o conf/134006 rc [patch] Unload console screensaver kernel modules if s o conf/133987 rc [rc.d] defaultroute broken with DHCP in some cases o conf/133890 rc [patch] sshd(8): add multiple profiles to the rc.d scr o conf/132483 rc rc.subr(8) [patch] setfib(1) support for rc.subr o conf/132476 rc [rc.d] [patch] add support setfib(1) in rc.d/routing o conf/128299 rc [patch] /etc/rc.d/geli does not mount partitions using o 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 p bin/126324 rc [patch] rc.d/tmp: Prevent mounting /tmp in second tim o conf/124747 rc [patch] savecore can't create dump from encrypted swap o conf/124248 rc [jail] [patch] add support for nice value for rc.d/jai o conf/123734 rc [patch] Chipset VIA CX700 requires extra initializatio o conf/123222 rc [patch] Add rtprio(1)/idprio(1) support to rc.subr(8). o conf/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 79 problems total. From owner-freebsd-rc@FreeBSD.ORG Tue May 25 13:22:12 2010 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 3B7E71065672 for ; Tue, 25 May 2010 13:22:12 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id F00BF8FC15 for ; Tue, 25 May 2010 13:22:11 +0000 (UTC) Received: by gwj18 with SMTP id 18so1524778gwj.13 for ; Tue, 25 May 2010 06:22:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=uSSBbf6uLmj0n2s9DG/6aPaNg1d6T5tWRG+soKKJ3Jo=; b=pXRWRAqog/zc0fZMMEScm3XoP/xnBIAz4IAQtIolhTWAb99n2OrqR7MEKCpETg6Rq7 TZYLbkDa/phMqyW8mz8H3SHtZlsFhguEhvf+AUikCpnl9snUZ8+CGli8IPGNWPqDyF2e 7F/j2HTRXO5n2LLv+3SJA6Gp1W9tuG04dLjAc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=U0q5sApS3wU4snlaplmhsOu7Hx8vZkQ8JYa0nSQtTy0LFEF8r97+DVYIHl7ePnvZtw 4KbGfzP/AM1o9LCQ2ChUW7oYGDPQXLV4wIUaw8cseNCMp2reJyKSEr7iKhBrmheNazaG W0sb/PxIIi9Hw0GWW2gA8RX+mcqH/2g8afBR0= MIME-Version: 1.0 Received: by 10.101.129.10 with SMTP id g10mr8034258ann.31.1274792162011; Tue, 25 May 2010 05:56:02 -0700 (PDT) Received: by 10.100.208.9 with HTTP; Tue, 25 May 2010 05:56:01 -0700 (PDT) Date: Tue, 25 May 2010 16:56:01 +0400 Message-ID: From: pluknet To: freebsd-rc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: rc.d for iscontrol X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2010 13:22:12 -0000 A friend of mine (ufo@februality.com) mentioned there's still no rc.d script for iscontrol(8) in FreeBSD base. He pointed to an existing (and working) rc.d/iscsi (slightly modified by me) which might be integrated to head. It's still unclear how to handler for ex. iscsi+zfs setup. In the existing order iscsi requires NETWORKING, whilst zfs starts long before NETWORKING, so zfs cannot mount iscsi attached device. %%% #!/bin/sh # # $FreeBSD$ # # PROVIDE: iscsi # REQUIRE: NETWORKING # BEFORE: mountcritremote # KEYWORD: shutdown . /etc/rc.subr name="iscsi" start_cmd="iscsi_start" stop_cmd="iscsi_stop" rcvar="iscsi_enable" required_modules="iscsi_initiator:iscsi" iscsi_start() { ${iscsi_command} -c ${iscsi_config} -n ${iscsi_nickname} if [ -f ${iscsi_fstab} ]; then local _devs local _xdev _devs=`sed -e '/^#/d' < ${iscsi_fstab} | cut -f 1` for _xdev in ${_devs}; do local _i _i=10 echo "Wait for ${_xdev}" while [ ${_i} -ne 0 ]; do [ -c ${_xdev} ] && break sleep 1 _i=$((${_i}-1)) done done echo "mount -a -F ${iscsi_fstab}" mount -a -F ${iscsi_fstab} fi } iscsi_stop() { if [ -f ${iscsi_fstab} ]; then echo "umount -a -F ${iscsi_fstab}" umount -a -F ${iscsi_fstab} fi killall -HUP ${iscsi_command} } load_rc_config $name : ${iscsi_enable="NO"} : ${iscsi_command="iscontrol"} : ${iscsi_nickname="target0"} : ${iscsi_config="/etc/iscsi.conf"} : ${iscsi_fstab="/etc/iscsi.fstab"} run_rc_command "$1" %%% -- wbr, pluknet From owner-freebsd-rc@FreeBSD.ORG Tue May 25 15:42:09 2010 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 0B8161065679 for ; Tue, 25 May 2010 15:42:09 +0000 (UTC) (envelope-from valeri.ufo@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id D77348FC1F for ; Tue, 25 May 2010 15:42:08 +0000 (UTC) Received: by pxi7 with SMTP id 7so2461130pxi.13 for ; Tue, 25 May 2010 08:42:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=8kML4ZXc+N1Fqdnk9MNfWAVaDCSHACr5UNLIk0iltMc=; b=xzjIbVaRZS1gsvg7auk3OfNM/76cO5kb0SyOV3EyvkeOcerv9mIqVmQkboOsH1Drd8 bm7zUdwTaDlWI0qyH8TxXK6OwbN6jnASeJTtizcxfcL8oJy35Z/mPXgDX8JbkLKUZFBu AXNTTmYRcoEEjgkc6H/c2fho86eerOXbQO9Rw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=oCWhz+573dM97O4VyfivS/9HdKpFAr5Ucj/wGEKFzfzYU1+Rd18mjSXKZX/7aycAj1 mesPHGcpYdP6RUsinOY7ZBttuxM9i5XYeT/qRLGZO6qzpGGden+uoiRVQRJdar+Ssv6A 23M6E2KyE5n1TOGfbUNA823nnXxj4yiq9frQY= Received: by 10.142.67.35 with SMTP id p35mr5159963wfa.203.1274800604209; Tue, 25 May 2010 08:16:44 -0700 (PDT) MIME-Version: 1.0 Sender: valeri.ufo@gmail.com Received: by 10.142.58.5 with HTTP; Tue, 25 May 2010 08:16:24 -0700 (PDT) From: Valeri Vassiliev Date: Tue, 25 May 2010 17:16:24 +0200 X-Google-Sender-Auth: VAbsi_ivssFwrI_F9egdtS79YNg Message-ID: To: freebsd-rc@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: rc.d for iscontrol X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2010 15:42:09 -0000 I would like to point out, that the rc-script for iscontrol is of Taiwanese origin, at least as far as I can tell. It's source can be found on http://blog.ntut.idv.tw/2009/03/fbsd-freebsd-iscsi-setup.html Regarding the zfs problem: A possible solution could be force-restarting zfs from inside the above mentioned rc-script, just after iscontrol has started and initiated the connection. The zfs rc-script itself is quite simple, as it basically executes a zfs mount -a, so a forcerestart shouldn't be of any harm. best regards, ufo. From owner-freebsd-rc@FreeBSD.ORG Wed May 26 12:55:05 2010 Return-Path: Delivered-To: rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18BD3106567D; Wed, 26 May 2010 12:55:05 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from mail.ciam.ru (mail.ciam.ru [91.209.218.18]) by mx1.freebsd.org (Postfix) with ESMTP id C581F8FC21; Wed, 26 May 2010 12:55:04 +0000 (UTC) Received: from dhcp170-37-red.yandex.net ([95.108.170.37]) by mail.ciam.ru with esmtpa (Exim 4.x) id 1OHFpV-0007XJ-6q; Wed, 26 May 2010 16:35:25 +0400 Message-ID: <4BFD158D.7020301@FreeBSD.org> Date: Wed, 26 May 2010 16:35:25 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: net@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: rc@freebsd.org Subject: move setfib(1) X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2010 12:55:05 -0000 Hi! Does is possible to move setfib(1) to /sbin for smooth using it in rc.d scripts? -- Sem. From owner-freebsd-rc@FreeBSD.ORG Wed May 26 16:34:35 2010 Return-Path: Delivered-To: rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02A20106564A; Wed, 26 May 2010 16:34:35 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id A4BA38FC0A; Wed, 26 May 2010 16:34:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o4QGWUrM041872; Wed, 26 May 2010 10:32:30 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 26 May 2010 10:32:32 -0600 (MDT) Message-Id: <20100526.103232.21010533749123106.imp@bsdimp.com> To: sem@freebsd.org From: "M. Warner Losh" In-Reply-To: <4BFD158D.7020301@FreeBSD.org> References: <4BFD158D.7020301@FreeBSD.org> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: rc@freebsd.org, net@freebsd.org Subject: Re: move setfib(1) X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2010 16:34:35 -0000 In message: <4BFD158D.7020301@FreeBSD.org> Sergey Matveychuk writes: : Does is possible to move setfib(1) to /sbin for smooth using it in : rc.d scripts? It is small enough. I think that's a good idea. However, it would only be a problem if we are mounting / and /usr off NFS as separate partitions, right? Warner From owner-freebsd-rc@FreeBSD.ORG Wed May 26 17:00:14 2010 Return-Path: Delivered-To: rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45F86106566C; Wed, 26 May 2010 17:00:14 +0000 (UTC) (envelope-from julian@elischer.org) Received: from out-0.mx.aerioconnect.net (out-0-8.mx.aerioconnect.net [216.240.47.68]) by mx1.freebsd.org (Postfix) with ESMTP id 1C1E38FC08; Wed, 26 May 2010 17:00:13 +0000 (UTC) Received: from idiom.com (postfix@mx0.idiom.com [216.240.32.160]) by out-0.mx.aerioconnect.net (8.13.8/8.13.8) with ESMTP id o4QGcZod025114; Wed, 26 May 2010 09:38:35 -0700 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (h-67-100-89-137.snfccasy.static.covad.net [67.100.89.137]) by idiom.com (Postfix) with ESMTP id 4EC5E2D6018; Wed, 26 May 2010 09:38:34 -0700 (PDT) Message-ID: <4BFD4E95.3080407@elischer.org> Date: Wed, 26 May 2010 09:38:45 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: "M. Warner Losh" References: <4BFD158D.7020301@FreeBSD.org> <20100526.103232.21010533749123106.imp@bsdimp.com> In-Reply-To: <20100526.103232.21010533749123106.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 216.240.47.51 Cc: rc@freebsd.org, net@freebsd.org Subject: Re: move setfib(1) X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2010 17:00:14 -0000 On 5/26/10 9:32 AM, M. Warner Losh wrote: > In message:<4BFD158D.7020301@FreeBSD.org> > Sergey Matveychuk writes: > : Does is possible to move setfib(1) to /sbin for smooth using it in > : rc.d scripts? Can you tell us why you need it so early? We could do it, but eventually everything ends up moving to /sbin or /bin unless we need a good reason. > > It is small enough. I think that's a good idea. > > However, it would only be a problem if we are mounting / and /usr off > NFS as separate partitions, right? > > Warner > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-rc@FreeBSD.ORG Thu May 27 05:53:34 2010 Return-Path: Delivered-To: rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F47E1065675; Thu, 27 May 2010 05:53:34 +0000 (UTC) (envelope-from sem@semmy.ru) Received: from mail.ciam.ru (mail.ciam.ru [91.209.218.18]) by mx1.freebsd.org (Postfix) with ESMTP id 137D28FC12; Thu, 27 May 2010 05:53:33 +0000 (UTC) Received: from [109.173.73.7] (helo=[172.16.100.19]) by mail.ciam.ru with esmtpa (Exim 4.x) id 1OHVlt-000IrB-5O; Thu, 27 May 2010 09:36:45 +0400 Message-ID: <4BFE04E5.1010708@semmy.ru> Date: Thu, 27 May 2010 09:36:37 +0400 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ru; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Julian Elischer References: <4BFD158D.7020301@FreeBSD.org> <20100526.103232.21010533749123106.imp@bsdimp.com> <4BFD4E95.3080407@elischer.org> In-Reply-To: <4BFD4E95.3080407@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: rc@freebsd.org, net@freebsd.org Subject: Re: move setfib(1) 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, 27 May 2010 05:53:34 -0000 26.05.2010 20:38, Julian Elischer wrote: > On 5/26/10 9:32 AM, M. Warner Losh wrote: >> In message:<4BFD158D.7020301@FreeBSD.org> >> Sergey Matveychuk writes: >> : Does is possible to move setfib(1) to /sbin for smooth using it in >> : rc.d scripts? > > Can you tell us why you need it so early? > > We could do it, but eventually everything ends up moving to /sbin or > /bin unless we need a good reason. > I'm thinking about this after Doug's message: http://lists.freebsd.org/pipermail/freebsd-rc/2010-May/001954.html From owner-freebsd-rc@FreeBSD.ORG Thu May 27 06:20:35 2010 Return-Path: Delivered-To: rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C54251065679; Thu, 27 May 2010 06:20:35 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 8815B8FC0A; Thu, 27 May 2010 06:20:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o4R6FU8l049989; Thu, 27 May 2010 00:15:33 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 27 May 2010 00:15:34 -0600 (MDT) Message-Id: <20100527.001534.807935107107604070.imp@bsdimp.com> To: sem@semmy.ru From: "M. Warner Losh" In-Reply-To: <4BFE04E5.1010708@semmy.ru> References: <20100526.103232.21010533749123106.imp@bsdimp.com> <4BFD4E95.3080407@elischer.org> <4BFE04E5.1010708@semmy.ru> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: rc@FreeBSD.org, net@FreeBSD.org, julian@elischer.org, sem@FreeBSD.org Subject: Re: move setfib(1) 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, 27 May 2010 06:20:35 -0000 In message: <4BFE04E5.1010708@semmy.ru> Sergey Matveychuk writes: : 26.05.2010 20:38, Julian Elischer wrote: : > On 5/26/10 9:32 AM, M. Warner Losh wrote: : >> In message:<4BFD158D.7020301@FreeBSD.org> : >> Sergey Matveychuk writes: : >> : Does is possible to move setfib(1) to /sbin for smooth using it in : >> : rc.d scripts? : > : > Can you tell us why you need it so early? : > : > We could do it, but eventually everything ends up moving to /sbin or : > /bin unless we need a good reason. : > : : I'm thinking about this after Doug's message: : http://lists.freebsd.org/pipermail/freebsd-rc/2010-May/001954.html Right, and the only way that /usr/bin isn't going to be available if the network isn't up will be if you have NFS mounted root, but have a separate /usr partition. Otherwise, critmount happens before the network comes up, and that will ensure that you'll have /usr available at the point in the boot scripts you want to use it. Even if you have / and /usr separate on NFS partitions, you can specify netfs_types="" in the NFS root's rc.conf and all NFS mounts will mount too very early. Since you are proposing this for /etc/rc.d/routing, I think you can actually use it there and there will be no problem, even for whacked out NFS setups. Did I miss something? Warner P.S. On my system at least: rcorder says: /etc/rc.d/dumpon /etc/rc.d/ddb /etc/rc.d/initrandom /etc/rc.d/geli /etc/rc.d/gbde /etc/rc.d/encswap /etc/rc.d/ccd /etc/rc.d/swap1 /etc/rc.d/fsck /etc/rc.d/root /etc/rc.d/hostid /etc/rc.d/mdconfig /etc/rc.d/mountcritlocal so these wuold be the only places where you can't use binaries from /usr, right? From owner-freebsd-rc@FreeBSD.ORG Thu May 27 06:49:28 2010 Return-Path: Delivered-To: rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDD9A1065676; Thu, 27 May 2010 06:49:28 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 8A7B28FC18; Thu, 27 May 2010 06:49:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o4R6do2s050307; Thu, 27 May 2010 00:39:50 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 27 May 2010 00:39:54 -0600 (MDT) Message-Id: <20100527.003954.497362415606302342.imp@bsdimp.com> To: sem@semmy.ru From: "M. Warner Losh" In-Reply-To: <20100527.001534.807935107107604070.imp@bsdimp.com> References: <4BFD4E95.3080407@elischer.org> <4BFE04E5.1010708@semmy.ru> <20100527.001534.807935107107604070.imp@bsdimp.com> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: rc@FreeBSD.org, sem@FreeBSD.org, julian@elischer.org, net@FreeBSD.org Subject: Re: move setfib(1) 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, 27 May 2010 06:49:29 -0000 In message: <20100527.001534.807935107107604070.imp@bsdimp.com> "M. Warner Losh" writes: : at the point in the boot scripts you want to use it. Even if you have : / and /usr separate on NFS partitions, you can specify netfs_types="" : in the NFS root's rc.conf and all NFS mounts will mount too very : early. s/will mount too very early/will mount early as well/g Sorry. Warner From owner-freebsd-rc@FreeBSD.ORG Sat May 29 19:45:11 2010 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 03073106566B; Sat, 29 May 2010 19:45:11 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CF30E8FC17; Sat, 29 May 2010 19:45:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4TJjAfp025207; Sat, 29 May 2010 19:45:10 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4TJjAOX025203; Sat, 29 May 2010 19:45:10 GMT (envelope-from linimon) Date: Sat, 29 May 2010 19:45:10 GMT Message-Id: <201005291945.o4TJjAOX025203@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: conf/147193: [patch] /etc/rc.d/mixer starts too late X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2010 19:45:11 -0000 Old Synopsis: /etc/rc.d/mixer starts too late New Synopsis: [patch] /etc/rc.d/mixer starts too late Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Sat May 29 19:44:58 UTC 2010 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=147193 From owner-freebsd-rc@FreeBSD.ORG Sat May 29 20:29:59 2010 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 D09EC1065678; Sat, 29 May 2010 20:29:59 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A82668FC16; Sat, 29 May 2010 20:29:59 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4TKTxmc058799; Sat, 29 May 2010 20:29:59 GMT (envelope-from dougb@freefall.freebsd.org) Received: (from dougb@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4TKTxju058795; Sat, 29 May 2010 20:29:59 GMT (envelope-from dougb) Date: Sat, 29 May 2010 20:29:59 GMT Message-Id: <201005292029.o4TKTxju058795@freefall.freebsd.org> To: demelier.david@gmail.com, dougb@FreeBSD.org, freebsd-rc@FreeBSD.org From: dougb@FreeBSD.org Cc: Subject: Re: conf/147193: [patch] /etc/rc.d/mixer starts too late X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2010 20:29:59 -0000 Synopsis: [patch] /etc/rc.d/mixer starts too late State-Changed-From-To: open->closed State-Changed-By: dougb State-Changed-When: Sat May 29 20:29:48 UTC 2010 State-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=147193 From owner-freebsd-rc@FreeBSD.ORG Sat May 29 20:31:56 2010 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 538691065675; Sat, 29 May 2010 20:31:56 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2B6D48FC13; Sat, 29 May 2010 20:31:56 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4TKVucm067998; Sat, 29 May 2010 20:31:56 GMT (envelope-from dougb@freefall.freebsd.org) Received: (from dougb@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4TKVuuF067994; Sat, 29 May 2010 20:31:56 GMT (envelope-from dougb) Date: Sat, 29 May 2010 20:31:56 GMT Message-Id: <201005292031.o4TKVuuF067994@freefall.freebsd.org> To: dougb@FreeBSD.org, freebsd-rc@FreeBSD.org, dougb@FreeBSD.org From: dougb@FreeBSD.org Cc: Subject: Re: conf/147193: [patch] /etc/rc.d/mixer starts too late X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2010 20:31:56 -0000 Synopsis: [patch] /etc/rc.d/mixer starts too late Responsible-Changed-From-To: freebsd-rc->dougb Responsible-Changed-By: dougb Responsible-Changed-When: Sat May 29 20:30:02 UTC 2010 Responsible-Changed-Why: Blah .... I keep forgetting that gnats doesn't have a concept of "abort." In any case, since musicpd is a port the correct solution would be for the rc.d script to have: REQUIRE: LOGIN mixer Feel free to contact the maintainer and ask for that modification. hth, Doug http://www.freebsd.org/cgi/query-pr.cgi?pr=147193