From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10708 invoked from network); 28 Sep 2004 03:19:00 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 28 Sep 2004 03:19:00 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1CC8W1-0001Ji-4K for arch-gentoo-dev@lists.gentoo.org; Tue, 28 Sep 2004 03:18:58 +0000 Received: (qmail 9899 invoked by uid 89); 28 Sep 2004 03:18:46 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 18329 invoked from network); 28 Sep 2004 03:18:45 +0000 Date: Mon, 27 Sep 2004 23:22:15 -0400 Message-ID: <7e9ef03fd63345e7af3df03cbe0cd98b@mudra> MIME-Version: 1.0 (Generated by Pantomime 1.2.0) From: Armando Di Cianno To: gentoo-dev@lists.gentoo.org In-Reply-To: <200409272227.55951.vapier@gentoo.org> X-Image-URL: http://armando.xylite.com/images/me64x64.tiff X-Mailer: GNUMail (Version 1.2.0) Content-Type: text/plain; charset="us-ascii"; format="flowed" Subject: Re: [gentoo-dev] removing dhcpcd from system??? X-Archives-Salt: 78fded5a-8f0d-4254-bc5c-816902772dae X-Archives-Hash: 81855fe21e8df760132cd5435ec95bdb On 2004-09-27 22:27:55 -0400 Mike Frysinger wrote: > what are you talking about ? baselayout by *no* means depends on > dhcpcd > > the lastest versions dont enable anything by default ... you want > dhcp, you > enable it ... plus, it even supports more than just dhcpcd (oh wait, > there's > no virtual/dhcpc ...) armando@mudra armando $ qpkg -f /etc/conf.d/net -v net-dialup/ppp-2.4.1-r14 * sys-apps/baselayout-1.9.4-r3 * armando@mudra Projects $ sudo emerge -f baselayout Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/baselayout-1.9.4-r3 to / >>> Previously fetched file: sysvinit-2.84.tar.gz MD5 ;-) >>> Previously fetched file: rc-scripts-1.4.16.tar.bz2 MD5 ;-) >>> md5 src_uri ;-) sysvinit-2.84.tar.gz >>> md5 src_uri ;-) rc-scripts-1.4.16.tar.bz2 tar xjvf rc-scripts...tar.bz2:/etc/conf.d/net # For DHCP set iface_eth? to "dhcp" # For passing options to dhcpcd use dhcpcd_eth? # #iface_eth0="dhcp" #dhcpcd_eth0="..." _That_ is what I'm talking about. Baselayout not only run-time depends on having dhcp, but specifically depends on the package "dhcpcd". What's more ... Now, as for /etc/init.d/net.eth0 (the default installed) 47: # dhcpcd_IFACE (command-line args for dhcpcd) 54: # ifconfig_fallback_IFACE (fallback ifconfig if dhcp fails) 57: eval dhcpcd_IFACE=\"\$\{dhcpcd_$iface\}\" 91: if [[ ${ifconfig_IFACE} != dhcp ]]; then 109: /sbin/dhcpcd ${dhcpcd_IFACE} ${IFACE} 213: if [[ -z ${aliases} && -z ${inet6} && ! -e /var/run/dhcpcd-${IFACE}.pid ]]; then 241: if /sbin/dhcpcd -z ${i} &>${devnull}; then 244: /sbin/dhcpcd -z ${i} &>${devnull} || break 260: local status_IFACE vlans_IFACE dhcpcd_IFACE > no, we dont ... the point is, you want dhcp, you emerge it > -mike No, the point is, baselayout is {checking now...okay, checked the baselayout ebuild} failing to set an RDEPEND on net-misc/dhcpcd. This can be solved in a number of ways: a "support-net-dhcp" type use flag, adding configurable support to baselayout, and then supports scripts to a possible virtual/dhcp-client, etc. Either way, there are discrepencies, which is the cause of contention of both why it is bad that it was removed, and our differences in viewing what function the packages should be doing. __Armando -- gentoo-dev@gentoo.org mailing list