Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
15
Star
11
Fork
109
src-openEuler
/
systemd
Closed
Code
Issues
9
Pull Requests
2
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
systemctl提示超时
Done
#I9PDCZ
Bug
徐昆11
Opened this issue
2024-05-15 09:54
**【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)** **一、缺陷信息** **内核信息:** 5.10.0-136.24.0.100.oe2203sp1.x86 64 **缺陷归属组件:** systemd **缺陷归属的版本:** systemd-249-44-oe2203sp1.x86_64 **缺陷简述:** # 现象 # sshd服务无法启动 如下所示,现场部分同事反馈sshd服务无法启动 【systemctl status sshd】 Failed to get properties: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms), load.275/537856223 # systemctl 经过确认,不光是sshd服务,整个systemctl ,都无法使用! Failed to list units: Connection timed out # dmesg日志 【dmesg | grep seg】 [8811790.129826] traps: python[102982] trap stack segment ip:7f25718c3574 sp:7ffcbdab70f0 error:0 in libpython2.7.so.1.0[7f25717 [9106268.080669]s]systemd[1]: segfault at 18 ip 00007fec81a3d041 sp 00007ffe92037200 error 4 in libc.so.6[7fec819d2000+171000] # 内核日志 May 14 03:03:14 localhost kernel: [9106268.080669] systemd[1]: segfault at 18 ip 00007fec81a3d041 sp 00007ffe92037200 error 4 in libc.so.6[7fec819d2000+171000] May 14 03:03:14 localhost kernel: [9106268.080719] Code: 08 00 0f 1f 80 00 00 00 00 48 83 ec 08 48 8b 4f 08 48 89 c8 48 83 e0 f8 48 3b 04 07 0f 85 91 00 00 00 48 8b 47 10 48 8b 57 18 <48> 3b 78 18 75 69 48 3b 7a 10 75 63 48 89 50 18 48 89 42 10 48 81 # busctl  如上图所示,和正常的busctl返回相比,这个截图中,缺少了"org.freedesktop.systemd11 systemdroot:1.2520init.scope",如下图!  # pstack 1  根据上图第二行反馈的信息可以看出,此时,systemd依然崩溃! # coredump文件 经确认,系统在/目录下生成了/core-systemd-146247-1715626994.dmp文件 # coredumpctl确认 # coredumpctl info # Failed to check if any systemd-coredump@.service units are running: Connection timed outNo match found. 当重启服务器后,再次执行指令 #coredumpctl info  # gdb解析此文件  # 文件属性 # file core-systemd-146247-1715626994.dmp core-systemd-146247-1715626994.dmp: ELF 64-bit LSB core file, x86-64, version 1 (SYSV), SVR4-style, from '/usr/lib/systemd/systemd --system --deserialize 25', real uid: 0, effective uid: 0, real gid: 0, effective gid: 0, execfn: '/usr/lib/systemd/systemd', platform: 'x86_64' **【环境信息】** 硬件信息 - 裸机场景请提供问题的硬件信息 - 虚拟机场景请提供虚拟机的XML文件或配置信息 软件信息 - OS版本及分支信息 - 内核信息 - 发现问题的组件版本信息 网络信息 - 如果有特殊组网,请提供网络拓扑信息 **【问题复现步骤】**,请描述具体的操作步骤 **【实际结果】**,请描述出问题的结果和影响 **【其他相关附件信息】** 比如系统message日志/组件日志、dump信息、图片等 **缺陷详情参考链接:** **缺陷分析指导链接:** https:xxx
**【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)** **一、缺陷信息** **内核信息:** 5.10.0-136.24.0.100.oe2203sp1.x86 64 **缺陷归属组件:** systemd **缺陷归属的版本:** systemd-249-44-oe2203sp1.x86_64 **缺陷简述:** # 现象 # sshd服务无法启动 如下所示,现场部分同事反馈sshd服务无法启动 【systemctl status sshd】 Failed to get properties: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms), load.275/537856223 # systemctl 经过确认,不光是sshd服务,整个systemctl ,都无法使用! Failed to list units: Connection timed out # dmesg日志 【dmesg | grep seg】 [8811790.129826] traps: python[102982] trap stack segment ip:7f25718c3574 sp:7ffcbdab70f0 error:0 in libpython2.7.so.1.0[7f25717 [9106268.080669]s]systemd[1]: segfault at 18 ip 00007fec81a3d041 sp 00007ffe92037200 error 4 in libc.so.6[7fec819d2000+171000] # 内核日志 May 14 03:03:14 localhost kernel: [9106268.080669] systemd[1]: segfault at 18 ip 00007fec81a3d041 sp 00007ffe92037200 error 4 in libc.so.6[7fec819d2000+171000] May 14 03:03:14 localhost kernel: [9106268.080719] Code: 08 00 0f 1f 80 00 00 00 00 48 83 ec 08 48 8b 4f 08 48 89 c8 48 83 e0 f8 48 3b 04 07 0f 85 91 00 00 00 48 8b 47 10 48 8b 57 18 <48> 3b 78 18 75 69 48 3b 7a 10 75 63 48 89 50 18 48 89 42 10 48 81 # busctl  如上图所示,和正常的busctl返回相比,这个截图中,缺少了"org.freedesktop.systemd11 systemdroot:1.2520init.scope",如下图!  # pstack 1  根据上图第二行反馈的信息可以看出,此时,systemd依然崩溃! # coredump文件 经确认,系统在/目录下生成了/core-systemd-146247-1715626994.dmp文件 # coredumpctl确认 # coredumpctl info # Failed to check if any systemd-coredump@.service units are running: Connection timed outNo match found. 当重启服务器后,再次执行指令 #coredumpctl info  # gdb解析此文件  # 文件属性 # file core-systemd-146247-1715626994.dmp core-systemd-146247-1715626994.dmp: ELF 64-bit LSB core file, x86-64, version 1 (SYSV), SVR4-style, from '/usr/lib/systemd/systemd --system --deserialize 25', real uid: 0, effective uid: 0, real gid: 0, effective gid: 0, execfn: '/usr/lib/systemd/systemd', platform: 'x86_64' **【环境信息】** 硬件信息 - 裸机场景请提供问题的硬件信息 - 虚拟机场景请提供虚拟机的XML文件或配置信息 软件信息 - OS版本及分支信息 - 内核信息 - 发现问题的组件版本信息 网络信息 - 如果有特殊组网,请提供网络拓扑信息 **【问题复现步骤】**,请描述具体的操作步骤 **【实际结果】**,请描述出问题的结果和影响 **【其他相关附件信息】** 比如系统message日志/组件日志、dump信息、图片等 **缺陷详情参考链接:** **缺陷分析指导链接:** https:xxx
Comments (
5
)
Sign in
to comment
Status
Done
Backlog
已挂起
Fixing
Confirmed
Done
Accepted
Canceled
Assignees
Not set
胡宇彪
huyubiao
Assignee
Collaborator
+Assign
+Mention
Labels
sig/Base-service
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(4)
1
https://gitee.com/src-openeuler/systemd.git
git@gitee.com:src-openeuler/systemd.git
src-openeuler
systemd
systemd
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register