https://issues.rudder.io/https://issues.rudder.io/themes/rudder7/favicon/favicon.ico?17096450182019-07-15T13:05:51ZIssue TrackerRudder - User story #15220: Add a GM to ensure that a kernel module is enable at boothttps://issues.rudder.io/issues/15220?journal_id=1117472019-07-15T13:05:51ZFélix DALLIDET
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In progress</i></li><li><strong>Assignee</strong> set to <i>Félix DALLIDET</i></li></ul> Rudder - User story #15220: Add a GM to ensure that a kernel module is enable at boothttps://issues.rudder.io/issues/15220?journal_id=1117482019-07-15T13:09:46ZFélix DALLIDET
<ul><li><strong>Status</strong> changed from <i>In progress</i> to <i>Pending technical review</i></li><li><strong>Assignee</strong> changed from <i>Félix DALLIDET</i> to <i>Alexis Mousset</i></li><li><strong>Pull Request</strong> set to <i>https://github.com/Normation/ncf/pull/1015</i></li></ul><p>PR <a class="external" href="https://github.com/Normation/ncf/pull/1015">https://github.com/Normation/ncf/pull/1015</a></p> Rudder - User story #15220: Add a GM to ensure that a kernel module is enable at boothttps://issues.rudder.io/issues/15220?journal_id=1135232019-08-21T15:40:44ZFélix DALLIDET
<ul><li><strong>Status</strong> changed from <i>Pending technical review</i> to <i>Pending release</i></li></ul><p>Applied in changeset commit:02c0856e1b11277fa3933fcb6b26ab0c8730a646.</p> Rudder - User story #15220: Add a GM to ensure that a kernel module is enable at boothttps://issues.rudder.io/issues/15220?journal_id=1146262019-09-11T14:01:07ZFrançois ARMANDfrancois.armand@rudder.io
<ul></ul><p>This does not work and journald shows:</p>
<pre>
Sep 11 13:54:16 agent1 systemd-modules-load[201]: libkmod: ERROR ../libkmod/libkmod-config.c:635 kmod_config_parse: /etc/modprobe.d/enabled_by_rudder.conf line 1: ignoring bad line starting with '(module name)'
</pre> Rudder - User story #15220: Add a GM to ensure that a kernel module is enable at boothttps://issues.rudder.io/issues/15220?journal_id=1146272019-09-11T14:07:11ZFrançois ARMANDfrancois.armand@rudder.io
<ul></ul><p>The generic method should either edit <code>/etc/modules</code> and ensure the module name is there, or for <code>systemd</code> enabled systems, you can create a <code>xxx.conf</code> file in <code>/etc/modules-load.d/</code></p> Rudder - User story #15220: Add a GM to ensure that a kernel module is enable at boothttps://issues.rudder.io/issues/15220?journal_id=1146292019-09-11T14:47:24ZFrançois ARMANDfrancois.armand@rudder.io
<ul></ul><p>So, we will only support systemd enabled distribution for now with that generic method.</p>
<p>For reference, for older distribution:</p>
<p>- debian8 and below: edit <code>/etc/modules</code>, one module name per line<br />- on sles11: edit <code>/etc/sysconfig/kernel</code>, look for variable named: <code>MODULES_LOADED_ON_BOOT="module1,module2,etc"</code> (add the module name here)- centos/red hat 6 and below (not kidding): create a executable file <code>/etc/sysconfig/modules/the_module.modules</code> with content <br /><pre>
#!/bin/sh
/sbin/insmod the_module
</pre></p> Rudder - User story #15220: Add a GM to ensure that a kernel module is enable at boothttps://issues.rudder.io/issues/15220?journal_id=1146312019-09-11T14:54:25ZFrançois ARMANDfrancois.armand@rudder.io
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-16 priority-default closed child" href="/issues/15691">Bug #15691</a>: kernel module loaded at boot GM does not work on non-systemd os</i> added</li></ul> Rudder - User story #15220: Add a GM to ensure that a kernel module is enable at boothttps://issues.rudder.io/issues/15220?journal_id=1146332019-09-11T14:54:55ZFrançois ARMANDfrancois.armand@rudder.io
<ul><li><strong>Fix check</strong> changed from <i>To do</i> to <i>Error - Blocking</i></li></ul> Rudder - User story #15220: Add a GM to ensure that a kernel module is enable at boothttps://issues.rudder.io/issues/15220?journal_id=1146362019-09-11T15:12:28ZFrançois ARMANDfrancois.armand@rudder.io
<ul><li><strong>Fix check</strong> changed from <i>Error - Blocking</i> to <i>Checked</i></li></ul> Rudder - User story #15220: Add a GM to ensure that a kernel module is enable at boothttps://issues.rudder.io/issues/15220?journal_id=1147762019-09-12T15:27:30ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Status</strong> changed from <i>Pending release</i> to <i>Released</i></li></ul><p>This bug has been fixed in Rudder 5.0.13 which was released today.</p>
<ul>
<li><a href="https://docs.rudder.io/changelogs/5.0/index.html#5.0.13" class="external">5.0.13 changelog</a></li>
<li><a href="https://docs.rudder.io/reference/5.0/installation/upgrade.html" class="external">Upgrade manual</a></li>
</ul> Rudder - User story #15220: Add a GM to ensure that a kernel module is enable at boothttps://issues.rudder.io/issues/15220?journal_id=1549182022-05-25T14:58:42ZAlexis Moussetalexis.mousset@rudder.io
<ul><li><strong>Project</strong> changed from <i>41</i> to <i>Rudder</i></li><li><strong>Category</strong> changed from <i>Generic methods</i> to <i>Generic methods</i></li></ul>