Page 1 of 1

Init script error in Ubuntu 19.04 disco

PostPosted: Tue May 21, 2019 9:46 am
by n0rdik
There is a new condition in the start-stop-daemon executable (introduced in dpkg 1.19) that makes a pidfile created by another user than root considered insecure ( ... mon.8.html). When you want to stop or restart subsonic (run with other user than root) it shows the next message: "start-stop-daemon: matching only on non-root pidfile /var/run/ is insecure" and the process remains started. There is a workaround, adding " --user $SUBSONIC_USER" to the "do_stop()" function "start-stop-daemon" invocation. I think it should be fixed in next versions. Another point is creating a systemd service, I think...
Thanks in advance.