Merge pull request #1537 from flatcar-linux/kai/rewrite-bugfix-changelog

changelog: rewrite entry for PR 1502
This commit is contained in:
Kai Lüke 2022-01-03 16:04:52 +01:00 committed by GitHub
commit 86d4eab14a
2 changed files with 11 additions and 12 deletions

View File

@ -9,9 +9,17 @@ into the repository. The changes are essentially divided into 4 categories:
Based on the category the PR falls into create a new file in the respective
directory with the filename format `YYYY-MM-DD-<few-words-about-the-change>.md`
(can be generated via: `$(date '+%Y-%m-%d')-<few-words-about-the-change>.md`)
(can be generated via: `$(date '+%Y-%m-%d')-<few-words-about-the-change>.md`).
The file should contain a markdown bullet point entry (`- TEXT...`).
The contents of the file should describe the changes in an elaborative manner
Example for the bugfix section:
```
- The Torcx profile `docker-1.12-no` got fixed to reference the current Docker version instead of 19.03 which wasn't found on the image, causing Torcx to fail to provide Docker [PR#1456](https://github.com/flatcar-linux/coreos-overlay/pull/1456)
```
The contents of the file should describe the changes in a concise manner,
and only contain information relevant for the end users.
(use the past tense for the change/bugfix description to avoid confusion with
the imperative voice for actions the user should do as a result). Security
fixes of upstream packages and package updates can be kept short in most cases

View File

@ -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))