Before (Saving this for when I can get an after)
Before (Saving this for when I can get an after)
message.txt5.45KB
rpm-ostree update, you will have a single small chunk/layer to download.rpm-ostree install -y greetd does it work ok or not?rpm -E '%{with selinux}' inside the container?getenforce and sestatus just straight up lie in a container contextlibselinux is looking for two things:/sys/fs/selinux needs to be mounted and /etc/selinux/config also needs to be mountedgetenforcesestatusint main() {
printf("getenforce: %d\n", security_getenforce());
return 0;
}
[root@7f48d3df7bc2 libselinux]# ./a.out
getenforce: 1
[root@7f48d3df7bc2 libselinux]# getenforce
Disabledlibselinux/sys/fs/selinux/etc/selinux/config[root@88ee797ef4cc selinux]# ls -lZ /usr/bin/greetd
-rwxr-xr-x. 1 root root system_u:object_r:container_file_t:s0:c1022,c1023 843576 May 3 15:52 /usr/bin/greetd
[root@88ee797ef4cc selinux]# getenforce
Enforcing