From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brice Waegeneire Subject: Re: 01/02: services: Allow modprobe to use "/etc/modprobe.d". Date: Wed, 08 Apr 2020 14:03:08 +0000 Message-ID: References: <20200405110749.5469.24356@vcs0.savannah.gnu.org> <20200405110750.E368020A26@vcs0.savannah.gnu.org> <87v9mdhbxk.fsf@gnu.org> <00d7800adbfc1fa955ed503c1ba38e00@waegenei.re> <20200406092948.GA2930@LionPure> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47321) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMBIS-0004UB-FT for guix-devel@gnu.org; Wed, 08 Apr 2020 10:03:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMBIR-0007yi-Ey for guix-devel@gnu.org; Wed, 08 Apr 2020 10:03:16 -0400 In-Reply-To: <20200406092948.GA2930@LionPure> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: Bengt Richter Cc: guix-devel@gnu.org, Guix-devel Hello Bengt, On 2020-04-06 09:29, Bengt Richter wrote: > On +2020-04-06 07:54:47 +0000, Brice Waegeneire wrote: >> What's the issue with using /etc/modrpobe.d? > > I would think the fundamental issue is pure vs impure dependencies: > i.e., /gnu/... vs /var/guix vs /elsewhere/... > > IIUC, the consequence of using /etc/... or ~/... or other non-/gnu/... > is that if you want to run something in a container with chrooted root, > you have to cow-fake /etc and all the rest of non-/gnu/... environment, > so your executable is not as generally usable as possible if > nuisance adjustments were not necessary. > > People who might want to use it anyway have to think about a bunch > of stuff not relevant to what they actually want to do -- they > will wind up debugging functionally-irrelevant implementation stuff. > > Maybe I misunderstand, but are you and Ludo on the same page > re the fundamental concept of guix and how it plays in various > contexts? > (allowing for "practicality beats purity"[1] when absolutely necessary > ;-) Yes, only the reason why to do it was eluding me. I'll keep in mind your rule thumb. - Brice