The dhcpcd service (networking.useDHCP
) has been hardened and now runs exclusively as the “dhcpcd” user (no root at all). (PR #336988)
Most users shouldn’t see any difference, but if you were relying on the root privileges in networking.dhcpcd.runHook
you will have to write specific sudo or polkit rules to allow dhcpcd to perform privileged actions.
Also, as part of these changes, the DHCP lease files directory has also been moved from /var/db/dhcpcd
to /var/lib/dhcpcd
. This migration is performed automatically, but you may have to update your backup rules.