Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:Rancher:Elemental:PR:rancher:elemental:PR-1410
SL-Micro-k3s-selinux-container
_service:obs_scm:10_selinux.yaml
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:10_selinux.yaml of Package SL-Micro-k3s-selinux-container
# Default Elemental OEM configuration file # # This file is part of Elemental and will get reset during upgrades. # # Before you change this file manually, # consider copying this file to /usr/local/cloud-config or # copy the file with a prefix starting by 90, e.g. /oem/91_custom.yaml name: "SELinux" stages: initramfs: - name: "SELinux labels for targeted policy" commands: - | contexts="/etc/selinux/targeted/contexts/files/file_contexts" if grep -qw selinux /sys/kernel/security/lsm && [ -e "${contexts}" ]; then # Some extended attributes are lost on copy-up bsc#1210690. # Workaround visit children first, then parents mkdir -p /run/systemd/relabel-extra.d/ for path in /etc /srv /oem /home /root /opt /usr/libexec /usr/local; do if [ -d "${path}" ]; then find ${path} -depth -exec /sbin/setfiles -i -F -v "${contexts}" \{\} + echo "${path}" >> /run/systemd/relabel-extra.d/layout.relabel fi done fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor