From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from exchange.colubris.com (gate.colubris.com [206.162.167.230]) by chiba.3jane.net (Postfix) with ESMTP id 57A0820EDBA9 for ; Mon, 11 Mar 2002 12:17:02 -0600 (CST) Received: from colubris.com ([192.168.30.147] RDNS failed) by exchange.colubris.com with Microsoft SMTPSVC(5.0.2195.3779); Mon, 11 Mar 2002 13:10:14 -0500 Message-ID: <3C8CF48D.5000106@colubris.com> Date: Mon, 11 Mar 2002 13:16:45 -0500 From: Yannick Koehler User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020218 X-Accept-Language: en-us MIME-Version: 1.0 To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] /etc/init.d References: <3C8CEDD8.2000907@colubris.com> <20020311180248.GB1380@littlethulu.craigthulu.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Mar 2002 18:10:15.0015 (UTC) FILETIME=[FE486770:01C1C927] Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 4a90ad0e-37db-4cf1-97d9-b106d7e2b2bb X-Archives-Hash: 428fda8b431b7f6ccedd3fe74d114f62 Craig M. Reece wrote: > On Mon, Mar 11, 2002 at 12:48:08PM -0500, Yannick Koehler spoke thusly: > >>Guys, >> >> not sure for anyone else but is init.d really need to be protected? >> I mean does someone really change files in that directory (other than >>adding or removing)? >> >> That dir should always get merged. It would also get really nice of >> the portage could detect that no changes has been made to the file since >>its installation and therefore merge it without any issues. >> >> Like if the protected config file's time were saved in a temp files >> that portage would look into before merging to see if the date has or not >>change since the last install. >> >> > > Yes it needs to be protected. I, for instance, have my own version of > pcmcia in there that I don't want stepped on. Also, I have a couple of > other custom scripts for things not in portage yet; and when they are in > portage, I want to be able to compare the differences before using one > or the other. > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://lists.gentoo.org/mailman/listinfo/gentoo-dev > The reasoning I have is that those are scripts, and not config files. If ... instead of modifying pcmcia script for example like you mentionned you were to cp pcmcia pcmcia.modif and rc-update add pcmcia.modif default / rc-update del pcmcia default the system would work and you'll never get concerned about the new pcmcia scripts. If you changes those scripts maybe it's even better to tell people about your changes as they may get implemented such that the script itself read a config files (like net.eth0) so that other people can re-use your modifications. And maybe a user's scripts directory should exists, something like /etc/user.d where people can move their custom scripts and the stuff behind rc-update would got here first and if it doesn't found the script then to /etc/init.d. Yannick Koehler