5 Star 0 Fork 9

src-openEuler / python-supervisor

 / 详情

[23.03RC4][arm/x86] supervisord.service启动失败

已验收
缺陷
创建于  
2023-03-24 16:20

【环境信息】
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
【预期结果】
服务启动成功
【实际结果】
服务启动失败
【附件信息】
输入图片说明

评论 (5)

clerk_duan 创建了缺陷

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

openeuler-ci-bot 添加了
 
sig/sig-python-modul
标签
clerk_duan 负责人设置为caodongxia
clerk_duan 计划截止日期设置为2023-03-25
clerk_duan 计划开始日期设置为2023-03-24
clerk_duan 优先级设置为主要
caodongxia 通过src-openeuler/python-supervisor Pull Request !6任务状态待办的 修改为已完成

问题原因: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}宏

该issue在rc5回归

clerk_duan 任务状态已完成 修改为已验收

登录 后才可以发表评论

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

搜索帮助