【环境信息】
软件信息:
1) OS版本及分支:openEuler 22.03 (LTS-SP3)
2) 内核信息:5.10.0-153.12.0.92.oe2203sp2.x86_64
【操作步骤】
1、安装软件包
dnf install -y boom-boot
boom -b 1 entry show
【预期结果】
命令执行正常,无报错
【实际结果】
命令执行异常
【附件】
repo源:
[OS]
name=OS
baseurl=http://××/repo_list/iteration.repo/openEuler-22.03-LTS-SP3/openeuler-2023-11-23-17-21-14/OS/$basearch/
enabled=0
gpgcheck=1
gpgkey=http://××/repo_list/iteration.repo/openEuler-22.03-LTS-SP3/openeuler-2023-11-23-17-21-14/OS/$basearch/RPM-GPG-KEY-openEuler
[everything]
name=everything
baseurl=http://××/repo_list/iteration.repo/openEuler-22.03-LTS-SP3/openeuler-2023-11-23-17-21-14/everything/$basearch/
enabled=0
gpgcheck=1
gpgkey=http://××/repo_list/iteration.repo/openEuler-22.03-LTS-SP3/openeuler-2023-11-23-17-21-14/everything/$basearch/RPM-GPG-KEY-openEuler
[EPOL]
name=EPOL
baseurl=http://××/repo_list/iteration.repo/openEuler-22.03-LTS-SP3/openeuler-2023-11-23-17-21-14/EPOL/main/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://××/repo_list/iteration.repo/openEuler-22.03-LTS-SP3/openeuler-2023-11-23-17-21-14/OS/$basearch/RPM-GPG-KEY-openEuler
Hi ryuo, 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: Others, and any of the maintainers: @jimmy_hero , @small_leek , @mdche , @王歌
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
根因:上游通过https://github.com/snapshotmanager/boom/commit/86cac4a0eb35cffbead898af6b18a689db5df92e 提交
规定第一个参数必须为entry 、profile 、host等,第二个参数必须为 create 、delete、clone 、show、 list等
新版本的用法是:boom entry show -b 1
[root@openEuler boom-boot]# boom entry show -b 1
ERROR - Host profile configuration path '/boot/boom/hosts' not found.
[root@openEuler boom-boot]# mkdir /boot/boom/hosts -p
[root@openEuler boom-boot]# boom entry show -b 1
ERROR - Could not clean boot image cache: [Errno 2] No such file or directory: /boot/boom/cache
[root@openEuler boom-boot]# mkdir -p /boot/boom/cache
[root@openEuler boom-boot]# boom entry show -b 1
[root@openEuler boom-boot]# echo $?
0
上面缺少 /boot/boom/hosts /boot/boom/cache 目录应该默认创建好,通过pr 修复:!19:Add cache and hosts directories
/boot/boom/profiles/*文件非修复此问题必要文件,仅做用法示例。
登录 后才可以发表评论