Hi! Does anyone have an idea how can i (in a nice way [1]) to ensure ownership/permissions of log directory in /var/log for a unit that drops privileges to a user (with User=/Group=)
[1] The ugly way being with script in StartPre and sudo in Start so i want to use User= I'm aware of LogsDirectory= but is not available on EL7
Hi Adrian,
I think such a fundamental lack should be addressed by adding it by upstream. Did you try to create a BZ so that this could be fixed? I guess a backport for systemd should help.
Regards, Simon