casper misinterprets ipv6.disable=1 on kernel command line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Fix Released
|
Undecided
|
Colin Watson |
Bug Description
Binary package hint: casper
In Lucid (casper 1.236), the script /usr/share/
ip*)
if [ "${STATICIP}" = "" ]; then
fi
This usually works great, until ipv6.disable=1 also on the kernel command line. That matches this case, and casper ends up creating an /etc/interfaces file that tries to set the static IP address "ipv6.disable=1". Probably not the desired behavior!
Partial workaround: ensure any ip= options come AFTER the ipv6.disable=1 on the kernel command line. The second match overwrites the original STATICIP variable setting. Of course, this won't work if the goal is to have casper establish an /etc/network/
Recommend adjusting the case match from "ip*)" to "ip=*)" on line 43, so that it won't match "ipv6.disable=1".
Applied, thanks.