Skip to content
Snippets Groups Projects
Commit 306f8f98 authored by Marek Vavrusa's avatar Marek Vavrusa Committed by Gerrit Code Review
Browse files

Corrected privileges dropping in some cases.

The PID file needed to be created before with knotc to indicate
starting instance. This is better than knotd creating it, but
it could result in either dropping privileges before starting knotd
or creating PID file in an inaccessible directory.
As of now, knotd drops privileges and creates empty PID file before
loading zones.

Change-Id: Ifb1507b2a922217d4d4608accb1f71dd7be5c0ee
parent 3b4c64f5
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