Update to 0.5.4

Resolves: #2258599, #2253895, #2250086, #2217123, #2193292
This commit is contained in:
Kate Hsuan 2024-01-31 15:35:53 +08:00
parent 0018d10812
commit 857397e117
4 changed files with 3 additions and 29 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@
/uresourced-v0.5.1.tar.bz2
/uresourced-v0.5.2.tar.bz2
/uresourced-v0.5.3.tar.bz2
/uresourced-v0.5.4.tar.bz2

View File

@ -1 +1 @@
SHA512 (uresourced-v0.5.3.tar.bz2) = 6947c31b9190ad48fbd5b7aefa4538feeac177403762dcb6c283e3292894790f9938fa9ef10d29c4c93650a14558173689a97c3c62ae07af3ed1d50dc66eea93
SHA512 (uresourced-v0.5.4.tar.bz2) = c9c6499968aeeb4cb0e7a72d12b3778f4460d0f278e592feca1deb5d54c91dd19a27f8741c34b5e3d142e72b10a945e86b45c3ecd2864b45f1dd2acad319fb66

View File

@ -1,26 +0,0 @@
From af9cac5b78507c58f72ab6e389583755f50cdc5f Mon Sep 17 00:00:00 2001
From: Luca Boccassi <bluca@debian.org>
Date: Wed, 16 Nov 2022 12:03:56 +0000
Subject: [PATCH] user unit: remove ProtectSystem=
In a user unit ProtectSystem= cannot work without PrivateUsers=yes,
as mounts can only be done in a user namespace when not running as root.
In the future this will be implicit, so remove it to avoid unintended
sandboxing from being enabled.
---
data/user/uresourced.service.in | 1 -
1 file changed, 1 deletion(-)
diff --git a/data/user/uresourced.service.in b/data/user/uresourced.service.in
index 09212a2..0be14e8 100644
--- a/data/user/uresourced.service.in
+++ b/data/user/uresourced.service.in
@@ -20,5 +20,4 @@ ExecStart=@libexecdir@/uresourced --user
TimeoutStopSec=5s
-ProtectSystem=strict
RestrictAddressFamilies=AF_UNIX
--
GitLab

View File

@ -1,12 +1,11 @@
Name: uresourced
Version: 0.5.3
Version: 0.5.4
Release: %autorelease
Summary: Dynamically allocate resources to the active user
License: LGPL-2.1-or-later
URL: https://gitlab.freedesktop.org/benzea/uresourced
Source0: %{url}/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
Patch0: %{url}/-/commit/af9cac5b78507c58f72ab6e389583755f50cdc5f.patch#/uresourced-remove-unneeded-directive.patch
BuildRequires: gcc
BuildRequires: meson