From f5ca7e87f04655dbe8847f70b3cd89047de273c0 Mon Sep 17 00:00:00 2001 From: Balena CI <34882892+balena-ci@users.noreply.github.com> Date: Tue, 12 Apr 2022 22:27:08 +0300 Subject: [PATCH] v13.1.0 --- .versionbot/CHANGELOG.yml | 35 +++++++++++++++++++++++++++++++++++ CHANGELOG.md | 5 +++++ VERSION | 2 +- balena.yml | 2 +- package-lock.json | 2 +- package.json | 4 ++-- 6 files changed, 45 insertions(+), 5 deletions(-) diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index 1398680e..8e131b82 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -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 + signed-off-by: Christina Wang + 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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 82567b93..83edf3bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/VERSION b/VERSION index a027b785..03c39bfe 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -13.0.3 \ No newline at end of file +13.1.0 \ No newline at end of file diff --git a/balena.yml b/balena.yml index 16570f86..4f6bd580 100644 --- a/balena.yml +++ b/balena.yml @@ -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 diff --git a/package-lock.json b/package-lock.json index aa1b28e5..1fefdda7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "balena-supervisor", - "version": "13.0.3", + "version": "13.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 9bcb1933..a937a152 100644 --- a/package.json +++ b/package.json @@ -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" } }