No D-Bus activation file for org.freedesktop.secrets: outside GNOME nothing starts oo7-daemon
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- linux, rust
- Lĩnh vực
- authentication, desktop
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Rust
- Star
- 481
- Fork
- 62
- Merge trung bình
- 9 giờ 51 phút
- Pull request đã merge (30 ngày)
- 55
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của linux-credentials/oo7
-
NoNewPrivileges blocks CAP_IPC_LOCK for oo7-daemonCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởserver
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
linux-credentials/oo7#645 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
server
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
linux-credentials/oo7#685 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
question server
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
linux-credentials/oo7#642 · 8 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
question server
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
linux-credentials/oo7#614 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement server
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
linux-credentials/oo7#593 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của linux-credentials/oo7
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
pbakaus/impeccable#1620 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
swc-project/swc-next-issues#533 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
nautechsystems/nautilus_trader#5718 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`luvus --remote` cannot start on a host whose login shell is NushellCó thể đã có người làm @schlich đã nhận hôm nay. Đang mởstatus: needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 4 ngày