From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RDK1A-0008Gt-TV for garchives@archives.gentoo.org; Mon, 10 Oct 2011 17:52:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 35D2221C21C; Mon, 10 Oct 2011 17:51:42 +0000 (UTC) Received: from mail-vx0-f181.google.com (mail-vx0-f181.google.com [209.85.220.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 0F2CB21C132 for ; Mon, 10 Oct 2011 17:50:29 +0000 (UTC) Received: by vcdn13 with SMTP id n13so8245671vcd.40 for ; Mon, 10 Oct 2011 10:50:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:organization :x-mailer:mime-version:content-type:content-transfer-encoding; bh=oNMgc4GNgPEK+HU1xZplzbcHicmj7KbvX4JFmo8w9qw=; b=uPS9shbGaUh+grcTo3yt1M5sTsjqh4djbK7zsWen5Ar6bM3ChMDgAoWvWg7rtpnTdw YKrKbCTsJ24tc+WBV5xctkO4AWrhHYuvIxJOFcWAwgTC+LSdw+pCZz+U3IiXcakL0eZB BFTMLNjIT2PGPt9/HQxhSzwsZlVlNwuIlqm2s= Received: by 10.52.27.208 with SMTP id v16mr14890736vdg.22.1318269029518; Mon, 10 Oct 2011 10:50:29 -0700 (PDT) Received: from rohan.example.com ([196.215.144.38]) by mx.google.com with ESMTPS id fc4sm19256563vdc.8.2011.10.10.10.50.26 (version=SSLv3 cipher=OTHER); Mon, 10 Oct 2011 10:50:27 -0700 (PDT) Date: Mon, 10 Oct 2011 19:50:18 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] transferring contents of /etc/conf.d to the config files Message-ID: <20111010195018.47488ae7@rohan.example.com> In-Reply-To: <20111010173352.GA2844@solfire> References: <20111010173352.GA2844@solfire> Organization: Internet Solutions X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 52e3b54e14b31280c0f944bcbcae8713 On Mon, 10 Oct 2011 19:33:52 +0200 meino.cramer@gmx.de wrote: > Hi, > > I have read several docs to figure out this...all docs do changes > in /etc/conf.d but I found no hint how to transfer that settings > to the "real" configuration files of the according programs. > > env-update & etc-update do not help... > > What tool do I have to call to acchieve this? > > Thank you very much in advance for any help! That's not how it works. The files in /etc/conf.d are not "included" in config files at all, they are arguments used when the app is launched. For example, sshd: SSHD_CONFDIR="/etc/ssh" SSHD_OPTS="" SSHD_PIDFILE="/var/run/sshd.pid" SSHD_BINARY="/usr/sbin/sshd" None of those items can go in sshd_config except maybe the pid file, but that can be specified on the command-line. The Gentoo init system reads conf.d and uses the info in it to determine hwo to launch the app. There is other stuff in /etc/conf.d not related to specific daemons, but the same principle applies - the system reads the files and does the appropriate thing at strat-up. I believe you may have the intent of conf.d and env.d confused? -- Alan McKinnnon alan.mckinnon@gmail.com