Web lists-archives.com

Re: Re: Systemd with chroot and under unprivileged user

Opened bug report at mainstream.

On Tue, May 7, 2019 at 12:17 PM Peter Viskup <skupko.sk@xxxxxxxxx> wrote:
It is related to systemd processing of chroot, as with commenting the User setting, the service start up successfully.

Want to mimic the startup of the service in init script on Debian8 (which is running fine):
~# start-stop-daemon --start --quiet --pidfile "/srv/inst/var/run/rsyslogd.pid" --chuid user:group --chroot "/srv/inst" --exec "/usr/sbin/rsyslogd" -- -i  /var/run/rsyslogd.pid -4 -x