Hey peeps recently ive seen alot of people trying to install pihole, the only thing your gonna do is screw up networking for OSMC
If you want adblocking on OSMC use adguard home
Adguard home is connman friendly so it will work out of the box and have better functions then pihole which is broken and outdated at best.
This will save you alot of headaches, hope this stops the installations cause pihole isnt gonna support connman at all