【环境信息】
NAME="openEuler"
VERSION="23.03"
ID="openEuler"
VERSION_ID="23.03"
PRETTY_NAME="openEuler 23.03"
ANSI_COLOR="0;31"
【问题复现步骤】
1. 安装包
yum install python3-supervisor -y
2. 启动服务
systemctl start supervisord.service
3. 查询服务状态
systemctl status supervisord.service
【预期结果】
服务启动成功
【实际结果】
服务启动失败
【附件信息】
Hi duanxuemin, 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: sig-python-modules, and any of the maintainers: @myeuler , @木得感情的openEuler机器人 , @yangzhao_kl , @caodongxia , @xu_ping
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
问题原因:python-supervisor提供的模块和服务名字均为supervisor,spec里创建路径和打包时均用%{name}宏(值为python-supervisor)来代替模块名supervisor,导致spec打包的路径为/var/log/python-supervisor,而服务启动检测的路径为/var/log/supervisor,rpm包未提供/var/log/supervisor路径所以报错找不到路径从而服务启动失败
修复方法:spec里定义modename为supervisor,用%{modname}宏替换之前的%{name}宏
@clerk_duan 请尽快回归验收
该issue在rc5回归
x86:
arm:
登录 后才可以发表评论