Add users to initramfs to silence errors#4287
Add users to initramfs to silence errors#4287kressb-gitlab wants to merge 1 commit intoublue-os:testingfrom
Conversation
tulilirockz
left a comment
There was a problem hiding this comment.
Imho its valuable to let upstream deal with these kinds of issues, if this happens on bazzite it most likely also happen on Silverblue/Kinoite, and if thats the case then this logic should be there instead.
|
No, it doesn't happen upstream. This is a result of how we do our users with NSS altfiles. Kinoite and Silverblue do not do this. |
What is the difference between our usage and upstreams? My understanding is that silver blue has an empty /etc/group and a more or less empty /etc/passwd by default. Due to rechunk, we have everything in altfiles which should effectively be the default. |
|
Oh, you're right this is a kinoite/silverblue thing. I thought the altfiles thing was only Bazzite/bluefin/aurora. |
Ensure nsswitch.conf, passwd, and group are bundled in initramfs for consistent user and group handling - to silence errors about missing users and groups during early boot. ublue-os/bazzite#4287
cf51257 to
be6315c
Compare
Every boot Bazzite has a lot of alarming (to some users) errors in the journal from missing users and groups in initramfs. This is because Bazzite reads users and groups from altfiles, and those files aren't in initramfs.
So add them. Silences the errors from initramfs.