FDE guide: Use UUID instead of `/dev/sda*` in crypttab

オープン
#662 コメント 3 件 リアクション 4 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
linux

調査の方向性

Issue でリンクされている FDE ガイドのセクションから始め、その /etc/crypttab の例を確認してください。参照されている /usr/lib/dracut/modules.d/90crypt の dracut モジュールを調べて、サポートされている UUID 構文を確認します。その後、決定論的なデバイス識別子を使用するように例を更新し、ガイドの文言に一貫性があることを確認してください。

索引モデルが issue の本文から書いたものです。

説明

The FDE guide here currently shows the following example /etc/crypttab:

voidvm   /dev/sda1   /boot/volume.key   luks

This should be changed to using the UUID of the encrypted device/partition, as the device file names dev/sdx are not deterministic.

Some user on #voidlinux just had an issue where the key file in the initramfs would sometimes not be picked up, and they were asked to enter a passphrase instead. I think this might be because they had /dev/sda1 in their /etc/crypttab like the guide suggests. They reported that using /dev/disk/by-uuid/* worked.

I think dracut also understands some other syntax like UUID=... and even luks-..., but I'm not sure which one is best/correct here. I think the relevant dracut module is /usr/lib/dracut/modules.d/90crypt.

主要言語
CSS
スター
217
フォーク
212
平均マージ
2日 21時間
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

void-linux/void-docs のほかの issue

void-linux/void-docs の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。