From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SFBKg-000624-FW for garchives@archives.gentoo.org; Tue, 03 Apr 2012 21:32:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08148E0BE9; Tue, 3 Apr 2012 21:31:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C8FE5E0BE9 for ; Tue, 3 Apr 2012 21:31:58 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3863F1B400A for ; Tue, 3 Apr 2012 21:31:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id EF9E2E5403 for ; Tue, 3 Apr 2012 21:31:56 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1333488723.37af1693b48c314224ecd207c2afa6291208412b.robbat2@gentoo> Subject: [gentoo-commits] proj/openrc:master commit in: net/ X-VCS-Repository: proj/openrc X-VCS-Files: net/ifconfig.sh.Linux.in net/iproute2.sh X-VCS-Directories: net/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 37af1693b48c314224ecd207c2afa6291208412b X-VCS-Branch: master Date: Tue, 3 Apr 2012 21:31:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 1496e56d-e741-4d2f-80ed-b717535b7a59 X-Archives-Hash: 2f6fcc56c702def4c4262a7f261aee60 commit: 37af1693b48c314224ecd207c2afa6291208412b Author: Robin H. Johnson gentoo org> AuthorDate: Tue Apr 3 21:30:01 2012 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Tue Apr 3 21:32:03 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D= commit;h=3D37af1693 net/ifconfig, net/iproute: need sysfs sysfs needs to be available before we can check interfaces. On udev systems this was not a problem, but with mdev/static-dev, there is no other need for sysfs until later in the init. X-Gentoo-Bug: 410701 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=3D410701 Signed-off-by: Robin H. Johnson gentoo.org> --- net/ifconfig.sh.Linux.in | 3 +++ net/iproute2.sh | 3 +++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/net/ifconfig.sh.Linux.in b/net/ifconfig.sh.Linux.in index 8abc998..a7e3e74 100644 --- a/net/ifconfig.sh.Linux.in +++ b/net/ifconfig.sh.Linux.in @@ -5,6 +5,9 @@ ifconfig_depend() { program /sbin/ifconfig /bin/ifconfig provide interface + case "${IFACE}" in + lo|lo0) need sysfs ;; + esac } =20 _up() diff --git a/net/iproute2.sh b/net/iproute2.sh index b420e41..c290331 100644 --- a/net/iproute2.sh +++ b/net/iproute2.sh @@ -6,6 +6,9 @@ iproute2_depend() program ip provide interface after ifconfig + case "${IFACE}" in + lo|lo0) need sysfs ;; + esac } =20 _up()