OpenWRT in LXC: procd not respecting lxcfs bind mount.
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- c, linux
調査の方向性
まず OpenWrt LXC コンテナ内で cat /proc/meminfo と ubus call system info を比較し、次に procd の初期化パスと、/proc の読み取り方法を追跡します。lxcfs の bind mount が存在する状態で、procd がコンテナのメモリ、swap、uptime の値を報告すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Trying to figure out a path forward to get OpenWRT running in an LXC container on proxmox and have it report the correct memory/swap/uptime/etc values pulled from /proc.
see: https://www.reddit.com/r/Proxmox/comments/1gbgrky/openwrt_vm_memory_readings_waaaaay_off_and/ for the effect.
On the latest versions of proxmox, lxcfs should be automatically mounted to /proc in any container. I can see this when logged in to SSH because cat /proc/meminfo returns the values I'd expect to see in the contianer (2g ram) but ubus call system info reports the 92GB of my server.
I apologize, I'm not familiar with how this is put together, but I've been doing some digging through the code. I suspect that we're dealing with a race condition where procd is iniitalizing before the bind mount is complete, opening the file handle, and then keeping it open. I could be way off, though. Any assistance would be appreciated.
- 主要言語
- C
- スター
- 13
- フォーク
- 49
- 平均マージ
- 11日 12時間
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openwrt/procd のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
メンテナーはふだん 4 日以内に返信
-
watchdog: ping frequency can exceed the timeout the driver accepted対応中かも @thc1006 が 24 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 15/100
メンテナーはふだん 4 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 4 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 4 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 4 日以内に返信
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
FujiNetWIFI/fujinet-config#379 ·
メンテナーはふだん 1 日以内に返信
-
Ship /Local/Applications, the Local domain's Applications folder対応中かも @pkgdemon が今日担当しました。 オープンarea:base enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
nextbsd/nextbsd-userland#612 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
zephyrproject-rtos/zephyr#125543 ·
メンテナーはふだん 2 日以内に返信
-
good first issue needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
InauguralSystems/EigenScript#2347 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
colbymchenry/codegraph#3277 ·
メンテナーはふだん 1 日以内に返信