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 49B9413832E for ; Wed, 17 Aug 2016 12:33:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF23F21C06C; Wed, 17 Aug 2016 12:33:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 9EFFBE0B85 for ; Wed, 17 Aug 2016 12:33:34 +0000 (UTC) Received: from mail-it0-f43.google.com (mail-it0-f43.google.com [209.85.214.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id E3A22340B6A for ; Wed, 17 Aug 2016 12:33:32 +0000 (UTC) Received: by mail-it0-f43.google.com with SMTP id n128so55689583ith.1 for ; Wed, 17 Aug 2016 05:33:32 -0700 (PDT) X-Gm-Message-State: AEkoouuELH7nNtSnrAGotlgtGF5KCEoN2XUlc1ODle2TxtNA4sEPSlomRAjDEoCmOJS8wTqCjw+aL21eGcZXwg== X-Received: by 10.36.216.138 with SMTP id b132mr28707937itg.38.1471437210820; Wed, 17 Aug 2016 05:33:30 -0700 (PDT) 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 MIME-Version: 1.0 Received: by 10.79.103.196 with HTTP; Wed, 17 Aug 2016 05:33:10 -0700 (PDT) In-Reply-To: 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> From: Mike Gilbert Date: Wed, 17 Aug 2016 08:33:10 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-dev] Re: rfc: /etc/init.d/modules loading modules defined in files To: Gentoo Dev Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: c290f71a-6dad-48a8-b2d5-52d3d986811d X-Archives-Hash: 6738342930e408daf234375c4067df42 On Wed, Aug 17, 2016 at 2:59 AM, Martin Vaeth wrote: > William Hubbs wrote: >> >> but I'm open to making the behaviour compatible >> with what systemd does > > Since openrc already supports tmpfiles.d, > support for modules-load.d would be natural. > In fact, this is already done for quite a while in > > https://github.com/vaeth/firewall-mv/blob/master/openrc/conf.d/modules > > The last line supports modules-load.d: > > 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).