登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
轻量养虾,开箱即用!低 Token + 稳定算力,Gitee & 模力方舟联合出品的 PocketClaw 正式开售!点击了解详情
代码拉取完成,页面将自动刷新
仓库状态说明
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
15
Star
11
Fork
109
src-openEuler
/
systemd
关闭
代码
Issues
9
Pull Requests
2
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
开发画像分析
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
systemd-shutdown卡住,无法重启
已完成
#I99ZRS
缺陷
胡宇彪
创建于
2024-03-20 11:16
**【标题描述】能够简要描述问题:** 1、服务器使用了软RAID组成的RAID1作为系统盘 2、系统盘分区使用了lvm卷; 3、灌装系统完成后,执行reboot命令,重启卡主,无法重启! **一、缺陷信息** **内核信息:** 5.10.0-136.55.0.134.oe2203sp1.x86_64 **缺陷归属组件:** systemd **缺陷归属的版本:** **缺陷简述:** 1、服务器使用了软RAID组成的RAID1作为系统盘 2、系统盘分区使用了lvm卷; 3、灌装系统完成后,执行reboot命令,重启卡主,无法重启! 4、上图所示为reboot过程中卡主的进程的栈信息,以及lsof -p pid的信息; 经过对比,社区的发布版本ISO,默认文件系统ext4,不会存在reboot卡主的问题;当文件系统为xfs时,必现此问题! **【环境信息】** 硬件信息 - 裸机场景请提供问题的硬件信息 - 虚拟机场景请提供虚拟机的XML文件或配置信息 软件信息 - OS版本及分支信息 - 内核信息 - 发现问题的组件版本信息 网络信息 - 如果有特殊组网,请提供网络拓扑信息 **【问题复现步骤】**,请描述具体的操作步骤 **【实际结果】**,请描述出问题的结果和影响 **【其他相关附件信息】** 比如系统message日志/组件日志、dump信息、图片等 ``` [ OK ] Reached target System Reboot. [ 282.844197][ T1] systemd-shutdown[1]: Syncing filesystems and block devices. [ 283.029221][ T1] systemd-shutdown[1]: Sending SIGTERM to remaining processes... [ 283.045403][ T1274] systemd-journald[1274]: Received SIGTERM from PID 1 (systemd-shutdow). [ 283.054817][ T1] systemd-shutdown[1]: Sending SIGKILL to remaining processes... [ 283.068835][ T1] systemd-shutdown[1]: Unmounting file systems. [ 283.075475][ T2586] [2586]: Remounting '/' read-only in with options 'seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota'. [ 283.327785][ T1] systemd-shutdown[1]: All filesystems unmounted. [ 283.334052][ T1] systemd-shutdown[1]: Deactivating swaps. [ 283.339730][ T1] systemd-shutdown[1]: All swaps deactivated. [ 283.345652][ T1] systemd-shutdown[1]: Detaching loop devices. [ 283.351751][ T1] systemd-shutdown[1]: All loop devices detached. [ 283.358019][ T1] systemd-shutdown[1]: Stopping MD devices. [ 283.364168][ T1] systemd-shutdown[1]: Stopping MD /dev/md127 (9:127). [ 283.370879][ T1] md: md127 stopped. [ 283.388346][ T1] systemd-shutdown[1]: Stopping MD /dev/md126p2 (259:1). [ 283.417348][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126p2: Device or resource busy [ 283.426139][ T1] systemd-shutdown[1]: Stopping MD /dev/md126p1 (259:0). [ 283.433017][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126p1: Device or resource busy [ 283.441793][ T1] systemd-shutdown[1]: Stopping MD /dev/md126 (9:126). [ 283.448492][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126: Device or resource busy [ 283.457097][ T1] systemd-shutdown[1]: Not all MD devices stopped, 3 left. [ 283.464141][ T1] systemd-shutdown[1]: Detaching DM devices. [ 283.470321][ T1] systemd-shutdown[1]: Detaching DM /dev/dm-2 (253:2). [ 283.499685][ T1] device-mapper: ioctl: systemd-shutdow[1]: dm-2 (openeuler-home) is removed successfully [ 283.518305][ T1] systemd-shutdown[1]: Detaching DM /dev/dm-1 (253:1). [ 283.543425][ T1] device-mapper: ioctl: systemd-shutdow[1]: dm-1 (openeuler-swap) is removed successfully [ 283.561298][ T1] systemd-shutdown[1]: Not all DM devices detached, 1 left. [ 283.568591][ T1] systemd-shutdown[1]: Stopping MD devices. [ 283.574671][ T1] systemd-shutdown[1]: Stopping MD /dev/md126p2 (259:1). [ 283.595581][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126p2: Device or resource busy [ 283.604363][ T1] systemd-shutdown[1]: Stopping MD /dev/md126p1 (259:0). [ 283.611238][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126p1: Device or resource busy [ 283.620013][ T1] systemd-shutdown[1]: Stopping MD /dev/md126 (9:126). [ 283.626713][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126: Device or resource busy [ 283.635318][ T1] systemd-shutdown[1]: Not all MD devices stopped, 3 left. [ 283.642365][ T1] systemd-shutdown[1]: Detaching DM devices. [ 283.648336][ T1] systemd-shutdown[1]: Not all DM devices detached, 1 left. [ 283.655470][ T1] systemd-shutdown[1]: Cannot finalize remaining DM devices, MD devices, continuing. [ 284.813251][ T1] systemd-shutdown[1]: Successfully changed into root pivot. [ 284.820474][ T1] systemd-shutdown[1]: Returning to initrd... [ 284.849892][ T255] audit: type=1400 audit(1706034378.444:131): avc: denied { nosuid_transition } for pid=2613 comm="shutdown" scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:mdadm_t:s0 tclass=process2 permissive=0 [ 284.857551][ T1] dracut: Taking over mdmon processes. [ 284.870553][ T255] audit: type=1401 audit(1706034378.444:131): op=security_bounded_transition seresult=denied oldcontext=system_u:system_r:init_t:s0 newcontext=system_u:system_r:mdadm_t:s0 [ 284.875969][ T1] dracut Warning: Killing all remaining processes dracut Warning: Killing all remaining processes [ 285.133345][ T2637] XFS (dm-0): Unmounting Filesystem [ 375.121083][ T1] dracut Warning: Unmounting /oldroot timed out. dracut Warning: Unmounting /oldroot timed out. [ 375.142273][ T2641] dracut: Disassembling device-mapper devices [ 375.152087][ T2646] dracut: Waiting for mdraid devices to be clean. ``` **缺陷详情参考链接:** https://e.gitee.com/open_euler/dashboard?issue=I8PFAG **缺陷分析指导链接:**
**【标题描述】能够简要描述问题:** 1、服务器使用了软RAID组成的RAID1作为系统盘 2、系统盘分区使用了lvm卷; 3、灌装系统完成后,执行reboot命令,重启卡主,无法重启! **一、缺陷信息** **内核信息:** 5.10.0-136.55.0.134.oe2203sp1.x86_64 **缺陷归属组件:** systemd **缺陷归属的版本:** **缺陷简述:** 1、服务器使用了软RAID组成的RAID1作为系统盘 2、系统盘分区使用了lvm卷; 3、灌装系统完成后,执行reboot命令,重启卡主,无法重启! 4、上图所示为reboot过程中卡主的进程的栈信息,以及lsof -p pid的信息; 经过对比,社区的发布版本ISO,默认文件系统ext4,不会存在reboot卡主的问题;当文件系统为xfs时,必现此问题! **【环境信息】** 硬件信息 - 裸机场景请提供问题的硬件信息 - 虚拟机场景请提供虚拟机的XML文件或配置信息 软件信息 - OS版本及分支信息 - 内核信息 - 发现问题的组件版本信息 网络信息 - 如果有特殊组网,请提供网络拓扑信息 **【问题复现步骤】**,请描述具体的操作步骤 **【实际结果】**,请描述出问题的结果和影响 **【其他相关附件信息】** 比如系统message日志/组件日志、dump信息、图片等 ``` [ OK ] Reached target System Reboot. [ 282.844197][ T1] systemd-shutdown[1]: Syncing filesystems and block devices. [ 283.029221][ T1] systemd-shutdown[1]: Sending SIGTERM to remaining processes... [ 283.045403][ T1274] systemd-journald[1274]: Received SIGTERM from PID 1 (systemd-shutdow). [ 283.054817][ T1] systemd-shutdown[1]: Sending SIGKILL to remaining processes... [ 283.068835][ T1] systemd-shutdown[1]: Unmounting file systems. [ 283.075475][ T2586] [2586]: Remounting '/' read-only in with options 'seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota'. [ 283.327785][ T1] systemd-shutdown[1]: All filesystems unmounted. [ 283.334052][ T1] systemd-shutdown[1]: Deactivating swaps. [ 283.339730][ T1] systemd-shutdown[1]: All swaps deactivated. [ 283.345652][ T1] systemd-shutdown[1]: Detaching loop devices. [ 283.351751][ T1] systemd-shutdown[1]: All loop devices detached. [ 283.358019][ T1] systemd-shutdown[1]: Stopping MD devices. [ 283.364168][ T1] systemd-shutdown[1]: Stopping MD /dev/md127 (9:127). [ 283.370879][ T1] md: md127 stopped. [ 283.388346][ T1] systemd-shutdown[1]: Stopping MD /dev/md126p2 (259:1). [ 283.417348][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126p2: Device or resource busy [ 283.426139][ T1] systemd-shutdown[1]: Stopping MD /dev/md126p1 (259:0). [ 283.433017][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126p1: Device or resource busy [ 283.441793][ T1] systemd-shutdown[1]: Stopping MD /dev/md126 (9:126). [ 283.448492][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126: Device or resource busy [ 283.457097][ T1] systemd-shutdown[1]: Not all MD devices stopped, 3 left. [ 283.464141][ T1] systemd-shutdown[1]: Detaching DM devices. [ 283.470321][ T1] systemd-shutdown[1]: Detaching DM /dev/dm-2 (253:2). [ 283.499685][ T1] device-mapper: ioctl: systemd-shutdow[1]: dm-2 (openeuler-home) is removed successfully [ 283.518305][ T1] systemd-shutdown[1]: Detaching DM /dev/dm-1 (253:1). [ 283.543425][ T1] device-mapper: ioctl: systemd-shutdow[1]: dm-1 (openeuler-swap) is removed successfully [ 283.561298][ T1] systemd-shutdown[1]: Not all DM devices detached, 1 left. [ 283.568591][ T1] systemd-shutdown[1]: Stopping MD devices. [ 283.574671][ T1] systemd-shutdown[1]: Stopping MD /dev/md126p2 (259:1). [ 283.595581][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126p2: Device or resource busy [ 283.604363][ T1] systemd-shutdown[1]: Stopping MD /dev/md126p1 (259:0). [ 283.611238][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126p1: Device or resource busy [ 283.620013][ T1] systemd-shutdown[1]: Stopping MD /dev/md126 (9:126). [ 283.626713][ T1] systemd-shutdown[1]: Could not stop MD /dev/md126: Device or resource busy [ 283.635318][ T1] systemd-shutdown[1]: Not all MD devices stopped, 3 left. [ 283.642365][ T1] systemd-shutdown[1]: Detaching DM devices. [ 283.648336][ T1] systemd-shutdown[1]: Not all DM devices detached, 1 left. [ 283.655470][ T1] systemd-shutdown[1]: Cannot finalize remaining DM devices, MD devices, continuing. [ 284.813251][ T1] systemd-shutdown[1]: Successfully changed into root pivot. [ 284.820474][ T1] systemd-shutdown[1]: Returning to initrd... [ 284.849892][ T255] audit: type=1400 audit(1706034378.444:131): avc: denied { nosuid_transition } for pid=2613 comm="shutdown" scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:mdadm_t:s0 tclass=process2 permissive=0 [ 284.857551][ T1] dracut: Taking over mdmon processes. [ 284.870553][ T255] audit: type=1401 audit(1706034378.444:131): op=security_bounded_transition seresult=denied oldcontext=system_u:system_r:init_t:s0 newcontext=system_u:system_r:mdadm_t:s0 [ 284.875969][ T1] dracut Warning: Killing all remaining processes dracut Warning: Killing all remaining processes [ 285.133345][ T2637] XFS (dm-0): Unmounting Filesystem [ 375.121083][ T1] dracut Warning: Unmounting /oldroot timed out. dracut Warning: Unmounting /oldroot timed out. [ 375.142273][ T2641] dracut: Disassembling device-mapper devices [ 375.152087][ T2646] dracut: Waiting for mdraid devices to be clean. ``` **缺陷详情参考链接:** https://e.gitee.com/open_euler/dashboard?issue=I8PFAG **缺陷分析指导链接:**
评论 (
1
)
登录
后才可以发表评论
状态
已完成
待办的
已挂起
修复中
已确认
已完成
已验收
已取消
负责人
未设置
标签
sig/Base-service
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (
-
)
标签 (
-
)
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(2)
1
https://gitee.com/src-openeuler/systemd.git
git@gitee.com:src-openeuler/systemd.git
src-openeuler
systemd
systemd
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册