-
Wed Dec 11 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.124.0-1
- update to 2.124.0
- Related: RHELPLAN-25139
-
Mon Dec 09 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.123.0-2
- 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-25139
-
Tue Nov 26 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.123.0-1
- update to 2.123.0
- Related: RHELPLAN-25139
-
Mon Nov 25 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.122.0-1
- update to 2.122.0
- Related: RHELPLAN-25139
-
Thu Nov 21 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.119.0-3.gita233788
- update to master container-selinux - bug 1769469
- Related: RHELPLAN-25139
-
Tue Nov 19 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.119.0-2
- fix post scriptlet - fail if semodule fails - bug 1729272
- Related: RHELPLAN-25139
-
Fri Nov 08 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.119.0-1
- update to 2.119.0
- Related: RHELPLAN-25139
-
Thu Oct 17 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.116-1
- update to 2.116
Resolves: #1748519
-
Tue Aug 13 2019 Jindrich Novy <jnovy@redhat.com> - 2:2.107-2
- Use at least selinux policy 3.14.3-9.el8,
Resolves: #1728700
-
Fri Jun 14 2019 Lokesh Mandvekar <lsm5@redhat.com> - 2:2.107-1
- Resolves: #1720654 - rebase to v2.107