03-filesystems.sh can't access a keyfile on a separate, encrypted /boot partition
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- linux, shell
調査の方向性
03-filesystems.sh の「Activating encrypted devices」付近と、その後の fstab のマウント手順から始めます。keyfile を使った独立した暗号化 /boot セットアップを再現し、アクティベーション前後でデバイスの可視性を比較します。keyfile が「Failed to open key file」という警告なしに見つかり、通常のファイルシステムのマウントも引き続き成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
In a setup where /boot is encrypted and placed onto completely separate encrypted disk, and keyfiles are used in crypttab, runit (03-filesystems.sh) tries to check the /boot partition for a keyfile but fails due to it not being mounted by dracut(initramfs) or anything else.
The cryptdevice of /boot partition is already opened in previous booting steps (I assume by grub), it's just isn't mounted yet, at the very end of 03-filesystems it reads fstab and mounts everything properly.
The end result is that I can see warnings during boot about "Failed to open key file.", but otherwise boot ends and mounts everything just fine.
I've added a couple of lsblk checks before "Activating encrypted devices" and after it, to show the point, and also show my configuration in this video:
https://fastupload.co/1097693
- 主要言語
- 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
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 60/100
-
Nmap
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
flang:fir-hlfir
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
llvm/llvm-project#225935 ·