Bug 50589 - Не прописывается зашифрованный раздел swap в /etc/crypttab
Summary: Не прописывается зашифрованный раздел swap в /etc/crypttab
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: installer-common-stage2 (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: Антон Мидюков
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-10 06:41 MSK by Антон Мидюков
Modified: 2024-06-10 11:48 MSK (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Антон Мидюков 2024-06-10 06:41:35 MSK
Скрипт /usr/share/install2/preinstall.d/08-crypttab.sh не прописывает раздел swap в /etc/crypttab. В результате раздел swap не расшифровывается в процессе загрузки ни в initrd, ни в загруженной системе.
Также, если корень не зашифрован, а зашифрован только swap, то фича luks не добавляется в /etc/initrd.mk
Comment 1 Repository Robot 2024-06-10 11:48:43 MSK
installer-1.15.7-alt1 -> sisyphus:

 Mon Jun 10 2024 Anton Midyukov <antohami@altlinux> 1.15.7-alt1
 - preinstall.d/08-crypttab.sh: add lsblk for get MAJ:MIN of devices
   (Closes: 50589)
 - preinstall.d/08-crypttab.sh: add luks feature to initrd, if swap on luks