Project

General

Profile

Actions

action #106822

closed

New security settings for AppArmor/SELinux in SLE 15 SP4

Added by suntorytimed about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
2022-02-15
Due date:
% Done:

0%

Estimated time:

Description

Observation

openQA test in scenario sle-15-SP4-Online-Y-Staging-x86_64-minimal+base@64bit fails in
start_install

Test suite description

Maintainers: QE Core

Select a minimal textmode installation by starting with the default and unselecting all patterns except for "base" and "minimal". Not to be confused with the new system role "minimal" introduced with SLE15.

Reproducible

Fails since (at least) Build Y.75.3

Expected result

Last good: Y.74.1 (or more recent)

Further details

We have changed the way on how to setup a system with and without AppArmor/SELinux by introducing a configuration option in the installation summary (in Security -> Major Linux Security Module). If you want to not install AppArmor you now need to adjust this in the Security settings and unselecting the pattern shouldn't be required after that anymore. If you unselect the pattern though, you also have to deactivate the security setting in the installation overview.

Security Overview

Always latest result in this scenario: latest

Actions #1

Updated by suntorytimed about 2 years ago

Security Overview

Actions #2

Updated by JERiveraMoya about 2 years ago

  • Tags set to qe-yast-refinement
  • Project changed from openQA Tests to qe-yam
  • Category deleted (Bugs in existing tests)
  • Assignee set to JERiveraMoya
  • Target version set to Current
Actions #4

Updated by JERiveraMoya about 2 years ago

  • Tags deleted (qe-yast-refinement)
  • Status changed from New to In Progress
Actions #5

Updated by JERiveraMoya about 2 years ago

  • Status changed from In Progress to Feedback
Actions #7

Updated by JERiveraMoya about 2 years ago

  • Status changed from Feedback to Closed
Actions #8

Updated by dzedro about 2 years ago

  • Status changed from Closed to Workable

Great you fixed libyui part, who will fix non-libyui tests ? https://openqa.suse.de/tests/8299198#step/start_install/3
Your solution is to deactivate Major Linux Security Module, which is fine, but what is with default behavior when Apparmor is active.

Actions #9

Updated by suntorytimed about 2 years ago

When AppArmor is active, it should also install AppArmor. In that case unselecting AppArmor from the package installation is not a valid use case and will result in the error shown in the UI. The customer has now the chance to either add AppArmor back to the package proposal or deactivate AppArmor in the Security settings.

Actions #10

Updated by JERiveraMoya about 2 years ago

It was fixed with needle as well, https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/14301/files#diff-f1c2b23e1cfa0b45649eb10f42143a0c85e16d6f3590e8ff414ba363d82745a0R104 Just needed to set the setting when appropiated.

But the condition was overcomplicated in https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/14333/files#diff-f1c2b23e1cfa0b45649eb10f42143a0c85e16d6f3590e8ff414ba363d82745a0R106

IMO last PR should be reverted but Santiago will try to make it work (as far as I could sync with him, specifying in openQA the patterns via variable).

Actions #11

Updated by JERiveraMoya about 2 years ago

  • Status changed from Workable to In Progress
  • Assignee changed from JERiveraMoya to szarate

Assigning to Santi as agreed with him.
For the future we are working together in bring AutoYaST for create_hdd_ test suites, so we don't have to do double work.

Actions #12

Updated by ybonatakis about 2 years ago

@santi are you ok to close this. i have restarted only one job[0] and start_install passes but i dont think it is destructed any further

[0] https://openqa.suse.de/tests/8301124#next_previous

Actions #13

Updated by szarate about 2 years ago

ybonatakis wrote:

@santi are you ok to close this. i have restarted only one job[0] and start_install passes but i dont think it is destructed any further

[0] https://openqa.suse.de/tests/8301124#next_previous

All looks good, no further changes needed (other than reneedling for s390)

Actions #14

Updated by ybonatakis about 2 years ago

ybonatakis wrote:

@santi are you ok to close this. i have restarted only one job[0] and start_install passes but i dont think it is destructed any further

[0] https://openqa.suse.de/tests/8301124#next_previous

Done. i retriggered the previous one + https://openqa.suse.de/tests/8302190

Actions #15

Updated by ybonatakis about 2 years ago

s390 also good

Actions #16

Updated by JERiveraMoya about 2 years ago

  • Status changed from In Progress to Feedback
Actions #17

Updated by JERiveraMoya about 2 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF