From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1314397-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 770FF158CB7 for <garchives@archives.gentoo.org>; Fri, 20 Aug 2021 12:36:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7F54E07FA; Fri, 20 Aug 2021 12:36:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 59D76E07D8 for <gentoo-commits@lists.gentoo.org>; Fri, 20 Aug 2021 12:36:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 41E1F33BE18 for <gentoo-commits@lists.gentoo.org>; Fri, 20 Aug 2021 12:36:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B149B7DC for <gentoo-commits@lists.gentoo.org>; Fri, 20 Aug 2021 12:36:14 +0000 (UTC) From: "Marc Schiffbauer" <mschiff@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marc Schiffbauer" <mschiff@gentoo.org> Message-ID: <1629462779.2957a300fdebd1ecba8e7041ba4cf71f56729dbc.mschiff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/bareos/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-backup/bareos/files/bareos-dir.initd app-backup/bareos/files/bareos-fd.initd app-backup/bareos/files/bareos-sd.initd app-backup/bareos/files/tmpfiles.d-bareos.conf X-VCS-Directories: app-backup/bareos/files/ X-VCS-Committer: mschiff X-VCS-Committer-Name: Marc Schiffbauer X-VCS-Revision: 2957a300fdebd1ecba8e7041ba4cf71f56729dbc X-VCS-Branch: master Date: Fri, 20 Aug 2021 12:36:14 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bd30aaf3-d421-4c2c-b780-ea4f55af8886 X-Archives-Hash: 82aac621809e600202abdabaee5a053f commit: 2957a300fdebd1ecba8e7041ba4cf71f56729dbc Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> AuthorDate: Fri Aug 20 12:32:59 2021 +0000 Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> CommitDate: Fri Aug 20 12:32:59 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2957a300 app-bareos: harden pid directory Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org> app-backup/bareos/files/bareos-dir.initd | 2 +- app-backup/bareos/files/bareos-fd.initd | 2 +- app-backup/bareos/files/bareos-sd.initd | 2 +- app-backup/bareos/files/tmpfiles.d-bareos.conf | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app-backup/bareos/files/bareos-dir.initd b/app-backup/bareos/files/bareos-dir.initd index 826d27a829c..9f17f212e4a 100644 --- a/app-backup/bareos/files/bareos-dir.initd +++ b/app-backup/bareos/files/bareos-dir.initd @@ -8,7 +8,7 @@ depend() { start() { ebegin "Starting bareos director" - checkpath -d -m 0750 -o bareos:bareos /run/bareos + checkpath -d -m 0750 -o root:bareos /run/bareos start-stop-daemon --start --quiet --exec /usr/sbin/bareos-dir \ -- ${DIR_OPTIONS} eend $? diff --git a/app-backup/bareos/files/bareos-fd.initd b/app-backup/bareos/files/bareos-fd.initd index e272daa88ec..e65e6c80f32 100644 --- a/app-backup/bareos/files/bareos-fd.initd +++ b/app-backup/bareos/files/bareos-fd.initd @@ -8,7 +8,7 @@ depend() { start() { ebegin "Starting bareos file daemon" - checkpath -d -m 0750 /run/bareos + checkpath -d -m 0750 -o root:bareos /run/bareos start-stop-daemon --start --quiet --exec /usr/sbin/bareos-fd \ -- ${FD_OPTIONS} eend $? diff --git a/app-backup/bareos/files/bareos-sd.initd b/app-backup/bareos/files/bareos-sd.initd index f20be4ecf56..4f7fbcb52bf 100644 --- a/app-backup/bareos/files/bareos-sd.initd +++ b/app-backup/bareos/files/bareos-sd.initd @@ -8,7 +8,7 @@ depend() { start() { ebegin "Starting bareos storage daemon" - checkpath -d -m 0750 -o bareos:bareos /run/bareos + checkpath -d -m 0750 -o root:bareos /run/bareos start-stop-daemon --start --quiet --exec /usr/sbin/bareos-sd \ -- ${SD_OPTIONS} eend $? diff --git a/app-backup/bareos/files/tmpfiles.d-bareos.conf b/app-backup/bareos/files/tmpfiles.d-bareos.conf index 6e2dacc41ad..81c57569c45 100644 --- a/app-backup/bareos/files/tmpfiles.d-bareos.conf +++ b/app-backup/bareos/files/tmpfiles.d-bareos.conf @@ -1 +1 @@ -d /run/bareos 0770 bareos bareos - +d /run/bareos 0750 root bareos -