Skip to content
Snippets Groups Projects
Commit 9209f430 authored by Kevin Darbyshire-Bryant's avatar Kevin Darbyshire-Bryant Committed by Felix Fietkau
Browse files

dnsmasq: fix remove pidfile on shutdown regression


Regression introduced by 3481d0d7 dnsmasq: run as dedicated UID/GID

dnsmasq is unable to remove its own pidfile as /var/run/dnsmasq is owned
by root and now dnsmasq runs as dnsmasq:dnsmasq.  Change directory
ownership to match.

dnsmasq initially starts as root, creates the pidfile, then drops to
requested non-root user.  Until this fix dnsmasq had insufficient
privilege to remove its own pidfile.

Signed-off-by: default avatarKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
parent c5913264
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment