13 Star 9 Fork 93

src-openEuler/systemd

 / 详情

[21.09]systemd-localed服务启动失败

已验收
缺陷
创建于  
2021-08-17 21:46

【环境信息】
软件信息:
1) OS版本及分支:21.09
2) 内核信息:5.10.0-5.3.0.18.oe1.x86_64
3) 发现问题的组件版本信息:systemd-248-8.oe1.x86_64
【问题复现步骤】
systemctl start systemd-localed
systemctl status systemd-localed
【预期结果】
服务启动成功
【实际结果】
服务启动失败
【附件信息】
输入图片说明
输入图片说明

附件
messages(1.30 MB)下载
ga_beng_cui 2021-08-23 17:32
ga_beng_cui 2021-08-23 17:43

评论 (3)

ga_beng_cui 创建了缺陷
ga_beng_cui 负责人设置为Mingtai
ga_beng_cui 计划开始日期设置为2021-08-17
ga_beng_cui 计划截止日期设置为2021-08-18
ga_beng_cui 优先级设置为主要
ga_beng_cui 关联仓库设置为src-openEuler/systemd
展开全部操作日志

Hey ga_beng_cui, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

openeuler-ci-bot 添加了
 
sig/Base-service
标签

原因是高版本systemd代码中切换security_getenforce()接口==>map映射 SELinux states page来获取selinux的状态,这样做可以节省系统调用。
但是Selinux不允许systemd这样做,需要selinux做一定适配。
目前github社区和fedora的selinux已提供方案允许systemd map操作,selinux已同意修改。
确认issue关闭,在selinux-policy提issue跟踪。

相关链接
systemd 切换/引入SELinux status Pages
https://github.com/systemd/systemd/pull/16821
https://github.com/systemd/systemd/pull/17479/commits/ab278cd3eb1a2badd4b11f41abd79311988fb791

SELinuxProject/refpolicy 允许systemd map SELinux status Pages
https://github.com/SELinuxProject/refpolicy/pull/308

fedora-selinux/selinux-policy 允许systemd map SELinux status Pages
https://github.com/fedora-selinux/selinux-policy/pull/464

Mingtai 任务状态待办的 修改为已完成
ga_beng_cui 修改了描述
ga_beng_cui 上传了附件messages
ga_beng_cui 上传了附件journalctl_log

使用最新版本已验证,无此问题
输入图片说明

ga_beng_cui 任务状态已完成 修改为已验收

登录 后才可以发表评论

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

搜索帮助

A270a887 8829481 3d7a4017 8829481