Open puleglot opened 3 years ago
...
libnss_wins
andlibnss_winbind
...
These are provided by samba-winbind-modules
package on RHEL/Fedora distros AFAIK
Duplicate of #1422
And the resolution is the same either write a custom module to include the nss libraries that you yourself want included and or convince the downstream package maintainer to split the libraries you dont use into sub packages then libraries you dont wont get included since they are not installed on your system
I'd say dracut approach is not best one to include libnss_*
. Can we just explicitly pull only needed libnss for systemd ?
This is not specific to the systemd module. nfs, cifs, ssh-client modules have similar logic.
Describe the bug After commit b3bbf5fb6a95cfb69272da0711b5c5e0c6621de9 all nss libraries are included into initramfs. This causes a huge initramfs size increase in some cases. For example, if you have samba installed, then
libnss_wins
andlibnss_winbind
will pull in samba libraries, libicu and more. On my system this results in initramfs size increase from ~18Mb to ~30Mb (zstd compressed).Distribution used Gentoo
Dracut version 055
Init system systemd
To Reproduce Install samba, regenerate initramfs, see the initramfs size change.