Runtime cache access failures expose a raw permission error to a second account
メンテナーはふだん 1 日以内に返信
@pheus がすでに取り組んでいます。
2026年10月23日 から。
評価
調査の方向性
Start by reproducing the failure with the web service and RQ worker running as different accounts, then trace the Script Run tab's source-loading path and the runtime cache-directory checks. Confirm the cache-specific diagnostic is reached for the second account and identifies the affected directory instead of exposing the raw permission error.
索引モデルが issue の本文から書いたものです。
説明
Plugin Version
v0.0.1
NetBox Version
v4.7.1
Python Version
3.12
Steps to Reproduce
- Run the web service and RQ worker as different accounts sharing
/tmp, withruntime_cache_rootunset. This differs from NetBox's shipped systemd setup, which uses one account and private temporary directories. - Upload a Script so the worker validates it and creates the runtime cache.
- Once the revision is active, open the Script's Run tab through the web service.
Expected Behavior
The plugin reports a clear runtime cache error identifying the affected directory, as it does for other cache access problems.
Observed Behavior
The Run tab reports "The Script could not be loaded from its source: [Errno 13] Permission denied: '/tmp/netbox-scripts/runtime-cache'".
Access fails before the plugin's cache-directory checks run for the second account, so the operator receives a raw source-loading error instead of the cache-specific diagnostic.
- 主要言語
- Python
- スター
- 8
- フォーク
- 0
- 平均マージ
- 11時間 35分
- マージ済み PR(30日)
- 20
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
netbox-community/netbox-scripts のほかの issue
-
app: scripts severity: medium status: backlog type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
netbox-community/netbox-scripts#83 ·
メンテナーはふだん 1 日以内に返信
-
app: scripts status: backlog type: documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
netbox-community/netbox-scripts#80 ·
メンテナーはふだん 1 日以内に返信
-
app: scripts severity: medium status: backlog type: bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
netbox-community/netbox-scripts#79 ·
メンテナーはふだん 1 日以内に返信
-
app: scripts severity: medium status: backlog type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
netbox-community/netbox-scripts#77 ·
メンテナーはふだん 1 日以内に返信
-
app: scripts severity: low status: backlog type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
netbox-community/netbox-scripts#76 ·
メンテナーはふだん 1 日以内に返信
netbox-community/netbox-scripts の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
pydantic/pydantic-ai#12091 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
CSS enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
pychess/pychess-variants#2448 ·
メンテナーはふだん 1 日以内に返信
-
Bump locked PyTensor so Apple clang 21 does not pass -ld64対応中かも @drbenvincent が今日担当しました。 オープンbug dev ops
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 2 日以内に返信
-
ai_p2 bug comp-datalake
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
ClickHouse/ClickHouse#128306 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信