The workaround is to put files before dns [NOT FOUND=return] in /etc/nsswitch.conf
This matches bug number 4040423. Its summary is: if dns [NOTFOUND=return] appears before files in /etc/nsswitch.conf, at boot-time ifconfig complains about bad address. In some cases this can cause the boot to fail.