Thomas Blume changed bug 1177461
What Removed Added
Status NEW CONFIRMED
CC   fvogt@suse.com
Flags   needinfo?(fvogt@suse.com)

Comment # 6 on bug 1177461 from
(In reply to Fabian Vogt from comment #0)
> [  188s] dracut-install: ERROR: installing '/etc/services'
> [  188s] dracut-install: ERROR: installing '/etc/nsswitch.conf'
> [  188s] dracut-install: ERROR: installing '/etc/protocols'
> [  188s] dracut: FAILED: /usr/lib/dracut/dracut-install -D
> /var/tmp/dracut.81Rh4v/initramfs -a /etc/services /etc/nsswitch.conf
> /etc/rpc /etc/protocols /etc/idmapd.conf
> [  188s] sed: can't read /etc/nsswitch.conf: No such file or directory
> 
> This leads to issues like
> 
> Oct 08 03:09:49.976326 localhost rpcbind[326]: cannot get local address for
> udp: Servname not supported for ai_socktype
> 

Hm, I can see the above errors in the journal log when reboot with enabled
rpcbind.socket, but I can't see the error when creating the initrd in the
running system (using image
openSUSE-MicroOS.x86_64-16.0.0-Kubic-kubeadm-kvm-and-xen-Snapshot20210329.qcow2):

-->
transactional update # 
transactional update # ls -l /etc/services
ls: cannot access '/etc/services': No such file or directory
transactional update # ls -l /etc/nsswitch.conf
ls: cannot access '/etc/nsswitch.conf': No such file or directory
transactional update # ls -l /etc/protocols
ls: cannot access '/etc/protocols': No such file or directory
transactional update # 
--<

-->
transactional update # mkinitrd
Creating initrd: /boot/initrd-5.11.6-1-default
dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log
--force /boot/initrd-5.11.6-1-default 5.11.6-1-default
dracut: dracut module 'systemd-coredump' will not be installed, because command
'coredumpctl' could not be found!
dracut: dracut module 'systemd-repart' will not be installed, because command
'systemd-repart' could not be found!
dracut: dracut module 'dbus-broker' will not be installed, because command
'dbus-broker' could not be found!
dracut: dracut module 'rngd' will not be installed, because command 'rngd'
could not be found!
dracut: dracut module 'dmraid' will not be installed, because command 'dmraid'
could not be found!
dracut: dracut module 'dmsquash-live-ntfs' will not be installed, because
command 'ntfs-3g' could not be found!
dracut: dracut module 'mdraid' will not be installed, because command 'mdadm'
could not be found!
dracut: dracut module 'cifs' will not be installed, because command
'mount.cifs' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command
'iscsi-iname' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm'
could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsid'
could not be found!
dracut: dracut module 'nvmf' will not be installed, because command 'nvme'
could not be found!
dracut: memstrack is not available
dracut: If you need to use rd.memdebug>=4, please install memstrack
dracut: dracut module 'squash' will not be installed, because command
'mksquashfs' could not be found!
dracut: dracut module 'squash' will not be installed, because command
'unsquashfs' could not be found!
dracut: dracut module 'systemd-coredump' will not be installed, because command
'coredumpctl' could not be found!
dracut: dracut module 'systemd-repart' will not be installed, because command
'systemd-repart' could not be found!
dracut: dracut module 'dbus-broker' will not be installed, because command
'dbus-broker' could not be found!
dracut: dracut module 'rngd' will not be installed, because command 'rngd'
could not be found!
dracut: dracut module 'dmraid' will not be installed, because command 'dmraid'
could not be found!
dracut: dracut module 'dmsquash-live-ntfs' will not be installed, because
command 'ntfs-3g' could not be found!
dracut: dracut module 'mdraid' will not be installed, because command 'mdadm'
could not be found!
dracut: dracut module 'cifs' will not be installed, because command
'mount.cifs' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command
'iscsi-iname' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm'
could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsid'
could not be found!
dracut: dracut module 'nvmf' will not be installed, because command 'nvme'
could not be found!
dracut: memstrack is not available
dracut: If you need to use rd.memdebug>=4, please install memstrack
dracut: dracut module 'squash' will not be installed, because command
'mksquashfs' could not be found!
dracut: dracut module 'squash' will not be installed, because command
'unsquashfs' could not be found!
dracut: *** Including module: bash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: dbus-daemon ***
dracut: *** Including module: dbus ***
dracut: *** Including module: i18n ***
dracut: No KEYMAP configured.
dracut: *** Including module: ignition ***
dracut: *** Including module: ignition-microos ***
dracut: *** Including module: combustion ***
dracut: *** Including module: network-wicked ***
dracut-install: ERROR: installing '/usr/lib/wicked/bin/*'
dracut: FAILED: /usr/lib/dracut/dracut-install -D
/var/tmp/dracut.vWSQHN/initramfs -a /usr/lib/wicked/bin/*
dracut: *** Including module: network ***
dracut: *** Including module: url-lib ***
dracut: Couldn't find SSL CA cert bundle or libnssckbi.so; HTTPS won't work.
dracut: *** Including module: drm ***
dracut: *** Including module: health-checker ***
dracut: *** Including module: transactional-update ***
dracut: *** Including module: xen-tools-domU ***
dracut: *** Including module: btrfs ***
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: kernel-modules-extra ***
dracut: *** Including module: kernel-network-modules ***
dracut: *** Including module: qemu ***
dracut: *** Including module: qemu-net ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: suse-btrfs ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 40-redhat.rules
dracut: Skipping udev rule: 50-firmware.rules
dracut: Skipping udev rule: 50-udev.rules
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: Skipping udev rule: 70-persistent-net.rules
dracut: *** Including module: biosdevname ***
dracut: *** Including module: dracut-systemd ***
dracut: *** Including module: haveged ***
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: shutdown ***
dracut: *** Including module: suse ***
dracut: *** Including module: suse-initrd ***
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies ***
dracut: *** Installing kernel module dependencies done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done ***
dracut: *** Hardlinking files ***
dracut: *** Hardlinking files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Store current command line parameters ***
dracut: Stored kernel commandline:
dracut: rd.driver.pre=btrfs
dracut: rd.driver.pre=overlay
dracut:  root=UUID=e0b7d432-e7c1-4573-8ef5-ccfe29825679 rootfstype=btrfs
rootflags=rw,relatime,space_cache,subvolid=270,subvol=/@/.snapshots/2/snapshot,subvol=@/.snapshots/2/snapshot
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Creating image file '/boot/initrd-5.11.6-1-default' ***
dracut: *** Creating initramfs image file '/boot/initrd-5.11.6-1-default' done
***
transactional update # 
--<

The installation of those network service files seems to be bound to the
inclusion of either the nfs or the cifs module:

-->
# grep -r 'etc/protocol' /usr/lib/dracut/modules.d/
grep: /usr/lib/dracut/modules.d/30ignition/ignition: binary file matches
/usr/lib/dracut/modules.d/95cifs/module-setup.sh:    inst_multiple
/etc/services /etc/nsswitch.conf /etc/protocols
/usr/lib/dracut/modules.d/95nfs/module-setup.sh:    inst_multiple /etc/services
/etc/nsswitch.conf /etc/rpc /etc/protocols /etc/idmapd.conf
--<

Are these modules getting included in the test?


You are receiving this mail because: