genhomedircon and passwd
Users managed with systemd-homed/userdbd do not get their contexts generated by genhomedircon on autorelabel at the least (semodule -B causes genhomedircon to generate contexts for these users just fine).
selinux-autorelabel calls fixfiles and fixfiles calls genhomedircon genhomedircon skips the users on
https://github.com/SELinuxProject/selinux/blob/master/libsemanage/src/genhomedircon.c#L1015
Users managed by systemd-homed/userdbd do not have an entry in /etc/passwd.
Signature · 4 lines
gpg --locate-keys [email protected] Key fingerprint = FCD2 3660 5D6B 9D27 7FC6 E0FF DA7E 521F 10F6 4098 https://sks-keyservers.net/pks/lookup?op=get&search=0xDA7E521F10F64098 Dominick Grift
Quoted 11 lines · Dominick Grift
Users managed with systemd-homed/userdbd do not get their contexts generated by genhomedircon on autorelabel at the least (semodule -B causes genhomedircon to generate contexts for these users just fine).
selinux-autorelabel calls fixfiles and fixfiles calls genhomedircon genhomedircon skips the users on
https://github.com/SELinuxProject/selinux/blob/master/libsemanage/src/genhomedircon.c#L1015
Users managed by systemd-homed/userdbd do not have an entry in/etc/passwd.
Never mind. I guess this is an issue with selinux-autorelabel instead. It probably depends on a running systemd-userdb so that getent passwd USER returns the record. The selinux-autorelabel.service unit should probably pull in systemd-userdbd.