| Name: | container-selinux | 
|---|---|
| Epoch: | 2 | 
| Version: | 2.124.0 | 
| Release: | 1.module+el8.1.1+5502+fbec5cc6 | 
| Architecture: | noarch | 
| Module: | container-tools:ol8:8010120200116121758:3ba8ebeb container-tools:ol8:8010120200326094405:f8993c42  | 
| Group: | Unspecified | 
| Size: | 45036 | 
| License: | GPLv2 | 
| RPM: | container-selinux-2.124.0-1.module+el8.1.1+5502+fbec5cc6.noarch.rpm | 
| Source RPM: | container-selinux-2.124.0-1.module+el8.1.1+5502+fbec5cc6.src.rpm | 
| Build Date: | Fri Feb 14 2020 | 
| Build Host: | jenkins-10-147-72-125-c5b73e7c-96b8-4432-82d0-e7725c1cde3d.appad1iad.osdevelopmeniad.oraclevcn.com | 
| Vendor: | Oracle America | 
| URL: | https://github.com/containers/container-selinux | 
| Summary: | SELinux policies for container runtimes | 
| Description: | SELinux policy modules for use with container runtimes.  | 
- update to 2.124.0 - Related: RHELPLAN-25138
- implement spec file refactoring by Zdenek Pytela, namely:
  Change the uninstall command in the %postun section of the specfile
  to use the 
. /etc/selinux/config 
_policytype= 
if [ -z "${_policytype}" ]; then 
  _policytype="targeted" 
fi 
if [ $1 -eq 0 ]; then 
  if [ "${SELINUXTYPE}" = "${_policytype}" ]; then 
    /usr/sbin/semodule -n -X 200 -s ${_policytype} -r macro which uses priority 200. &> /dev/null || : 
    /usr/sbin/selinuxenabled && /usr/sbin/load_policy || : 
  fi 
fi 
  Change the install command in the %post section if the specfile
  to use the 
. /etc/selinux/config 
_policytype= 
if [ -z "${_policytype}" ]; then 
  _policytype="targeted" 
fi 
if [ "${SELINUXTYPE}" = "${_policytype}" ]; then 
  /usr/sbin/semodule -n -s ${_policytype} -X 200 -i macro. 
  /usr/sbin/selinuxenabled && /usr/sbin/load_policy || : 
fi 
  Replace relabel commands with using the 
. /etc/selinux/config 
_policytype= 
if [ -z "${_policytype}" ]; then 
  _policytype="targeted" 
fi 
if /usr/sbin/selinuxenabled && [ "${SELINUXTYPE}" = "${_policytype}" ]; then 
  [ -f /var/lib/rpm-state/file_contexts.pre ] || cp -f /etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts /var/lib/rpm-state/file_contexts.pre 
fi 
  
. /etc/selinux/config 
_policytype= 
if [ -z "${_policytype}" ]; then 
  _policytype="targeted" 
fi 
if /usr/sbin/selinuxenabled && [ "${SELINUXTYPE}" = "${_policytype}" ]; then 
   if [ -f /var/lib/rpm-state/file_contexts.pre ]; then 
     /usr/sbin/fixfiles -C /var/lib/rpm-state/file_contexts.pre restore &> /dev/null 
     rm -f /var/lib/rpm-state/file_contexts.pre 
   fi 
fi 
  Change formatting so that the lines are vertically aligned
  in the %postun section.
  (https://github.com/containers/container-selinux/pull/85)
- Related: RHELPLAN-25138
  - update to 2.123.0 - Related: RHELPLAN-25138
- update to 2.122.0
- update to master container-selinux - bug 1769469
- fix post scriptlet - fail if semodule fails - bug 1729272
- update to 2.119.0
- update to 2.116, bug 1748519
- Use at least selinux policy 3.14.3-9.el8, Resolves: #1728700
- Resolves: #1720654 - rebase to v2.107