Skip to content

Commit

Permalink
v5.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
flowzone-app[bot] authored Dec 5, 2023
1 parent bd281e5 commit 0b1577f
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 1 deletion.
57 changes: 57 additions & 0 deletions .versionbot/CHANGELOG.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,60 @@
- commits:
- subject: Update layers/meta-balena to 3617c776ed31ef47429bb266d4276d63f19a2d58
hash: 6ca51e1a50b04038cdda5f3eb8593d144bb93d1d
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-05T19:57:12.756Z
- commits:
- subject: Update layers/meta-balena to 11ab946c68bc4245e2449ebf4765ecfc1c73831d
hash: 99657dacfd1edb28acbccde576616ce6950b3586
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
# 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
## (2023-12-02)

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.5
5.0.6

0 comments on commit 0b1577f

Please sign in to comment.