Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
When "f.get('cpu_npartitions=')" is used, LUFT will read all files in "/etc/modprobe.d" looking for the string "cpu_npartitions=". The file is opened with default encoding options, and if it is not the right one, looping on the line of the file and comparing them will lead to an exception.
This scenario will happen, for instance, if a file from /etc/modprobe.d is opened by vim that will save a swap file of this file in the same directory.