Skip to content

Commit

Permalink
Fix tftp service restarts
Browse files Browse the repository at this point in the history
The file /var/run/grml-tftpd.pid is owned by nobody:nogroup,
start-stop-daemon then complains about this when trying to stop the
service.

Fixes:

| start-stop-daemon: matching only on non-root pidfile /var/run/grml-tftpd.pid is insecure
  • Loading branch information
mika committed Jul 18, 2020
1 parent ac3936c commit eac090b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grml-terminalserver
Expand Up @@ -230,7 +230,7 @@ function createTftpConf

function stopTftp
{
start-stop-daemon --stop --quiet -p "$TFTPD_PID_"
start-stop-daemon --stop --quiet -p "$TFTPD_PID_" --user nobody
}
function startTftp
{
Expand Down

0 comments on commit eac090b

Please sign in to comment.