From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8F3C913832E for ; Wed, 17 Aug 2016 13:04:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E22121C06D; Wed, 17 Aug 2016 13:04:36 +0000 (UTC) Received: from blaine.gmane.org (unknown [195.159.176.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31BC521C012 for ; Wed, 17 Aug 2016 13:04:35 +0000 (UTC) Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ba0WG-0000qC-01 for gentoo-dev@lists.gentoo.org; Wed, 17 Aug 2016 15:04:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Martin Vaeth Subject: [gentoo-dev] Re: rfc: /etc/init.d/modules loading modules defined in files Date: Wed, 17 Aug 2016 13:04:24 +0000 (UTC) Message-ID: References: <20160816232009.GA16393@whubbs1.gaikai.biz> <87a8gctguf.fsf@kestrel.kyomu.43-1.org> <8760r0tgd7.fsf@kestrel.kyomu.43-1.org> <20160817001653.GB18485@linux1.gaikai.biz> X-Complaints-To: usenet@blaine.gmane.org User-Agent: slrn/pre1.0.0-26 (Linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: 1e00c946-ba0d-4187-b85c-d2dbdbb05f1e X-Archives-Hash: a35f6874bbcc8a0bc807a4bf6affc4e5 Mike Gilbert wrote: >> >> modules=$(sed -n -e '/^[^;#]/p' /etc/modules-load.d/*.conf \ >> /usr/lib/modules-load.d/*.conf 2>/dev/null || : ) > > This simple implementation does not follow the precedence rules > documented in modules-load.d(5). I didn't mean it as the recommended implementation for openrc, but just wanted to illustrate that such pre-implementation are already in use. (Currently, this implementation is sufficient, because currently practically nothing installs into /usr/lib/modules-load.d, so masking is currently unneeded). _Of course_ I would suggest that a proper implementation in openrc should follow the standard completely.