-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e5e7600
commit bdf461e
Showing
3 changed files
with
73 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,60 @@ | ||
- commits: | ||
- subject: Update layers/meta-balena to 3617c776ed31ef47429bb266d4276d63f19a2d58 | ||
hash: e5e76001f56be9b65aab79c574c2c85cb4aa3d09 | ||
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 <[email protected]> | ||
signed-off-by: Alex Gonzalez <[email protected]> | ||
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-05T21:52:03.717Z | ||
- commits: | ||
- subject: Update layers/meta-balena to 11ab946c68bc4245e2449ebf4765ecfc1c73831d | ||
hash: ee8ca0f2896d946a2f80b672655984a334f958b4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5.0.5 | ||
5.0.6 |