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.
当安装第一个rpm包时,系统中没有/etc/ima/digest_list目录,会导致/etc/ima/digest_lists/0-metadata_list-rpm-*文件生成失败。22.03第一个安装的rpm包是libgcc,在开启IMA度量的情况下,libgcc_s.so度量失败。
Hi HuaxinLuGitee, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Base-service, and any of the maintainers: @zhujianwei001 , @syyhao , @hanxinke , @hexiaowen , @Monday , @朱春意 , @谢志鹏 , @BigSkySea , @yanan-rock , @chenjialong
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
# yum install -y libgcc --installroot=/root/testroot/
# ls testroot/etc/ima/digest_lists
0-metadata_list-compact-libgcc-10.3.1-20210914.5.oe1.x86_64
# yum reinstall -y libgcc --installroot=/root/testroot/
# ls testroot/etc/ima/digest_lists
0-metadata_list-compact-libgcc-10.3.1-20210914.5.oe1.x86_64
0-metadata_list-rpm-libgcc-10.3.1-20210914.5.oe1.x86_64
登录 后才可以发表评论