This commit is contained in:
Balena CI 2022-04-12 22:27:08 +03:00 committed by VersionBot
parent f8bdd06a8b
commit f5ca7e87f0
6 changed files with 45 additions and 5 deletions

View File

@ -1,3 +1,38 @@
- commits:
- subject: Add lockfile binary and internal lib for interfacing with it
hash: 51e63ea22b876580de276808eca891ff6ab2a6c5
body: >
The linked issue describes the Supervisor not cleaning up locks it
creates due
to crashing at just the wrong time. After internal discussion we decided to
differentiate Supervisor-created lockfiles from user-created lockfiles by using
the `nobody` UID (65534) for Supervisor-created lockfiles.
As the existing NPM lockfile lib does not allow creating lockfiles atomically
with different UIDs, we move to using the lockfile binary, which is part of the
procmail package. To allow nonroot users to write to lock directories, permissions
are changed to allow write access by nonroot users.
footer:
See: https://www.flowdock.com/app/rulemotion/r-resinos/threads/gWMgK5hmR26TzWGHux62NpgJtVl
see: https://www.flowdock.com/app/rulemotion/r-resinos/threads/gWMgK5hmR26TzWGHux62NpgJtVl
Change-type: minor
change-type: minor
Closes: "#1758"
closes: "#1758"
Signed-off-by: Christina Wang <christina@balena.io>
signed-off-by: Christina Wang <christina@balena.io>
author: Christina Wang
nested: []
version: 13.1.0
title: "'Differentiate Supervisor-created lockfiles from userapp-created lockfiles'"
date: 2022-04-12T19:07:17.817Z
- commits:
- subject: Add system id/model support for Compulab IOT-gate
hash: e6fa22306b9e2b55480772560e62bb8e8988b529

View File

@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/).
# v13.1.0
## (2022-04-12)
* Add lockfile binary and internal lib for interfacing with it [Christina Wang]
# v13.0.3
## (2022-04-08)

View File

@ -1 +1 @@
13.0.3
13.1.0

View File

@ -2,4 +2,4 @@ name: balena-supervisor
description: 'Balena Supervisor: balena''s agent on devices.'
joinable: false
type: sw.application
version: 13.0.3
version: 13.1.0

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "balena-supervisor",
"version": "13.0.3",
"version": "13.1.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,7 +1,7 @@
{
"name": "balena-supervisor",
"description": "This is balena's Supervisor, a program that runs on IoT devices and has the task of running user Apps (which are Docker containers), and updating them as the balena API informs it to.",
"version": "13.0.3",
"version": "13.1.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
@ -138,6 +138,6 @@
}
},
"versionist": {
"publishedAt": "2022-04-08T16:06:30.661Z"
"publishedAt": "2022-04-12T19:07:26.105Z"
}
}