From 75100727e7a83b2fa62378e081dafbe09d610cdc Mon Sep 17 00:00:00 2001 From: Kai Lueke Date: Mon, 3 Jan 2022 14:56:21 +0100 Subject: [PATCH] changelog: rewrite entry for PR 1502 The used changelog entry format in https://github.com/flatcar-linux/coreos-overlay/pull/1502 is not really useful for the release notes. This paragraph is good for the PR description or a commit message, but here should be a bullet point for the release notes. Replace the paragraph by a release notes bullet point. --- ...021-12-16-policycoreutils-fix-semodule-postinst.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/changelog/bugfixes/2021-12-16-policycoreutils-fix-semodule-postinst.md b/sdk_container/src/third_party/coreos-overlay/changelog/bugfixes/2021-12-16-policycoreutils-fix-semodule-postinst.md index 5dd37192db..0b37dfe269 100644 --- a/sdk_container/src/third_party/coreos-overlay/changelog/bugfixes/2021-12-16-policycoreutils-fix-semodule-postinst.md +++ b/sdk_container/src/third_party/coreos-overlay/changelog/bugfixes/2021-12-16-policycoreutils-fix-semodule-postinst.md @@ -1,10 +1 @@ -The policycoreutils ebuild calls semodule in postinst to update SELinux stores. -It does not, however, tells semodule the correct ROOT to use, so builds that go into /build/[arch]-usr end up updating the SDK's store. -This patch resolves the following error message: -``` -$ emerge-amd64-usr policycoreutils -[...] -libsemanage.semanage_commit_sandbox: Error while renaming /var/lib/selinux/targeted/active to /var/lib/selinux/targeted/previous. (Invalid cross-device link) -``` -The error is observed when using the SDK Container to build an OS image. -The `semanage` run in policycoreutilsi' `postinst` now also updates the correct store, which it previously did not. +- SDK: Fixed build error popping up in the new SDK Container because `policycoreutils` used the wrong ROOT to update the SELinux store ([PR#1502](https://github.com/flatcar-linux/coreos-overlay/pull/1502))