From: NP-Hardass <NP-Hardass@gentoo.org>
To: gentoo development <gentoo-dev@lists.gentoo.org>
Subject: Re: [gentoo-dev] rfc: /etc/init.d/modules loading modules defined in files
Date: Thu, 18 Aug 2016 10:02:35 -0400 [thread overview]
Message-ID: <cc93926f-4002-3d50-9f5b-91990a5dda2b@gentoo.org> (raw)
In-Reply-To: <20160816232009.GA16393@whubbs1.gaikai.biz>
[-- Attachment #1.1: Type: text/plain, Size: 1492 bytes --]
On 08/16/2016 07:20 PM, William Hubbs wrote:
> All,
>
> I have received a request to implement a feature in OpenRC to allow
> multiple software packages to drop files in a directory, /etc/modules.d
> for example, which would define modules the /etc/init.d/modules script
> would load.
>
> The design I'm thinking of would not change the use of
> /etc/conf.d/modules, but the entries from the files would be added to
> the appropriate module lists after the ones listed there.
>
> I'll write more about the design as I get closer to formulating the
> details, but at this point I just want to know what others thinkabout
> this feature.
>
> Thanks,
>
> William
>
Just a side note on how I currently take advantage of the modules
initscript:
I have several symlinks, one for each set of modules that I want to
control. Then I create a corresponding conf.d based off of the modules
conf.d. So, for example, /etc/init.d/vbox-modules->/etc/init.d/modules
just controls the vbox modules. This gives me fine control over module
sets without having to worry about all of them at once. I can have
certain sets of modules start in different runlevels, and I can
independently load and unload sets of modules when necessary.
If you do end up switching to some system that reads a directory, I'd
like to see something that if the name of the initscript isn't modules,
it sources just the corresponding file, rather than the whole dir.
--
NP-Hardass
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-08-18 14:02 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-16 23:20 [gentoo-dev] rfc: /etc/init.d/modules loading modules defined in files William Hubbs
2016-08-16 23:49 ` Matthias Maier
2016-08-16 23:59 ` Matthias Maier
2016-08-17 0:16 ` William Hubbs
2016-08-17 6:59 ` [gentoo-dev] " Martin Vaeth
2016-08-17 12:33 ` Mike Gilbert
2016-08-17 13:04 ` Martin Vaeth
2016-08-19 11:19 ` [gentoo-dev] " Thomas Deutschmann
2016-08-18 14:02 ` NP-Hardass [this message]
2016-08-18 17:58 ` William Hubbs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cc93926f-4002-3d50-9f5b-91990a5dda2b@gentoo.org \
--to=np-hardass@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox