【标题描述】安装后,基础命令sealert不可用
【环境信息】
硬件信息:
1) x86
软件信息:
1) openEuler 21.03 (LTS)
2) Name : setroubleshoot-server
Version : 3.3.24
Release : 1.oe1
【问题复现步骤】
dnf install setroubleshoot-server
【预期结果】
安装成功,基础命令可用。
【实际结果】
[xxxx@localhost xxx]# sealert -v
Traceback (most recent call last):
File "/usr/bin/sealert", line 57, in <module>
from setroubleshoot.util import get_identity, load_plugins, log_init, log_debug
File "/usr/lib/python3.8/site-packages/setroubleshoot/util.py", line 72, in <module>
from pydbus import SystemBus
ModuleNotFoundError: No module named 'pydbus'
Hey yanglijin, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
@panxiaohe 需要将python3-pydbus作为setroubleshoot-server的安装依赖
3.3.24版本的setroubleshoot-server提供的python脚本命令sealert使用到python3-pydbus三方库
登录 后才可以发表评论