Created attachment 8496 [details] proposed patch loginutils/login.c: initselinux() should use the selinux seuser for default context, not the Linux username as stated in the reference (see getseuserbyname): https://selinuxproject.org/page/LibselinuxAPISummary Example code: https://github.com/SELinuxProject/selinux/blob/master/libselinux/utils/getseuser.c