Bug 9553 - [Anolis23][x86_64/aarch64]ECS重启后有systemd-sysv-generator相关异常warn信息
Summary: [Anolis23][x86_64/aarch64]ECS重启后有systemd-sysv-generator相关异常warn信息
Status: NEW
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.1
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: gaochang
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-18 14:20 UTC by Banana
Modified: 2024-07-19 10:26 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Banana alibaba_cloud_group 2024-07-18 14:20:50 UTC
[问题描述]
Anolis23 ECS环境重启后有warn信息

x86:
[Thu Jul 18 13:46:37 2024] systemd-sysv-generator[471]: SysV service '/etc/rc.d/init.d/ecs_mq-service' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.

arm:
[Thu Jul 18 14:06:09 2024] systemd-sysv-generator[448]: SysV service '/etc/rc.d/init.d/ecs_mq-service' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[Thu Jul 18 14:06:09 2024] systemd[1]: Configuration file /etc/systemd/system/cloudmonitor.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[Thu Jul 18 14:06:09 2024] systemd[1]: /etc/systemd/system/cloudmonitor.service:8: Unit uses KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update the service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.

[环境信息]:
机器类型:
x86:ecs.g7.2xlarge
arm:ecs.g6r.xlarge

[测试环境内核信息]:
[root@localhost ~]# uname -r
5.10.134-14.1.an23.aarch64


[测试环境操作系统信息]:
[root@localhost ~]# cat /etc/os-release
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"


[问题发生概率]:
必现

[复现步骤]:
1、在Anolis23环境重启系统
2、执行dmesg -l warn -T命令,查看输出