Red Hat Bugzilla – Bug 607762
anaconda writes wrong ip= cmdline for dracut for static ip configuration
Last modified: 2010-11-10 14:49:10 EST
anaconda writes wrong ip= cmdline for dracut for static ip configuration, this results a not booting system in case of an installation to a network based (ie iscsi) disk.
This is likely caused by /etc/sysconfig/network-scripts/ifcfg-* no longer containing a NETMASK string but rather a PREFIX string.
Radek, do you have any ideas how to get a good old netmask with this change in place, and/or a pre-existing python function to convert between a prefix and a netmask ?
(In reply to comment #0)
> Radek, do you have any ideas how to get a good old netmask with this change in
> place, and/or a pre-existing python function to convert between a prefix and a
> netmask ?
I noticed that we have isys.prefix2netmask and isys.netmask2prefix.
A patch for this is ready and has been tested, adding devel ack. Note to qa I've ibft boot capable hardware and can verify this.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
This is fixed in anaconda-13.21.54-1, moving to modified.
With snap #7 ip= parameter specifies the netmask as well. Moving to VERIFIED.
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.