No D-Bus activation file for org.freedesktop.secrets: outside GNOME nothing starts oo7-daemon
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 半天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- linux, rust
调研方向
Read the D-Bus and systemd files under server/data, especially the installed oo7-daemon.service and dbus-org.freedesktop.secrets.service alias. Check how those files are installed and compare them with the gnome-keyring activation file described in the issue. Done means the maintainers decide whether oo7 should ship a D-Bus activation file or leave session startup to distribution packaging.
由索引模型根据 Issue 内容生成。
描述
oo7 installs oo7-daemon.service and the alias dbus-org.freedesktop.secrets.service, but no org.freedesktop.secrets.service file in the D-Bus services directory (server/data on main has only the unit), so the alias is never used for activation. On Fedora 45 (oo7-daemon-0.7.0~beta-1.fc45) the unit is not enabled by preset either: the only thing that starts it is gnome-session, through gnome-session-services.target (Wants=oo7-daemon.service).
In any other session (niri, Sway, a text console) nothing starts the daemon:
$ secret-tool lookup service test
secret-tool: The name org.freedesktop.secrets was not provided by any .service files
gnome-keyring ships /usr/share/dbus-1/services/org.freedesktop.secrets.service, so on Fedora 44 the first client started the Secret Service in any session; after the update to 45, apps in a non-GNOME session have none.
Activation alone would not be enough for the login password, though: pam_oo7's login helper waits 120 seconds for the daemon, so a daemon started on first use later than that leaves the keyring locked. The session (or a preset) still has to start it early.
What I ship downstream (Margine OS, a Fedora Atomic image) for now:
# /usr/share/dbus-1/services/org.freedesktop.secrets.service
[D-BUS Service]
Name=org.freedesktop.secrets
Exec=/bin/false
SystemdService=dbus-org.freedesktop.secrets.service
plus Wants=oo7-daemon.service in a drop-in for niri.service.
Would you take a D-Bus service file like this in server/data, installed next to the systemd alias? Or is the intent that distributions enable oo7-daemon.service for every session? In that case it belongs to Fedora's packaging and I will report it there.
- 主要语言
- Rust
- 星标
- 481
- 派生
- 62
- 平均合并
- 9 小时 51 分钟
- 30 天内合并 PR
- 55
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
linux-credentials/oo7 的其他 Issue
-
NoNewPrivileges blocks CAP_IPC_LOCK for oo7-daemon可能重新可做 关联的 PR 已关闭且未合并。 未关闭server
难度 2/5 1-3 小时 新手友好度 67/100
linux-credentials/oo7#645 · 4 条评论 ·
维护者通常 1 天内回复
-
server
难度 4/5 3-5 天 新手友好度 48/100
linux-credentials/oo7#685 · 4 条评论 ·
维护者通常 1 天内回复
-
question server
难度 5/5 一周以上 新手友好度 20/100
linux-credentials/oo7#642 · 8 条评论 ·
维护者通常 1 天内回复
-
question server
难度 4/5 3-5 天 新手友好度 45/100
linux-credentials/oo7#614 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement server
难度 5/5 一周以上 新手友好度 25/100
linux-credentials/oo7#593 · 1 条评论 ·
维护者通常 1 天内回复
查看 linux-credentials/oo7 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
-
needs triage
难度 2/5 1-3 小时 新手友好度 76/100
pbakaus/impeccable#1620 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
swc-project/swc-next-issues#533 ·
-
bug
难度 2/5 1-3 小时 新手友好度 77/100
nautechsystems/nautilus_trader#5718 ·
维护者通常 1 天内回复
-
`luvus --remote` cannot start on a host whose login shell is Nushell可能已有人在做 @schlich 今天认领。 未关闭status: needs triage
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 4 天内回复