From owner-freebsd-rc@FreeBSD.ORG Mon Mar 1 11:07:08 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 8D89F1065680 for ; Mon, 1 Mar 2010 11:07:08 +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 718758FC22 for ; Mon, 1 Mar 2010 11:07:08 +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 o21B78rD017905 for ; Mon, 1 Mar 2010 11:07:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o21B770q017903 for freebsd-rc@FreeBSD.org; Mon, 1 Mar 2010 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 1 Mar 2010 11:07:07 GMT Message-Id: <201003011107.o21B770q017903@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, 01 Mar 2010 11:07:08 -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/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/141258 rc /etc/rc.d/tmp may act incorrectly based on unprivleged 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/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/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 74 problems total. From owner-freebsd-rc@FreeBSD.ORG Tue Mar 2 00:36:58 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 01587106566B; Tue, 2 Mar 2010 00:36:58 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CB4848FC08; Tue, 2 Mar 2010 00:36:57 +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 o220av1u014852; Tue, 2 Mar 2010 00:36:57 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o220avoJ014848; Tue, 2 Mar 2010 00:36:57 GMT (envelope-from linimon) Date: Tue, 2 Mar 2010 00:36:57 GMT Message-Id: <201003020036.o220avoJ014848@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-rc@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: conf/144400: [patch] /etc/rc.d/named - $named_wait_host needs an upper bound 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, 02 Mar 2010 00:36:58 -0000 Synopsis: [patch] /etc/rc.d/named - $named_wait_host needs an upper bound Responsible-Changed-From-To: freebsd-bugs->freebsd-rc Responsible-Changed-By: linimon Responsible-Changed-When: Tue Mar 2 00:36:42 UTC 2010 Responsible-Changed-Why: Fix category and assign. http://www.freebsd.org/cgi/query-pr.cgi?pr=144400 From owner-freebsd-rc@FreeBSD.ORG Fri Mar 5 06:06:53 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 05D1D1065673; Fri, 5 Mar 2010 06:06:53 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CEE868FC1C; Fri, 5 Mar 2010 06:06:52 +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 o2566qA2014103; Fri, 5 Mar 2010 06:06:52 GMT (envelope-from jh@freefall.freebsd.org) Received: (from jh@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o2566qaS014099; Fri, 5 Mar 2010 06:06:52 GMT (envelope-from jh) Date: Fri, 5 Mar 2010 06:06:52 GMT Message-Id: <201003050606.o2566qaS014099@freefall.freebsd.org> To: spam@rm-rf.kiev.ua, jh@FreeBSD.org, freebsd-rc@FreeBSD.org From: jh@FreeBSD.org Cc: Subject: Re: bin/126324: [patch] rc.d/tmp: Prevent mounting /tmp in second time 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: Fri, 05 Mar 2010 06:06:53 -0000 Synopsis: [patch] rc.d/tmp: Prevent mounting /tmp in second time State-Changed-From-To: open->patched State-Changed-By: jh State-Changed-When: Fri Mar 5 06:06:26 UTC 2010 State-Changed-Why: Fixed in r192246. http://www.freebsd.org/cgi/query-pr.cgi?pr=126324 From owner-freebsd-rc@FreeBSD.ORG Fri Mar 5 06:20:03 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 F27EA106564A for ; Fri, 5 Mar 2010 06:20:03 +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 DFAAC8FC15 for ; Fri, 5 Mar 2010 06:20:03 +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 o256K3cR023353 for ; Fri, 5 Mar 2010 06:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o256K3aY023352; Fri, 5 Mar 2010 06:20:03 GMT (envelope-from gnats) Date: Fri, 5 Mar 2010 06:20:03 GMT Message-Id: <201003050620.o256K3aY023352@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Jaakko Heinonen Cc: Subject: Re: conf/141258: /etc/rc.d/tmp may act incorrectly based on unprivleged local user actions X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jaakko Heinonen 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, 05 Mar 2010 06:20:04 -0000 The following reply was made to PR conf/141258; it has been noted by GNATS. From: Jaakko Heinonen To: bug-followup@FreeBSD.org, jon@passki.us Cc: Subject: Re: conf/141258: /etc/rc.d/tmp may act incorrectly based on unprivleged local user actions Date: Fri, 5 Mar 2010 08:15:40 +0200 Here is a proposed minimal fix for the problem. mktemp(1) should be available because the script requires mountcritremote. (Can someone confirm this?) %%% Index: etc/rc.d/tmp =================================================================== --- etc/rc.d/tmp (revision 204194) +++ etc/rc.d/tmp (working copy) @@ -51,8 +51,8 @@ case "${tmpmfs}" in [Nn][Oo]) ;; *) - if /bin/mkdir -p /tmp/.diskless 2> /dev/null; then - rmdir /tmp/.diskless + if _tmpdir=$(mktemp -d -q /tmp/.diskless.XXXXXX); then + rmdir ${_tmpdir} else if [ -h /tmp ]; then echo "*** /tmp is a symlink to a non-writable area!" %%% From owner-freebsd-rc@FreeBSD.ORG Fri Mar 5 11:30:04 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 78D911065670 for ; Fri, 5 Mar 2010 11:30:04 +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 50A0B8FC18 for ; Fri, 5 Mar 2010 11:30:04 +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 o25BU4cf095098 for ; Fri, 5 Mar 2010 11:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o25BU4Hq095093; Fri, 5 Mar 2010 11:30:04 GMT (envelope-from gnats) Date: Fri, 5 Mar 2010 11:30:04 GMT Message-Id: <201003051130.o25BU4Hq095093@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Gavin Atkinson Cc: Subject: Re: conf/143084: [jail] [patch]: fix rc.d/jail creating stray softlinks X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gavin Atkinson 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, 05 Mar 2010 11:30:04 -0000 The following reply was made to PR conf/143084; it has been noted by GNATS. From: Gavin Atkinson To: bug-followup@FreeBSD.org Cc: Subject: Re: conf/143084: [jail] [patch]: fix rc.d/jail creating stray softlinks Date: Fri, 05 Mar 2010 11:27:31 +0000 FWIW, the code in question was brought in with this commit: http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/jail#rev1.10 From owner-freebsd-rc@FreeBSD.ORG Fri Mar 5 13:00:13 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 EE4381065689 for ; Fri, 5 Mar 2010 13:00:13 +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 DDE3B8FC12 for ; Fri, 5 Mar 2010 13:00:13 +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 o25D0Dg9073955 for ; Fri, 5 Mar 2010 13:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o25D0Dmt073954; Fri, 5 Mar 2010 13:00:13 GMT (envelope-from gnats) Date: Fri, 5 Mar 2010 13:00:13 GMT Message-Id: <201003051300.o25D0Dmt073954@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Jon Passki Cc: Subject: Re: conf/141258: /etc/rc.d/tmp may act incorrectly based on unprivleged local user actions X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jon Passki 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, 05 Mar 2010 13:00:14 -0000 The following reply was made to PR conf/141258; it has been noted by GNATS. From: Jon Passki To: Jaakko Heinonen Cc: bug-followup@freebsd.org Subject: Re: conf/141258: /etc/rc.d/tmp may act incorrectly based on unprivleged local user actions Date: Fri, 5 Mar 2010 06:29:06 -0600 On Fri, Mar 5, 2010 at 12:15 AM, Jaakko Heinonen wrote: > > Here is a proposed minimal fix for the problem. mktemp(1) should be > available because the script requires mountcritremote. (Can someone > confirm this?) > > %%% > Index: etc/rc.d/tmp > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- etc/rc.d/tmp =A0 =A0 =A0 =A0(revision 204194) > +++ etc/rc.d/tmp =A0 =A0 =A0 =A0(working copy) > @@ -51,8 +51,8 @@ case "${tmpmfs}" in > =A0[Nn][Oo]) > =A0 =A0 =A0 =A0;; > =A0*) > - =A0 =A0 =A0 if /bin/mkdir -p /tmp/.diskless 2> /dev/null; then > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 rmdir /tmp/.diskless > + =A0 =A0 =A0 if _tmpdir=3D$(mktemp -d -q /tmp/.diskless.XXXXXX); then > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 rmdir ${_tmpdir} > =A0 =A0 =A0 =A0else > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if [ -h /tmp ]; then > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0echo "*** /tmp is a symlin= k to a non-writable area!" > %%% > Seems like an appropriate fix. I don't have a way to test this out at the moment though. Jon