The init script for ufdbguard creates two directories, if [ ! -d "${logdir}" ] ; then mkdir -p ${logdir} chown -R ${UFDB_USER} ${logdir} fi if [ ! -d /var/run/ufdbguardd ] ; then mkdir -p /var/run/ufdbguard chown -R ${UFDB_USER} /var/run/ufdbguard fi Two calls to "checkpath" from OpenRC (man openrc-run) would be more appropriate here. It's more portable, being part of OpenRC, and will avoid unintended side effects (why use "-R" if the directory should be empty?). Most importantly, checkpath will refuse to follow symlinks, which eliminates one class of security vulnerabilities.
I missed that there's a new revision of the init script for this package.