Hotfix Release Of Pi-hole v4.2.2

Hotfix Release Of Pi-hole v4.2.2

We released two small updates to Core and FTL, which will bump both to version 4.2.2.

In the Core codebase, some users experienced crashes if their systems were without libcap support which caused FTLDNS to run as root, later dropping to the unprivileged user pihole. As the shared memory objects used for FTLDNS are created before this switch, issues such as failing to access, reallocate, or delete the shared memory were seen. For most of you, this update will be transparent.

Meanwhile, the release of FTLDNS will let FTLDNS continue running as root if necessary on the given system. This will let FTLDNS retain access to its shared memory. We’ve added one related feature that reports both the user pihole-FTL started as and the user pihole-FTL crashed as in case it crashes and generated a crash ticket in pihole-FTL.log.

Also included, is a fix for the blocking status display for NODATA and NXDOMAIN blocking modes, which were incorrectly reported as OK (cached) although they were blocking just fine by FTL v4.2.

Finally, there is a fix that also fixes FTL crashing by adjusting the overTime data structure.

Thanks for reporting these issues and help us making Pi-hole a better software!