v5.0.6
This commit is contained in:
parent
61348fedda
commit
adfaf2861f
3 changed files with 73 additions and 1 deletions
|
@ -1,3 +1,60 @@
|
||||||
|
- commits:
|
||||||
|
- subject: Update layers/meta-balena to 3617c776ed31ef47429bb266d4276d63f19a2d58
|
||||||
|
hash: c1e584c4a10c5f6f70f9f58a4a19461543e33bd0
|
||||||
|
body: Update layers/meta-balena
|
||||||
|
footer:
|
||||||
|
Changelog-entry: Update layers/meta-balena to 3617c776ed31ef47429bb266d4276d63f19a2d58
|
||||||
|
changelog-entry: Update layers/meta-balena to 3617c776ed31ef47429bb266d4276d63f19a2d58
|
||||||
|
author: Self-hosted Renovate Bot
|
||||||
|
nested:
|
||||||
|
- commits:
|
||||||
|
- subject: "os-helpers-logging: replace broken container check"
|
||||||
|
hash: 2dc4f8eb88dc51304cca55498b4bd5ceb7127d98
|
||||||
|
body: >
|
||||||
|
Detecting whether the script is running in a PID namespace by
|
||||||
|
checking
|
||||||
|
|
||||||
|
`/proc/1/sched` does not work for newer kernels
|
||||||
|
|
||||||
|
(see https://github.com/systemd/systemd/pull/17917).
|
||||||
|
|
||||||
|
|
||||||
|
Properly detecting this is too cumbersome for a bash logging script,
|
||||||
|
|
||||||
|
see https://github.com/systemd/systemd/pull/17902, however, falling
|
||||||
|
|
||||||
|
back to the last check, that is, seeing if `/.dockerenv` exists is easy
|
||||||
|
|
||||||
|
enough and works for our use case.
|
||||||
|
|
||||||
|
|
||||||
|
This script will only be called from the hostOS, and the only case it is
|
||||||
|
|
||||||
|
called from a container is during HUP and the container is always a hostOS
|
||||||
|
|
||||||
|
image. So even though the interface chosen by moby, a file under /,
|
||||||
|
|
||||||
|
is a bad interface in general, it works fine for the specific limitations
|
||||||
|
|
||||||
|
of balenaOS.
|
||||||
|
|
||||||
|
|
||||||
|
Also, check for `/run/.containerenv` which is the equivalent interface
|
||||||
|
|
||||||
|
for podman for future proofing.
|
||||||
|
footer:
|
||||||
|
Change-type: patch
|
||||||
|
change-type: patch
|
||||||
|
Signed-off-by: Alex Gonzalez <alexg@balena.io>
|
||||||
|
signed-off-by: Alex Gonzalez <alexg@balena.io>
|
||||||
|
author: Alex Gonzalez
|
||||||
|
nested: []
|
||||||
|
version: meta-balena-5.0.6
|
||||||
|
title: ""
|
||||||
|
date: 2023-12-05T18:35:11.870Z
|
||||||
|
version: 5.0.6
|
||||||
|
title: ""
|
||||||
|
date: 2023-12-05T23:36:09.461Z
|
||||||
- commits:
|
- commits:
|
||||||
- subject: Update layers/meta-balena to 11ab946c68bc4245e2449ebf4765ecfc1c73831d
|
- subject: Update layers/meta-balena to 11ab946c68bc4245e2449ebf4765ecfc1c73831d
|
||||||
hash: 49f159cf7fbef334253aa1a42b3debe2d8811dd1
|
hash: 49f159cf7fbef334253aa1a42b3debe2d8811dd1
|
||||||
|
|
15
CHANGELOG.md
15
CHANGELOG.md
|
@ -1,6 +1,21 @@
|
||||||
Change log
|
Change log
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
# v5.0.6
|
||||||
|
## (2023-12-05)
|
||||||
|
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary> Update layers/meta-balena to 3617c776ed31ef47429bb266d4276d63f19a2d58 [Self-hosted Renovate Bot] </summary>
|
||||||
|
|
||||||
|
> ## meta-balena-5.0.6
|
||||||
|
> ### (2023-12-05)
|
||||||
|
>
|
||||||
|
> * os-helpers-logging: replace broken container check [Alex Gonzalez]
|
||||||
|
>
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
# v5.0.5
|
# v5.0.5
|
||||||
## (2023-12-02)
|
## (2023-12-02)
|
||||||
|
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
5.0.5
|
5.0.6
|
Loading…
Add table
Reference in a new issue