Bug 50589

Summary: Не прописывается зашифрованный раздел swap в /etc/crypttab
Product: Sisyphus Reporter: Антон Мидюков <antohami>
Component: installer-common-stage2Assignee: Антон Мидюков <antohami>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: antohami, boyarsh, klark, mike, rider, sem
Version: unstable   
Hardware: all   
OS: Linux   
See Also: https://bugzilla.altlinux.org/show_bug.cgi?id=50557

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