【环境信息】
cat /etc/openEuler-latest
openeulerversion=openEuler-22.03-LTS
compiletime=2022-02-15-17-30-36
gccversion=10.3.1-20210914.5.oe1
kernelversion=5.10.0-54.0.0.27.oe1
openjdkversion=1.8.0.312.b07-11.oe1
【问题复现步骤】
具体操作步骤
dnf install -y pcp
systemctl start pmie.service
systemctl status pmie.service
systemctl stop pmie.service
systemctl status pmie.service
出现概率(是否必现,概率性错误)
【预期结果】
服务stop之后状态为inactive
【实际结果】
服务stop之后状态为failed
Hi wenjunryou, 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: Application, and any of the maintainers: @small_leek , @jimmy_hero , @朱春意 , @惊奇脆片饼干 , @BigSkySea , @Alex_Chao
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
【验收环境】
cat /etc/openEuler-latest
openeulerversion=openEuler-22.03-LTS
compiletime=2022-02-25-07-53-11
gccversion=10.3.1-20220223.7.oe1
kernelversion=5.10.0-59.0.0.32.oe1
openjdkversion=1.8.0.312.b07-11.oe1
【验收结果】
服务stop成功,状态正常,验收通过
第四轮测试中发现该问题还存在
环境信息
cat /etc/openEuler-latest
openeulerversion=openEuler-22.03-LTS
compiletime=2022-03-12-09-10-52
gccversion=10.3.1-9.oe1
kernelversion=5.10.0-60.9.0.40.oe1
openjdkversion=1.8.0.312.b07-11.oe1
由于受设备的网络不同影响,pmie服务启动域名解析时间较长,立即stop服务导致start的工作未完成而失败。pmie启动会调用network(systemd-analyze critical-chain pmie.service可以查看从系统引导到服务启动起来的关系链),屏蔽掉nameserver,动态获取域名服务,可以stop成功。
结论:环境原因导致,非问题。
注释掉nameserver之后该问题没有出现
登录 后才可以发表评论