Project

General

Profile

action #92107

coordination #71242: [epic] Unify validation in the installed system

Validate encryption when the partition is not mounted

Added by JERiveraMoya 5 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Target version:
SUSE QA - SLE 15 SP3
Start date:
2021-05-04
Due date:
% Done:

0%

Estimated time:

Description

We cannot apply validate_encrypt module in autoyast_resize_luks2 scenario 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 works when is not mounted and was used before 'tests/console/validate_file_system.pm' is deleted in #91755:

validate_script_output "cryptsetup luksDump /dev/$_->{partition}",
               sub { m/Version:\s+$luks_type.*/s };

Task

  1. Adjust autoyast profile to mount resized LUKS2 partition;
  2. Add validate_encrypt module.

History

#1 Updated by JERiveraMoya 5 months ago

  • Tracker changed from coordination to action

#2 Updated by JERiveraMoya 5 months ago

  • Description updated (diff)

#3 Updated by JERiveraMoya 5 months ago

  • Description updated (diff)

#4 Updated by oorlov 5 months ago

  • Description updated (diff)

#5 Updated by oorlov 5 months ago

  • Status changed from New to Workable

#6 Updated by syrianidou_sofia 5 months ago

  • Status changed from Workable to In Progress
  • Assignee set to syrianidou_sofia

#7 Updated by syrianidou_sofia 4 months ago

  • Status changed from In Progress to Feedback

#8 Updated by syrianidou_sofia 4 months ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF