voxpupuli / puppet-kmod

manage kernel module with puppet
Apache License 2.0
17 stars 63 forks source link

dead facter process while executing kmod fact #96

Open QueerCodingGirl opened 1 year ago

QueerCodingGirl commented 1 year ago

Facter, and therefore the puppet agent process hang in the dead state when executing the kmod fact. The output just stops and no error is generated.

Environment: OS: Ubuntu 18.04 virtual machine Agent: Puppet 7.23.0 Facter 4.3.0 (bundled with the puppet agent)

I added some debug lines to the fact and found out it dies when it tries to read from /sys/module/kvm_intel/parameters/eptad. Changing the rescue line to catch all exceptions did not help.

The line that triggers the error: https://github.com/voxpupuli/puppet-kmod/blob/754ab27a29903d2c2146addacaffe1eb6d27852a/lib/facter/kmod.rb#L27

QueerCodingGirl commented 1 year ago

After excluding the eptad parameter, it fails on the next one (flexpriority), so i guess it may fail for the whole kvm_intel module parameters.