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

ffi: Adding modprobe modules case. #449

Closed weiwang-linda closed 1 month ago

weiwang-linda commented 1 month ago

Adding a ffi test to check it won't be possible to access /lib/modules to load any module via modprobe inside the QM partition. resolve #373

Make sure it won't be possible to access /lib/modules to load any module via modprobe inside QM container, like below:

bash-5.1# modprobe ext4
modprobe: FATAL: Module ext4 not found in directory /lib/modules/5.14.0-438.391.el9iv.x86_64
bash-5.1# ls /lib/modules/5.14.0-438.391.el9iv.x86_64
ls: cannot access '/lib/modules/5.14.0-438.391.el9iv.x86_64': No such file or directory
Yarboa commented 1 month ago

/packit test

Yarboa commented 1 month ago

/packit test --identifier e2e-tiers