The IMA log files are organized with a symlink for backward compatibility.
The /sys/kernel/security/ima/ascii_runtime_measurements symlinks to /sys/kernel/security/ima/ascii_runtime_measurements_sha1.
However, the current Intel Trusted Authority Client refuses to read IMA log if /sys/kernel/security/ima/ascii_runtime_measurements is a symlink.
The error locates in this line.
https://github.com/intel/trustauthority-client-for-go/blob/38d176fffa26c2f76b0939f7e1eccc849f6803e5/go-tpm/adapter.go#L317C1-L319C3
The IMA log files are organized with a symlink for backward compatibility.
The
/sys/kernel/security/ima/ascii_runtime_measurementssymlinks to/sys/kernel/security/ima/ascii_runtime_measurements_sha1.However, the current Intel Trusted Authority Client refuses to read IMA log if
/sys/kernel/security/ima/ascii_runtime_measurementsis a symlink.The error locates in this line.
https://github.com/intel/trustauthority-client-for-go/blob/38d176fffa26c2f76b0939f7e1eccc849f6803e5/go-tpm/adapter.go#L317C1-L319C3