Thorsten Kukuk changed bug 1155687
What Removed Added
CC kukuk@suse.com  

Comment # 4 on bug 1155687 from
(In reply to Andrei Borzenkov from comment #3)
> (In reply to Neil Rickert from comment #2)
> > Boot messages indicating missing users "sddm", "polkitd" and several others.
> 
> Bug is actually rather interesting. Following happens
> 
> 1. Live system has most users in its /etc/passwd.
> 2. Scripts used by various system-user-* packages basically do
> 
> getent user || useradd user

All packages creating users are doing this.

> 3. During installation /run from Live system is bind-mounted on target
> /mnt/run (where /mnt is root of system being installed). This makes nscd
> socket available to scripts run by rpm which are chrooted to /mnt.

Why do we run nscd in such a case? doesn't make any sense.

> 4. So during installation getent contacts nscd *in Live system*, and gets
> positive answer. As result, user creation is skipped.
> 
> Possible fixes are
> 
> 1. Do not use getent, parse /etc/passwd directly

This "fixes" only your very special use case and breaks all default
installations. Beside that this would mean touching all packages creating
users.


You are receiving this mail because: