Public bug reported:
Binary package hint: casper
In Lucid (casper 1.236), the script /usr/share/initramfs-
tools/scripts/casper has a function parse_cmdline. It iterates over the
words in /proc/cmdline looking for boot options. Inside that loop is a
case statement. Starting in line 43 we see:
ip*)
STATICIP=${x#ip=}
if [ "${STATICIP}" = "" ]; then
STATICIP="frommedia"
fi
export STATICIP ;;
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/interfaces file even if ipv6 is
disabled.
Recommend adjusting the case match from "ip*)" to "ip=*)" on line 43, so
that it won't match "ipv6.disable=1".
** Affects: casper (Ubuntu)
Importance: Undecided
Status: New
--
casper misinterprets ipv6.disable=1 on kernel command line
https://bugs.launchpad.net/bugs/586553
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs