Project

General

Profile

Actions

action #169591

open

action #166613: Yast default selected LSM changes from Apparmor to SELinux, existing openQA test fails in first_boot

[qe-core] Introduce selinux_* methods in version_utils

Added by szarate about 1 month ago. Updated 14 days ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Refactor/Code Improvements
Start date:
2024-11-08
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Motivation

From: https://progress.opensuse.org/issues/168703#note-3

IMO there should be something in version_utils that returns whether SELinux is enabled by default. If needed with some more primitives on top like selinux_is_active and selinux_needs_to_be_enabled.

Suggestions:

Selinux is enabled by default in:

Acceptance criteria

  • Add unit tests when adding the helper functions as necessary
  • Adapt transactional/enable_selinux and installation/enable_selinux as necessary
  • Keep qe-security in the loop
Actions #1

Updated by szarate about 1 month ago

  • Subject changed from [qe-core] Introduce selinux_* methods to [qe-core] Introduce selinux_* methods in version_utils
Actions #2

Updated by szarate about 1 month ago

  • Description updated (diff)
Actions #3

Updated by szarate about 1 month ago

  • Tags changed from platform-team to platform-team, qe-core-december-sprint
  • Description updated (diff)
Actions #4

Updated by szarate about 1 month ago

  • Parent task set to #166613
Actions #8

Updated by szarate 14 days ago

I need to check status of selinux enablement

Actions

Also available in: Atom PDF