From owner-freebsd-questions@FreeBSD.ORG Fri Dec 24 08:33:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06D4D106564A for ; Fri, 24 Dec 2010 08:33:09 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 88EFF8FC14 for ; Fri, 24 Dec 2010 08:33:08 +0000 (UTC) Received: by wwf26 with SMTP id 26so6564566wwf.31 for ; Fri, 24 Dec 2010 00:33:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=t8VP8CgdW47ixOvN8HZZdBWisXIeWht0w4Bp3fZDnpY=; b=H+Z5kzzTACQGUC6ppMw20gx2Vh/qeIWoy/6iSgMl7THnbEgckJkmXi/uoOHjK9/AWw XYPG/DNjZOl91ek57A2OV9Kj7OEy861nAmvAcNZLoHVf/bhb5YKvxIUgkan0IEs0PeRc 7BtiGkmfICWY9FAhzyPhNdAZJuA2K77w3dzS8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=S11YYa7gdgIST0xzBjNwpX+5I/PtTgWeR36pu4z0790S6pILzcOmVn09iGWTmpsN5g fuLDumbnDFM/2Juh7bW4tvYEkMQqR9D9Fd8gIK55iWJ55+J0KNzw1XmuMvg52hMwk/Dg 0s19E0JHP5C22TNbybogc7frBk76GJJ7NQLUk= Received: by 10.227.152.17 with SMTP id e17mr5534438wbw.70.1293179587250; Fri, 24 Dec 2010 00:33:07 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id q18sm5921114wbe.5.2010.12.24.00.33.05 (version=SSLv3 cipher=RC4-MD5); Fri, 24 Dec 2010 00:33:06 -0800 (PST) Date: Fri, 24 Dec 2010 08:33:04 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20101224083304.2458afe8@gumby.homeunix.com> In-Reply-To: <20101224033427.GD16472@admin.sibptus.tomsk.ru> References: <20101223172752.GA8539@admin.sibptus.tomsk.ru> <20101223201249.ea7648aa.freebsd@edvax.de> <20101223191443.GA24653@gizmo.acns.msu.edu> <20101223205456.21ddbe27.freebsd@edvax.de> <44zkrws0xx.fsf@be-well.ilk.org> <20101224033427.GD16472@admin.sibptus.tomsk.ru> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: rc.d and environment variables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Dec 2010 08:33:09 -0000 On Fri, 24 Dec 2010 09:34:27 +0600 Victor Sudakov wrote: > Lowell Gilbert wrote: > > > > > I'm not sure this will work. The initial question was about > > > how to obtain an environmental variable. If the rc.d script > > > of svnserve sources /etc/rc.conf and/or /etc/rc.conf.local, > > > it is okay, > > > > They do. rc.d scripts all start by sucking in rc.subr, which in > > turn pulls in the rc.conf files. > > So how do I make the /usr/local/etc/rc.d/svnserve script suck in > KRB5_KTNAME for the "svn" user from the rc.conf* files? Just export it from rc.conf