macOS: the socket directory is named "user", not the uid
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
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Start with the uid() helper, which reads /proc and so fails on macOS, and with the code that builds the Client–Daemon socket directory name from it. Switching that lookup to getuid() is the core change. The harder part is the upgrade path: decide how a Client finds an old-path Daemon once, either by checking both paths or by stopping the old Daemon. Done when the macOS socket sits under the uid and a Client started after an upgrade leaves no stale Daemon running.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
uid() reads /proc, which macOS doesn't have, so on macOS the Client–Daemon socket directory is …/T/singularity-user/ instead of using the uid. Harmless (macOS's $TMPDIR is private to the user), but worth fixing with getuid().
Care is needed: renaming the directory strands a running Daemon on the old path, so on the first start after an upgrade the Client must look on both paths (or stop the old Daemon) once.
Done when
- On macOS the socket lives under the uid
- A Client started after an upgrade leaves no stale Daemon running
- Ngôn ngữ chính
- Rust
- Star
- 0
- Fork
- 0
- Merge trung bình
- 3 giờ 30 phút
- Pull request đã merge (30 ngày)
- 25
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 publicusr/singularity
-
enhancement ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
publicusr/singularity#55 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
publicusr/singularity#17 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 28/100
publicusr/singularity#62 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Now playing as an iPod (idea)Đang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
publicusr/singularity#61 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
publicusr/singularity#60 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của publicusr/singularity
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
mufeedvh/code2prompt#355 ·
-
marketing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
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 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:3d effort:medium P7 source:agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
akitaonrails/ai-memory#2446 ·
Maintainer thường phản hồi trong vòng 1 ngày