diff --git a/setup b/setup index f52f9cecad0..d4b73f4ac4d 100755 --- a/setup +++ b/setup @@ -126,7 +126,7 @@ class Facts(object): self.facts['selinux']['status'] = 'enabled' try: self.facts['selinux']['policyvers'] = selinux.security_policyvers() - except: + except OSError, e: self.facts['selinux']['policyvers'] = 'unknown' try: (rc, configmode) = selinux.selinux_getenforcemode()