Init script error in Ubuntu 19.04 disco

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

Init script error in Ubuntu 19.04 disco

Postby n0rdik » Tue May 21, 2019 9:46 am

Hi,
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 (http://manpages.ubuntu.com/manpages/dis ... 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/subsonic.pid 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.
n0rdik
 
Posts: 8
Joined: Tue Mar 21, 2017 12:15 pm

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 10 guests