Skip to content

Commit

Permalink
Merge pull request moby#8 from crawford/selinux
Browse files Browse the repository at this point in the history
Revert "selinux/overlay incompatible err"
  • Loading branch information
crawford committed Nov 25, 2015
2 parents f4c9adf + 4df5e15 commit 37fb0ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions daemon/daemon_unix.go
Expand Up @@ -262,9 +262,9 @@ func checkSystem() error {
func configureKernelSecuritySupport(config *Config, driverName string) error {
if config.EnableSelinuxSupport {
if selinuxEnabled() {
// As Docker on either btrfs or overlayFS and SELinux are incompatible at present, error on both being enabled
if driverName == "btrfs" || driverName == "overlay" {
return fmt.Errorf("SELinux is not supported with the %s graph driver", driverName)
// As Docker on btrfs and SELinux are incompatible at present, error on both being enabled
if driverName == "btrfs" {
return fmt.Errorf("SELinux is not supported with the BTRFS graph driver")
}
logrus.Debug("SELinux enabled successfully")
} else {
Expand Down

0 comments on commit 37fb0ab

Please sign in to comment.