core-services/03-filesystems.sh drops to emergency shell if root is read-only, even if this is desired behavior
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- shell
調査の方向性
/etc/core-services/03-filesystems.sh の 67 行目付近から始め、root ファイルシステムの再マウント失敗がどのように emergency_shell に到達するかを確認してください。提案されている /proc/cmdline の処理を確認し、読み取り専用の root が明示的に要求されていない場合は、既存の緊急時の動作を維持してください。読み取り専用の root が要求された場合に emergency shell へ移行しなくなり、通常の root ファイルシステムの失敗では引き続き移行することが完了の条件です。
索引モデルが issue の本文から書いたものです。
説明
Greetings!
I've been building a Void-ish system using a read-only squashfs root filesystem. Unfortunately, the script /etc/core-services/03-filesystems.sh, at line 67, drops to an emergency shell if root cannot be mounted read-write.
This makes sense for the majority of desktop and server use cases, but for some embedded devices and some desktops/servers, having a read-only rootfs makes sense.
Proposal: have core-services/03-filesystems.sh check if /proc/cmdline contains ro, or readonly, or ro=true, or some such string, to support a wider range of use cases.
My temporary solution is to just remove the || emergency_shell from line 67, but this is undesirable because I wish to stay as close to upstream as possible
- 主要言語
- C
- スター
- 245
- フォーク
- 67
- 平均マージ
- 2日
- マージ済み PR(30日)
- 2
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
void-linux/void-runit のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
void-linux/void-runit#135 · コメント 10 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
void-linux/void-runit#127 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
void-linux/void-runit#125 · コメント 4 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
void-linux/void-runit#120 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
void-linux/void-runit#119 · コメント 7 件 ·
void-linux/void-runit の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
NVIDIA/k8s-device-plugin#2061 · コメント 1 件 ·
-
task
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
vsanthanam/JBird#429 ·