Project

General

Profile

Actions

action #92107

closed

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

Validate encryption when the partition is not mounted

Added by JERiveraMoya over 3 years ago. Updated over 3 years 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.
Actions #1

Updated by JERiveraMoya over 3 years ago

  • Tracker changed from coordination to action
Actions #2

Updated by JERiveraMoya over 3 years ago

  • Description updated (diff)
Actions #3

Updated by JERiveraMoya over 3 years ago

  • Description updated (diff)
Actions #4

Updated by oorlov over 3 years ago

  • Description updated (diff)
Actions #5

Updated by oorlov over 3 years ago

  • Status changed from New to Workable
Actions #6

Updated by syrianidou_sofia over 3 years ago

  • Status changed from Workable to In Progress
  • Assignee set to syrianidou_sofia
Actions #7

Updated by syrianidou_sofia over 3 years ago

  • Status changed from In Progress to Feedback
Actions #8

Updated by syrianidou_sofia over 3 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF