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 1RDK6J-0007WH-GD for garchives@archives.gentoo.org; Mon, 10 Oct 2011 17:57:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 690EA21C21A; Mon, 10 Oct 2011 17:57:05 +0000 (UTC) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 1379C21C091 for ; Mon, 10 Oct 2011 17:56:16 +0000 (UTC) Received: by bkbzt12 with SMTP id zt12so11419054bkb.40 for ; Mon, 10 Oct 2011 10:56:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=sqq4GV3/oHZLw8EwzHuH0xmaV473QJmwpdbV4SbfK54=; b=Be9M+gHbTIMXoL54ND1KaTvDiS9LFzrYieToTjObJXSJq4mJ1e6udrlI70D2ClNNc2 ruqrvjZ9r7aDD6KovgJ5M/85apZfc9vnCLX4LzSxyNhxm4ErSaR2a26X1yGzr4a+2Yu+ 4X61Qe28ltaXv1yW9tW+SyRZNzdIRopO7Bjms= 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 Received: by 10.216.164.74 with SMTP id b52mr4744214wel.94.1318269375919; Mon, 10 Oct 2011 10:56:15 -0700 (PDT) Received: by 10.216.234.130 with HTTP; Mon, 10 Oct 2011 10:56:15 -0700 (PDT) In-Reply-To: <20111010173352.GA2844@solfire> References: <20111010173352.GA2844@solfire> Date: Mon, 10 Oct 2011 10:56:15 -0700 Message-ID: Subject: Re: [gentoo-user] transferring contents of /etc/conf.d to the config files From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 7979318277ca62555b6e6ef4c9abbf00 On Mon, Oct 10, 2011 at 10:33 AM, 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? /etc/conf.d is like /etc/sysconfig in RedHat/Fedora and /etc/default in Debian: they were introduced to pass environment variables and (cometimes) extra arguments to the daemons in /etc/init.d. So, if you have /etc/init.d/foo, you can put environment variables and (perhaps) extra args for the daemon in /etc/conf.d/foo. You don't need to "transfer" anything; when you do /etc/init.d/foo start the variables in /etc/conf.d/foo are readed and passed to the daemon. It's a distro specific directory (again, like /etc/sysconfig in RedHat/Fedora and /etc/default in Debian), and the "real" configuration of the daemon will probably be on /etc/foo (if at all). The new init systemd doesn't need this kind of distro-specific thing, instead pushing the configuration where it belongs, only in /etc/foo (or whatever). I highly recommend it. Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico