降级前sp3版本:sgxsdk-2.11.100-9.oe1.x86_64
降级后sp2版本:sgxsdk-2.11.100-6.oe1.x86_64
环境:sp2环境
验证步骤:
1、只挂sp3源:
http://121.36.84.172/dailybuild/openEuler-20.03-LTS-SP3/test_openeuler-2021-11-25-06-31-07/everything/
安装sp3的包
2、回退:
开启sp2的源:
https://repo.openeuler.org/openEuler-20.03-LTS-SP2/everything/
https://repo.openeuler.org/openEuler-20.03-LTS-SP2/OS/
执行dnf downgrade降级
报错现象:
Cleanup : sgxsdk-2.11.100-9.oe1.x86_64 2158/2857
warning: file /opt/intel/sgxsdk/lib64/gdb-sgx-plugin/sgx_emmt.pyo: remove failed: No such file or directory
warning: file /opt/intel/sgxsdk/lib64/gdb-sgx-plugin/sgx_emmt.pyc: remove failed: No such file or directory
warning: file /opt/intel/sgxsdk/lib64/gdb-sgx-plugin/readelf.pyo: remove failed: No such file or directory
warning: file /opt/intel/sgxsdk/lib64/gdb-sgx-plugin/readelf.pyc: remove failed: No such file or directory
warning: file /opt/intel/sgxsdk/lib64/gdb-sgx-plugin/load_symbol_cmd.pyo: remove failed: No such file or directory
warning: file /opt/intel/sgxsdk/lib64/gdb-sgx-plugin/load_symbol_cmd.pyc: remove failed: No such file or directory
warning: file /opt/intel/sgxsdk/lib64/gdb-sgx-plugin/gdb_sgx_plugin.pyo: remove failed: No such file or directory
warning: file /opt/intel/sgxsdk/lib64/gdb-sgx-plugin/gdb_sgx_plugin.pyc: remove failed: No such file or directory
Hi caodongxia, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at
https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md.
If you have any questions, please contact the SIG: sig-confidential-computing, and any of the maintainers: @blue, @chenmaodong, @itrustee_kernel, @dongdo-yao.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
该issues是由于sp2的降级规则不正确导致:
升级sgxsdk的sp3版本后,sp2的删除规则直接将/opt/intel/sgxsdk目录删除,导致/opt/intel/sgxsdk目录丢失,在回退到sp2版本时,sp3会删除/opt/intel/sgxsdk/lib64/gdb-sgx-plugin/目录下的文件,因为目录下的文件不存在,导致issue里面的告警
sp3版本已经重构了sgxsdk的rpm打包逻辑,通过同步修改问题得到解决。
!27:[sync] PR-25: rebuild sgxsdk install package
登录 后才可以发表评论