mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-19 05:37:53 +00:00
v13.1.0
This commit is contained in:
parent
f8bdd06a8b
commit
f5ca7e87f0
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "balena-supervisor",
|
||||
"version": "13.0.3",
|
||||
"version": "13.1.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user