From 2af22fc23250e957d75e9e4449f842f9f1a5e16a Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Tue, 15 Oct 2019 13:43:35 +0000 Subject: main/bacula: use root as rundir owner for bacula-client Partially revert previous commit In case other bacula daemons run on the same host, their package will create the bacula user and group and their init script will set bacula as the owner of the rundir. bacula-fd will be able to write the pidfile in the same rundir since it runs as root. --- main/bacula/bacula-fd.initd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'main/bacula/bacula-fd.initd') diff --git a/main/bacula/bacula-fd.initd b/main/bacula/bacula-fd.initd index 1e33abc1c0..9e0ee53c4e 100644 --- a/main/bacula/bacula-fd.initd +++ b/main/bacula/bacula-fd.initd @@ -18,6 +18,5 @@ depend() { start_pre() { checkpath --quiet --directory --mode 0775\ - --owner bacula:bacula $(dirname $pidfile) + $(dirname $pidfile) } - -- cgit v1.2.3