[Bug 1003872] dracut creates faulty default cmdline argument
https://bugzilla.suse.com/show_bug.cgi?id=1003872 https://bugzilla.suse.com/show_bug.cgi?id=1003872#c18 --- Comment #18 from Marius Tomaschewski <mt@suse.com> --- JFYI: /var/lib/wicked/lease-eth0-dhcp-ipv4.xml is the lease used by wickedd-dhcp4. On lease changes, wickedd-dhcp4 sends it to wickedd, which dumps it into a /var/run/wicked/leaseinfo.eth0.dhcp.ipv4 file formatted for netconfig (plus a batch file so it can perform multiple lease modify/remove at once) and calls /etc/wicked/extensions/netconfig script calling /sbin/netconfig to let netconfig apply it in the system. A "netconfig update" maybe called later is not using /var/run/wicked/*, but /var/run/netconfig/*/netconfig* files, that is the last settings applied via "netconfig modify"/"netconfig remove" to write /etc/resolv.conf or other files in the system. As alternative to copy /etc/resolv.conf (file or link + file points to) and perhaps yp.conf and other things to the chroot, the nfsroot can be also prepared by copying the /var/run/wicked/lease* files into the nfs root + call of: for leasinfo in /var/run/wicked/leaseinfo.* ; do test "$leasinfo" = "/var/run/wicked/leaseinfo.*" && continue suffix=${leasinfo##*/leaseinfo.} family=${suffix##*.} suffix=${suffix%.*} type=${suffix##*.} ifname=${suffix%.*} test "$ifname" = X -o "X$type" = X -o "X$family" = X && continue /sbin/netconfig modify -i "$ifname" -s "wicked-$type-$family" < "$leasinfo" done You can also limit it to dns settings only adding "-m dns" parameter. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com