Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

03-filesystems.sh can't access a keyfile on a separate, encrypted /boot partition

Đang mở
#80 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
linux, shell
Lĩnh vực
operating-systems

Hướng nghiên cứu

Bắt đầu trong 03-filesystems.sh, ở phần xung quanh “Activating encrypted devices” và bước mount fstab ở phía sau. Tái hiện thiết lập /boot được mã hóa riêng biệt bằng một keyfile và so sánh khả năng hiển thị của thiết bị trước và sau khi kích hoạt. Hoàn tất khi tìm thấy keyfile mà không có cảnh báo “Failed to open key file” và việc mount hệ thống tệp thông thường vẫn thành công.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
C
Star
246
Fork
67
Merge trung bình
3 ngày 12 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của void-linux/void-runit

Tất cả issue của void-linux/void-runit

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.