Skip to content
Commit 3873f43f authored by Pierre Bourdon's avatar Pierre Bourdon Committed by Robin Gloster
Browse files

prometheus/exporters: fix regression in DynamicUser behavior

Instead of setting User/Group only when DynamicUser is disabled, the
previous version of the code set it only when it was enabled. This
caused services with DynamicUser enabled to actually run as nobody, and
services without DynamicUser enabled to run as root.

Regression from fbb7e0c8.
parent 199b4c47
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment