[Bug 1137104] New: dracut 049 breaks nfs root
http://bugzilla.suse.com/show_bug.cgi?id=1137104 Bug ID: 1137104 Summary: dracut 049 breaks nfs root Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: daniel.molkentin@suse.com Reporter: schwab@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- [ 13.436149] dracut-cmdline[196]: chown: invalid group: 'rpc:rpc' [ 13.657929] dracut-cmdline[196]: Warning: Empty autoconf values defau[ 13.713716] dracut: FATAL: For argument 'ip=eth0:static'\nSorry, setting client-ip does not make sense for 'dhcp' [ 13.724095] dracut: Refusing to continue lt to dhcp # lsinitrd /boot/initrd etc/cmdline.d/95nfs.conf root=nfs4:10.160.4.0:/daten/root/hifive:rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.160.5.169,local_lock=none,addr=10.160.4.0 ifname=eth0:70:b3:d5:92:f1:07 ip=eth0:static -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137104
http://bugzilla.suse.com/show_bug.cgi?id=1137104#c1
Thomas Blume
http://bugzilla.suse.com/show_bug.cgi?id=1137104
http://bugzilla.suse.com/show_bug.cgi?id=1137104#c2
--- Comment #2 from Daniel Molkentin
http://bugzilla.suse.com/show_bug.cgi?id=1137104
http://bugzilla.suse.com/show_bug.cgi?id=1137104#c3
--- Comment #3 from Thomas Blume
http://bugzilla.suse.com/show_bug.cgi?id=1137104
Thomas Blume
http://bugzilla.suse.com/show_bug.cgi?id=1137104
http://bugzilla.suse.com/show_bug.cgi?id=1137104#c5
Andreas Schwab
http://bugzilla.suse.com/show_bug.cgi?id=1137104
http://bugzilla.suse.com/show_bug.cgi?id=1137104#c6
Thomas Blume
Still broken.
[ 13.579196] dracut-cmdline[194]: chown: invalid group: 'rpc:rpc' [ 13.800073] dracut-cmdline[194]: Warning: Empty autoconf valu
Hm, /usr/lib/dracut/modules.d/40network/parse-ip-opts.sh shows: --> # Empty autoconf defaults to 'dhcp' if [ -z "$autoconf" ] ; then warn "Empty autoconf values default to dhcp" autoconf="dhcp" fi --> And according to: /usr/lib/dracut/modules.d/40network/ifup.sh --> read_ifcfg() { [...] [ -n "$BOOTPROTO" ] && autoconf=${BOOTPROTO} --< Looks like you either don't have an ifcfg file or you don't have BOOTPROTO set in the ifcfg file for your nfsroot network device. How does your network get set up at all then? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137104
http://bugzilla.suse.com/show_bug.cgi?id=1137104#c7
Andreas Schwab
http://bugzilla.suse.com/show_bug.cgi?id=1137104
http://bugzilla.suse.com/show_bug.cgi?id=1137104#c8
--- Comment #8 from Andreas Schwab
http://bugzilla.suse.com/show_bug.cgi?id=1137104
http://bugzilla.suse.com/show_bug.cgi?id=1137104#c9
--- Comment #9 from Thomas Blume
I can't see where you are applying the patch.
Oops, sorry, I didn't consider the special dracut specfile handling, fixed now. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137104
http://bugzilla.suse.com/show_bug.cgi?id=1137104#c10
--- Comment #10 from Andreas Schwab
http://bugzilla.suse.com/show_bug.cgi?id=1137104
http://bugzilla.suse.com/show_bug.cgi?id=1137104#c11
--- Comment #11 from Andreas Schwab
http://bugzilla.suse.com/show_bug.cgi?id=1137104
http://bugzilla.suse.com/show_bug.cgi?id=1137104#c12
Thomas Blume
dracut: *** Including module: network-legacy *** dracut-install: ERROR: installing 'dhclient' dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.CsPj5X/initramfs -a ip dhclient sed awk grep
I could reproduce the issue. Culprit is the new code in modules.d/35network-legacy/ifup.sh --> case $autoconf in dhcp|on|any|dhcp6) ;; *) if [ $ret -eq 0 ]; then setup_net $netif source_hook initqueue/online $netif if [ -z "$manualup" ]; then /sbin/netroot $netif fi fi ;; esac --< It explicitly excludes the call to the netroot script for dhcp. Reason is that with dhclient, modules.d/35network-legacy/dhclient-script.sh takes over the task of calling netroot. Since we have wicked instead of dhclient, that scipt isn't run and hence netroot isn't mounted. In my tests, I've just removed the dhcp entries in the above code, which made the nfsroot system boot correctly. In dracut-044, the netroot call was done via a separate bring_online() function. That isn't present in 049 anymore and doesn't seem to be necessary. I will provide new testpackages. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137104
http://bugzilla.suse.com/show_bug.cgi?id=1137104#c13
Thomas Blume
I will provide new testpackages.
With the packages from: https://download.opensuse.org/repositories/home:/tsaupe:/branches:/Base:/Sys... my testmachine booted correctly. Andreas, can you confirm? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1137104
http://bugzilla.suse.com/show_bug.cgi?id=1137104#c14
Andreas Schwab
http://bugzilla.suse.com/show_bug.cgi?id=1137104
http://bugzilla.suse.com/show_bug.cgi?id=1137104#c15
--- Comment #15 from Thomas Blume
http://bugzilla.suse.com/show_bug.cgi?id=1137104
http://bugzilla.suse.com/show_bug.cgi?id=1137104#c16
Daniel Molkentin
participants (1)
-
bugzilla_noreply@novell.com