Can a check be put in if dhcpcd is emerged to make sure it is a version that works with baselayout-1.12.0_pre5. I just updated my baselayout and then had to create a /etc/conf.d/net.eth0 with a static address to emerge a new dhcpcd. The only way I found out was to add modules=("dhcpcd") and then it told me it needed to be a certain version else it just started net.lo. Reproducible: Always Steps to Reproduce: 1. 2. 3.
the script "/lib/rcscripts/net.modules.d/dhcpcd" in baselayout-1.12.0_pre5 on line 32, is looking for "etcDir" option which is non existent in dhcpcd-1.3.22_p4-r11 after an emerge of dhcpcd-2.0.0 which provides this option, the baselayout scripts work fine. Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz Gentoo Base System version 1.12.0_pre5 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=16 -falign-jumps=16 -falign-loops=16 -falign-labels=1 -fprefetch-loop-arrays -maccumulate-outgoing-args -funroll-all-loops -freorder-blocks -fcaller-saves -fno-loop-optimize -fno-signaling-nans" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=16 -falign-jumps=16 -falign-loops=16 -falign-labels=1 -fprefetch-loop-arrays -maccumulate-outgoing-args -funroll-all-loops -freorder-blocks -fcaller-saves -fno-loop-optimize -fno-signaling-nans" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache digest distcc distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.llarian.net/ http://gentoo.osuosl.org/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.ccccom.com http://gentoo.netnitco.net http://mirrors.acm.cs.rpi.edu/gentoo/ http://mirror.datapipe.net/gentoo http://www.gigaload.org/gentoo.org/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local" SYNC="rsync://portageproxy/gentoo-portage" USE="x86 X aalib adns alsa apm arts avi bash-completion berkdb bitmap-fonts bonobo cdr crypt cups curl directfb dts eds emboss encode esd fam flac foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jack java jikes jpeg junit kde ldap libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg mysql nas ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby samba scanner sdl slang snmp speex spell sqlite sse sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
I ran into this also. It says that it requires dhcpcd-1.3.22_p4-r10 but a quick: equery list -p dhcpcd shows that that version doesn't even exist in portage. I upgraded to dhcpcd-2.0.0 as suggested previously and it worked like a charm. Would it be too much trouble to change the "required" version from 1.3.22_p4-r10 to 2.0.0 ?
I run into the same Problem here on amd64. My wireless card doesn't work after the upgrade and a have to go back to baselayout 1.11.13
Confirmed.
baselayout 1.12.0_pre6-r3 requires (still ~ marked) dhcpcd 1.3.22_p4-r12
dhcpcd-2.0.0 is now stable and baselayout-1.12.0_pre8 now reports the correct dhcpcd version required.
This (general issue) is still not fixed as of sys-apps/baselayout-1.12.0_pre10-r1 I was able to emerge this version of baselayout without issue but after rebooting, having the init script fail saying "no DHCP module found", and digging around a bit, I found that in fact my version of dhcpcd (net-misc/dhcpcd-1.3.22_p4-r11) doesn't work with this version of baselayout, and that anything >=net-misc/dhcpcd-1.3.22_p4-r12 is supposed to. Please add this as a blocker to the ebuild, or otherwise check that an incompatible version is not installed. For reference, the error I encountered is the one at line 561 of /etc/init.d/net.eth0: eerror "Cannot default to dhcp as there is no dhcp module loaded"