13 Star 9 Fork 91

src-openEuler / systemd

 / 详情

【22.03-LTS-SP3 RC2】【arm/x86】console-getty.service偶现启动失败

已取消
缺陷
创建于  
2023-12-13 17:03

【环境信息】
NAME="openEuler"
VERSION="22.03 (LTS-SP3)"
ID="openEuler"
VERSION_ID="22.03"
PRETTY_NAME="openEuler 22.03 (LTS-SP3)"
ANSI_COLOR="0;31"
软件信息:
systemd-249-57
【问题复现步骤】
systemctl start console-getty.service
systemctl stop console-getty.service
systemctl start console-getty.service
出现概率(是否必现,概率性错误):偶现
【预期结果】
服务启动成功
【实际结果】
服务启动偶现失败
输入图片说明

评论 (6)

zhangpanting 创建了缺陷

内核信息 解析失败

缺陷归属组件 解析失败

归属版本 解析失败

缺陷简述 解析失败

详情参考链接 解析失败

分析指导链接 解析失败

Hi zhangpanting, 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: Base-service, and any of the maintainers: @Monday , @syyhao , @谢志鹏 , @zhujianwei001 , @hexiaowen , @licunlong , @const , @xujing , @chenjiayi , @陈棋德

openeuler-ci-bot 添加了
 
sig/Base-service
标签
zhangpanting 计划截止日期设置为2023-12-14
zhangpanting 计划开始日期设置为2023-12-13
zhangpanting 计划截止日期2023-12-14 修改为2023-12-15
zhangpanting 优先级设置为次要
zhangpanting 修改了标题
zhangpanting 修改了描述

内核信息 解析失败

缺陷归属组件 解析失败

归属版本 解析失败

缺陷简述 解析失败

详情参考链接 解析失败

分析指导链接 解析失败

zhangpanting 负责人设置为zhaotianyang
xieminmin 负责人zhaotianyang 修改为wangyuhang

内核信息 解析失败

缺陷归属组件 解析失败

归属版本 解析失败

缺陷简述 解析失败

详情参考链接 解析失败

分析指导链接 解析失败

zhangpanting 修改了描述

【非问题】

1. console-getty.service根据手册描述本身是给容器使用的服务,无需手动启动它:

https://www.freedesktop.org/software/systemd/man/latest/systemd-getty-generator.html

If execution in a container environment is detected, it will instead enable console-getty.service for /dev/console, and container-getty@.service instances for additional container pseudo TTYs as requested by the container manager (see Container Interface). 

2. 手动启动失败原因:

虚拟机上开始时本身已经有一个agetty在运行,虚拟机上默认使用getty\@tty1.service启动agetty。再启动console-getty.service时会因为存在agetty程序存在冲突而失败。总的来说getty\@tty1.service和console-getty.service存在冲突不能同时启动。

zhangpanting 任务状态待办的 修改为已取消

登录 后才可以发表评论

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

搜索帮助