11 Star 3 Fork 70

src-openEuler/rpm

 / 详情

[openEuler 22.03LTS] fail to generate IMA rpm digest list file when install the first rpm

已完成
缺陷
创建于  
2022-03-13 18:03

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度量失败。

评论 (2)

luhuaxin 创建了缺陷

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

openeuler-ci-bot 添加了
 
sig/Base-service
标签
luhuaxin 修改了描述
# 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

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/rpm.git
git@gitee.com:src-openeuler/rpm.git
src-openeuler
rpm
rpm

搜索帮助

A270a887 8829481 3d7a4017 8829481