macOS: the socket directory is named "user", not the uid
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Rust
- スター
- 0
- フォーク
- 0
- 平均マージ
- 3時間 30分
- マージ済み PR(30日)
- 25
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
publicusr/singularity のほかの issue
-
enhancement ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
publicusr/singularity#55 ·
メンテナーはふだん 1 日以内に返信
-
ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
publicusr/singularity#17 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
publicusr/singularity#62 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
publicusr/singularity#61 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
publicusr/singularity#60 ·
メンテナーはふだん 1 日以内に返信
publicusr/singularity の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
mufeedvh/code2prompt#355 ·
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
area:3d effort:medium P7 source:agent
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
akitaonrails/ai-memory#2446 ·
メンテナーはふだん 1 日以内に返信