diff --git a/selinux/selinux.go b/selinux/selinux.go index 6453f37..5362308 100644 --- a/selinux/selinux.go +++ b/selinux/selinux.go @@ -312,7 +312,7 @@ func GetLxcContexts() (processLabel string, fileLabel string) { if !SelinuxEnabled() { return "", "" } - lxcPath := fmt.Sprintf("%s/content/lxc_contexts", GetSELinuxPolicyRoot()) + lxcPath := fmt.Sprintf("%s/contexts/lxc_contexts", GetSELinuxPolicyRoot()) in, err := os.Open(lxcPath) if err != nil { return "", ""