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 e5e7600 commit bdf461e
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: 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
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 bdf461e

Please sign in to comment.