containers / qm

QM is a containerized environment for running Functional Safety qm (Quality Management) software
https://github.com/containers/qm
GNU General Public License v2.0
20 stars 20 forks source link

Add modprobe_module tool #440

Closed weiwang-linda closed 2 months ago

weiwang-linda commented 2 months ago

Add a modprobe_module tool for https://issues.redhat.com/browse/VROOM-19336

The script will run inside the QM partition. And it won't be possible to access /lib/modules to load any module via modprobe.

The script has been test within a VM (cs9-qemu-qmcontainer-regular.x86_64.qcow2) via qemu

bash-5.1# ./modprobe_module modprobe: FATAL: Module ext4 not found in directory /lib/modules/5.14.0-447.400.el9iv.x86_64 ls: cannot access '/lib/modules/5.14.0-447.400.el9iv.x86_64': No such file or directory done