Re: genhomedircon and passwd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 7/14/20 8:26 AM, Dominick Grift wrote:
> 
> 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.



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux