Project

General

Profile

action #92107

Updated by JERiveraMoya almost 3 years ago

We cannot apply validate_encrypt in scenario autoyast_resize_luks2 module because there is no /etc/crypttab (possibly because the partition is not mounted). We should decide if mount the partition after installation or if worth to adapt the validation for this case, making the verification of the cryptab and other commands like the ones for restoring backups, optional. For now is not scheduled this module in this scenario. 

 This is the previous code which work when is not mounted used before #91755: 
 ``` 
 validate_script_output "cryptsetup luksDump /dev/$_->{partition}", 
                sub { m/Version:\s+$luks_type.*/s }; 
 ```

Back