leaving setfcap in docker containers

Matthew Miller mattdm at fedoraproject.org
Fri Sep 27 17:28:29 UTC 2013


Quick backstory: unless run in privledged mode, Docker drops a bunch of
capabilities when launching a container. One of these is setfcap. This
breaks of binary RPMs like httpd where the daemon is installed with file
capabilities instead.

We're considering removing setfcap from the list of dropped capabilities. It
seems safe to me (note that you run as root inside the container), but I'd
like some security-minded review. Could this be used for evil?

https://bugzilla.redhat.com/show_bug.cgi?id=1012952

Thanks!

-- 
Matthew Miller  ☁☁☁  Fedora Cloud Architect  ☁☁☁  <mattdm at fedoraproject.org>


More information about the security mailing list