/var/lib/openhpi is installed by default on linux systems. That directory could be removed by user by accident/mistake. If uid_map creation fails, we need to check if that directory exists. If that directory does not exist and is needed then openhpid could exit with an error asking the user to reinstall the packages or create the directory before proceeding.
/var/lib/openhpi is installed by default on linux systems. That directory could be removed by user by accident/mistake. If uid_map creation fails, we need to check if that directory exists. If that directory does not exist and is needed then openhpid could exit with an error asking the user to reinstall the packages or create the directory before proceeding.
Reported by: dr_mohan