capabilities: Some plugins don't actually require capabilities at runtime

This commit is contained in:
Tobias Brunner
2013-07-18 15:25:35 +02:00
parent 027676f750
commit dfc9902013
13 changed files with 17 additions and 14 deletions
+2 -1
View File
@@ -180,7 +180,8 @@ plugin_t *ha_plugin_create()
}
if (!lib->caps->keep(lib->caps, CAP_CHOWN))
{ /* required to chown(2) control socket */
{ /* required to chown(2) control socket, ha_kernel also needs it at
* runtime */
DBG1(DBG_CFG, "ha plugin requires CAP_CHOWN capability");
return NULL;
}