openhpi2 / openhpi_bug_test

0 stars 0 forks source link

uid_map creation fails if directory is missing #1914

Open openhpi2 opened 8 years ago

openhpi2 commented 8 years ago

/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