From owner-freebsd-rc@FreeBSD.ORG Mon Aug 20 11:08:34 2007 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 802B816A46E for ; Mon, 20 Aug 2007 11:08:34 +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 6901513C442 for ; Mon, 20 Aug 2007 11:08:34 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7KB8Ysg087542 for ; Mon, 20 Aug 2007 11:08:34 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7KB8XqY087538 for freebsd-rc@FreeBSD.org; Mon, 20 Aug 2007 11:08:33 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 Aug 2007 11:08:33 GMT Message-Id: <200708201108.l7KB8XqY087538@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 you 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, 20 Aug 2007 11:08:34 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/98758 rc [jail] [patch] Templatize 'jail_fstab' in /etc/rc.d/ja o conf/98846 rc [jail] [patch] Templatize 'jail_rootdir' in /etc/rc.d/ o conf/105689 rc syslogd starts too late at boot o conf/107155 rc [ppp] /etc/rc.d/ppp-user does not bring up pppoe at bo o conf/107364 rc pf fails to start on bootup after system update from F 5 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/45226 rc [patch] Fix for rc.network, ppp-user annoyance o conf/48870 rc [PATCH] rc.network: allow to cancel interface status d o conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} o conf/73677 rc [patch] add support for powernow states to power_profi o conf/74817 rc [patch] network.subr: fixed automatic configuration of o conf/77663 rc Suggestion: add /etc/rc.d/addnetswap after addcritremo o conf/79196 rc [PATCH] configurable dummynet loading from /etc/rc.co o kern/81006 rc ipnat not working with tunnel interfaces on startup o conf/85363 rc syntax error in /etc/rc.d/devfs o conf/85819 rc [patch] script allowing multiuser mode in spite of fsc o conf/88913 rc [patch] wrapper support for rc.subr o conf/89061 rc [patch] IPv6 6to4 auto-configuration enhancement o conf/89870 rc [patch] feature request to make netif verbose rc.conf o conf/92523 rc [patch] allow rc scripts to kill process after a timeo o conf/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d o conf/95162 rc [patch] Missing feature in rc.subr o conf/96343 rc [patch] rc.d order change to start inet6 before pf o conf/99444 rc [patch] Enhancement: rc.subr could easily support star o conf/99721 rc [patch] /etc/rc.initdiskless problem copy dotfile in s o conf/102700 rc [geli] [patch] Add encrypted /tmp support to GELI/GBDE o conf/102913 rc [jail] [patch] /etc/rc.d/named killall in jailed OS o conf/103486 rc [rc.d] [jail] [patch] rc.d/jail: mount fstab after dev o conf/103489 rc [rc.d] [jail] [patch] named_chroot_autoupdate doesn't o conf/104549 rc [patch] rc.d/nfsd needs special _find_processes functi o conf/105145 rc [PATCH] add redial function to rc.d/ppp o conf/105568 rc [patch] Add more flexibility to rc.conf, to choose "_e o conf/106009 rc [patch] Fix pppoed startup script to process multiply o conf/109562 rc [rc.d] [patch] Make rc.d/devfs usable from command-lin o conf/109980 rc /etc/rc.d/netif restart doesn't destroy cloned_interfa o conf/114119 rc [jail] [patch] /etc/rc.d/jail improvements for network o conf/115588 rc rc.d/ldconfig doesnt handle ldconfig_local_dirs proper 31 problems total. From owner-freebsd-rc@FreeBSD.ORG Mon Aug 20 12:35:21 2007 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 3A47F16A418; Mon, 20 Aug 2007 12:35:21 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 10C0513C46A; Mon, 20 Aug 2007 12:35:21 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from freefall.freebsd.org (flz@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7KCZKWH097877; Mon, 20 Aug 2007 12:35:20 GMT (envelope-from flz@freefall.freebsd.org) Received: (from flz@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7KCZKot097873; Mon, 20 Aug 2007 12:35:20 GMT (envelope-from flz) Date: Mon, 20 Aug 2007 12:35:20 GMT Message-Id: <200708201235.l7KCZKot097873@freefall.freebsd.org> To: newsham@lava.net, flz@FreeBSD.org, freebsd-rc@FreeBSD.org From: flz@FreeBSD.org Cc: Subject: Re: conf/115588: rc.d/ldconfig doesnt handle ldconfig_local_dirs properly 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, 20 Aug 2007 12:35:21 -0000 Synopsis: rc.d/ldconfig doesnt handle ldconfig_local_dirs properly State-Changed-From-To: open->closed State-Changed-By: flz State-Changed-When: Mon Aug 20 12:34:11 UTC 2007 State-Changed-Why: You should be using ldconfig32_paths not ldconfig_local32_dirs. http://www.freebsd.org/cgi/query-pr.cgi?pr=115588 From owner-freebsd-rc@FreeBSD.ORG Mon Aug 20 18:43:53 2007 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 AA31A16A41A; Mon, 20 Aug 2007 18:43:53 +0000 (UTC) (envelope-from newsham@lava.net) Received: from outgoing02.lava.net (pie.lava.net [64.65.64.125]) by mx1.freebsd.org (Postfix) with ESMTP id 8D1B913C45B; Mon, 20 Aug 2007 18:43:53 +0000 (UTC) (envelope-from newsham@lava.net) Received: from malasada.lava.net (malasada.lava.net [64.65.64.17]) by outgoing02.lava.net (Postfix) with ESMTP id B14C3B8C1E; Mon, 20 Aug 2007 08:28:22 -1000 (HST) Date: Mon, 20 Aug 2007 08:28:22 -1000 (HST) From: Tim Newsham To: flz@FreeBSD.org In-Reply-To: <200708201235.l7KCZKot097873@freefall.freebsd.org> Message-ID: References: <200708201235.l7KCZKot097873@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-rc@FreeBSD.org Subject: Re: conf/115588: rc.d/ldconfig doesnt handle ldconfig_local_dirs properly 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, 20 Aug 2007 18:43:53 -0000 On Mon, 20 Aug 2007, flz@FreeBSD.org wrote: > Synopsis: rc.d/ldconfig doesnt handle ldconfig_local_dirs properly > > State-Changed-From-To: open->closed > State-Changed-By: flz > State-Changed-When: Mon Aug 20 12:34:11 UTC 2007 > State-Changed-Why: > You should be using ldconfig32_paths not ldconfig_local32_dirs. It would be helpful if there was documentation about the relevant config variables at the top of the file or in some man page (or both). What is the ldconfig_local_dirs for? > http://www.freebsd.org/cgi/query-pr.cgi?pr=115588 Tim Newsham http://www.thenewsh.com/~newsham/ From owner-freebsd-rc@FreeBSD.ORG Mon Aug 20 21:30:16 2007 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 9AED116A420 for ; Mon, 20 Aug 2007 21:30:16 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 59F3013C459 for ; Mon, 20 Aug 2007 21:30:16 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 4B07D20B4 for ; Mon, 20 Aug 2007 23:21:29 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 3D60D20B3 for ; Mon, 20 Aug 2007 23:21:29 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id 1F63D8444F; Mon, 20 Aug 2007 23:21:29 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: rc@freebsd.org References: <86tzqtewep.fsf@ds4.des.no> Date: Mon, 20 Aug 2007 23:21:28 +0200 In-Reply-To: <86tzqtewep.fsf@ds4.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8rg?= =?utf-8?Q?rav=22's?= message of "Mon\, 20 Aug 2007 23\:19\:42 +0200") Message-ID: <86ps1hewbr.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: ${name}_user / ${name}_group 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, 20 Aug 2007 21:30:16 -0000 Dag-Erling Sm=C3=B8rgrav writes: > Is there any way I can work around this, other than 'unset _user _group' > after load_rc_config? (which won't even work as they are set in run_rc_command, not load_rc_config) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-rc@FreeBSD.ORG Mon Aug 20 21:35:16 2007 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 ECC7D16A420 for ; Mon, 20 Aug 2007 21:35:16 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id AEFAC13C46B for ; Mon, 20 Aug 2007 21:35:16 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id DB6FA20B0 for ; Mon, 20 Aug 2007 23:19:42 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id D0883208A for ; Mon, 20 Aug 2007 23:19:42 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id B82018444F; Mon, 20 Aug 2007 23:19:42 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: rc@freebsd.org Date: Mon, 20 Aug 2007 23:19:42 +0200 Message-ID: <86tzqtewep.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: ${name}_user / ${name}_group 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, 20 Aug 2007 21:35:17 -0000 Varnish (www/varnish in ports) uses -u / -g on the command line to specify a user / group the child process should run as. I'd like to allow the user to configure these as varnishd_user / varnishd_group in rc.conf. However, ${name}_user and ${name}_group are magic in rc.subr; it interprets them as a user / group to su to before starting / killing ${name}_program. Is there any way I can work around this, other than 'unset _user _group' after load_rc_config? DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-rc@FreeBSD.ORG Mon Aug 20 23:50:59 2007 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 C5BE616A417 for ; Mon, 20 Aug 2007 23:50:59 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with SMTP id 63E8F13C45E for ; Mon, 20 Aug 2007 23:50:59 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 13980 invoked by uid 399); 20 Aug 2007 23:24:18 -0000 Received: from localhost (HELO slave.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 20 Aug 2007 23:24:18 -0000 X-Originating-IP: 127.0.0.1 Date: Mon, 20 Aug 2007 16:24:16 -0700 (PDT) From: Doug Barton To: =?iso-8859-15?Q?Dag-Erling_Sm=F8rgrav?= In-Reply-To: <86tzqtewep.fsf@ds4.des.no> Message-ID: References: <86tzqtewep.fsf@ds4.des.no> X-message-flag: Outlook -- Not just for spreading viruses anymore! X-OpenPGP-Key-ID: 0xD5B2F0FB Organization: http://www.FreeBSD.org/ MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1946426456-1187652258=:17908" Cc: rc@freebsd.org Subject: Re: ${name}_user / ${name}_group 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, 20 Aug 2007 23:50:59 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1946426456-1187652258=:17908 Content-Type: TEXT/PLAIN; format=flowed; charset=iso-8859-15 Content-Transfer-Encoding: 8BIT On Mon, 20 Aug 2007, Dag-Erling Smørgrav wrote: > Varnish (www/varnish in ports) uses -u / -g on the command line to > specify a user / group the child process should run as. I'd like to > allow the user to configure these as varnishd_user / varnishd_group in > rc.conf. However, ${name}_user and ${name}_group are magic in rc.subr; > it interprets them as a user / group to su to before starting / killing > ${name}_program. > > Is there any way I can work around this, other than 'unset _user _group' > after load_rc_config? No. However, you could use _[ug]id, which is what I did for named, and hasn't seemed to cause anyone confusion. hth, Doug -- This .signature sanitized for your protection --0-1946426456-1187652258=:17908--