Bug ID | 1231252 |
---|---|
Summary | [SELinux] macros.selinux-policy relabels during build, which causes issues when building custom modules |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Security |
Assignee | security-team@suse.de |
Reporter | cathy.hu@suse.com |
QA Contact | security-team@suse.de |
Target Milestone | --- |
Found By | --- |
Blocker | --- |
Issue in SLM6.0 + 6.1 flatpak build: [ 69s] error: selabel_open: (/etc/selinux/targeted/contexts/files/file_contexts) No such file or directory [ 69s] error: Plugin selinux: hook tsm_pre failed https://build.suse.de/package/live_build_log/SUSE:ALP:Source:Standard:1.0:Staging:adi:5/flatpak/standard/aarch64 the packages would either need to have - selinux-policy-targeted as BuildRequires - or we disable the relabelling macros during the build - or the build projects always sets selinux-policy-targeted as preinstall