fix confs & provider to be fork-compat'

Signed-off-by: Arnaud Richard <a.richard@webshell.io>