When installing the first RPM package, the /etc/ima/digest_list directory is not existed. As a result, the /etc/ima/digest_lists/0-metadata_list-rpm-* file fails to be generated. In openEuler 22.03, the first RPM package installed is libgcc, which cause IMA failed to measure libgcc_s.so.
When installing the first RPM package, the /etc/ima/digest_list directory is not existed. As a result, the /etc/ima/digest_lists/0-metadata_list-rpm-* file fails to be generated. In openEuler 22.03, the first RPM package installed is libgcc, which cause IMA failed to measure libgcc_s.so.