for some odd/wrong reason, iproute2 in general (/sbin/ip in my case) depends on CONFIG_NETLINK_DEV, which I didn't enable because it's marked obsolete which caused lo to fail (which is annoying, no 127.0.0.1 heh).. possible workaround is changing : [[ ${iface} == "lo" ]] && modules_force=( "iproute2" "ifconfig" ) to [[ ${iface} == "lo" ]] && modules_force=( "ifconfig" "iproute2" ) or patch iproute2 but i'm not aware of any fix. Reproducible: Always Steps to Reproduce: 1. disable CONFIG_NETLINK_DEV in your kernel config. 2. reboot with the new kernel and watch lo fail to come up. Actual Results: * Starting lo * Bringing up lo * 127.0.0.1/8 RTNETLINK answers: File exists Expected Results: * Starting lo * Bringing up lo * 127.0.0.1/8 [ ok ] * Adding routes * 127.0.0.0/8 ... [ ok ] Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.12-rc1-love1 i686) relative packages/versions : sys-apps/net-tools-1.60-r11 sys-apps/baselayout-1.12.0_alpha1-r4 sys-apps/iproute2-2.6.11.20050310-r1 sys-devel/gcc-3.4.3.20050110-r1 sys-kernel/linux-headers-2.6.8.1-r2 sys-libs/glibc-2.3.4.20050125-r1 I'm betting good money that it's caused by the 2.6.8 headers..
zcat /proc/config.gz | grep CONFIG_NETLINK_DEV # CONFIG_NETLINK_DEV is not set /etc/init.d/net.lo restart * WARNING: you are stopping a boot service. * Stopping lo * Loading networking modules for lo * modules: iproute2 * Bringing down lo * Shutting down lo ... [ ok ] * Starting lo * Loading networking modules for lo * modules: iproute2 * iproute2 provides interface * Bringing up lo * 127.0.0.1/8 [ ok ] * Adding routes * 127.0.0.0/8 ... [ ok ] As you can see, it works fine here Reporter, please test with gentoo-sources-2.6.11-r5. If that fails, attach your kernel config (for gentoo-sources, not love sources) to this bug.
Created attachment 55402 [details] my .config for love-sources-2.6.12-rc1-r1 + upd01 I'm sorry, I can't test with gentoo-sources because I use reiser4, however I noticed something different in your output. * Loading networking modules for lo * modules: iproute2 * iproute2 provides interface I never got that "step" (neither after nor before my changes), are you using an updated version of baselayout or something? mine with iproute2 : * Stopping lo * Bringing down lo * Shutting down lo ... [ ok ] * Starting lo * Bringing up lo * 127.0.0.1/8 RTNETLINK answers: File exists [ !! ] peace
To get similar output, add RC_VERBOSE="yes" to /etc/conf.d/rc You can test reiser4 with gentoo-sources-2.6.11-r5 with the patch at ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.11/ - it applies just fine. Please test on gentoo-sources-2.6.x
yes, please test with a less retarded kernel
Created attachment 56239 [details, diff] doesn't error when lo already has 127.0.0.1 assigned by the kernel In CVS - will be in baselayout-1.12.0-alpha2
Fixed in baselayout-1.12.0-alpha2