talos icon indicating copy to clipboard operation
talos copied to clipboard

kernel module unloading

Open frezbo opened this issue 2 years ago • 3 comments

Feature Request

Currently removing the module section has no effect on the loaded kernel modules. Standard OS support unloading kernel modules. Currently the only way in talos is to comment/remove the kernel modules section and reboot

frezbo avatar May 13 '22 15:05 frezbo

I didn't implement that, because it seemed to be non-trivial - loading a module goes via aliases and dependencies, so a single entry in the config translates to a set of modules to load. So probably it needs to be something non-trivial to see which modules to unload if machine config changes, but it should be something we can implement.

smira avatar May 13 '22 17:05 smira

yeh, not a blocker, but i ended by constantly applying/de-applying patches and rebooting to test with nvidia

frezbo avatar May 13 '22 18:05 frezbo

Philosophically, it seems an immutable OS should not support unloading modules without a reboot, no?

steverfrancis avatar May 13 '22 20:05 steverfrancis