
On Mon, Apr 20, Andrei Borzenkov wrote:
В Mon, 20 Apr 2015 17:38:50 +0200 Olaf Hering <olaf@aepfle.de> пишет:
On Sun, Apr 19, Andrei Borzenkov wrote:
systemd-modules-load just loads what it had been told. If it is missing, it is an error. Silently (or even not silently) ignoring missing modules would mean real errors will go unnoticed. A real error is if some other package relying on a possibly missing driver fails. It does not rely on anything. It simply loads what you told it to load and informs you if it failed.
Yes, but thats not what I wrote. systemd-modules-load has to be a dumb service, its not allowed to report any errors. The true errors may be reported by the apps which actually rely on a listed driver.
Marking missing modules as failure without providing conditionals depending on source and .config is just dumb.
Add generator that drops modules to be loaded in /run/modules-load.d based on whatever condition is appropriate.
In that case such generator can load the module right away. Olaf -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org