3 Star 0 Fork 1

src-anolis-sig/lifsea-systemd

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0577-units-order-user-runtime-dir-.service-after-systemd-.patch 1022 Bytes
一键复制 编辑 原始数据 按行查看 历史
From 1fa9a6bf51a1a1d0fa2ccc23283739d16e9179b4 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <[email protected]>
Date: Fri, 3 Aug 2018 10:42:09 +0200
Subject: [PATCH] units: order [email protected] after
systemd-user-sessions.service
We use systemd-user-sessions.service as barrier when to allow login
sessions. With this patch [email protected] is ordered after that too, so
that any login related code (which [email protected] is) is
guaranteed to run after the barrier, and never before.
(cherry picked from commit eb748aef4fbfd03b64938aa471bb8ceda1bc89a8)
Related: #1946453
---
units/[email protected] | 1 +
1 file changed, 1 insertion(+)
diff --git a/units/[email protected] b/units/[email protected]
index 13b3ed52f8..31354c9bf2 100644
--- a/units/[email protected]
+++ b/units/[email protected]
@@ -9,6 +9,7 @@
[Unit]
Description=/run/user/%i mount wrapper
+After=systemd-user-sessions.service
StopWhenUnneeded=yes
[Service]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-anolis-sig/lifsea-systemd.git
[email protected]:src-anolis-sig/lifsea-systemd.git
src-anolis-sig
lifsea-systemd
lifsea-systemd
lifsea

搜索帮助