getfattr --only-values emits the NUL-terminated security.selinux value; bash's $(...) then warns "ignored null byte in input". Pipe through tr -d '\0' to silence the cosmetic warning. The label assertion above is unaffected.
getfattr --only-values emits the NUL-terminated security.selinux value; bash's $(...) then warns "ignored null byte in input". Pipe through tr -d '\0' to silence the cosmetic warning. The label assertion above is unaffected.