public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] rfc: openrc using modprobe directly to load kernel modules
@ 2016-08-17 16:54 William Hubbs
  2016-08-17 21:39 ` james
  2016-08-18  6:23 ` Daniel Campbell
  0 siblings, 2 replies; 5+ messages in thread
From: William Hubbs @ 2016-08-17 16:54 UTC (permalink / raw
  To: gentoo development

[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]

All,

I'm starting this thread because of the bug I'm citing below [1].

The issue is that some systems do not use kernel modules, and do not
have kmod installed at all. Since we run modprobe unconditionally in a
few places in OpenRC, we always generate "modprobe: command not found"
errors on systems which are set up like this.

If you read the bug, the proposed fixes have been a bit controversial in
the past. Since we have the "want" dependency now, I would like to
propose a different fix.

1. all of the current openrc services that use modprobe should have
"want modules" in their dependencies.
2. After this is done, these services should still attempt to load the
modules if necessary, but they should complain to the user about it and
recommend either building these modules in or using /etc/conf.d/modules
to configure them so they are loaded by the modules service.
3. Then, at some point in the future, OpenRC could remove the modprobe
commands.

Thoughts?

William

[1] https://bugs.gentoo.org/show_bug.cgi?id=342313

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-08-18 18:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-17 16:54 [gentoo-dev] rfc: openrc using modprobe directly to load kernel modules William Hubbs
2016-08-17 21:39 ` james
2016-08-18  6:23 ` Daniel Campbell
2016-08-18  8:39   ` Consus
2016-08-18 18:56   ` William Hubbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox