All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] ifupdown: set kernel parameters firstly
@ 2013-07-03  3:36 jackie.huang
  2013-07-03  3:36 ` [PATCH 1/1] init-ifupdown: " jackie.huang
  0 siblings, 1 reply; 2+ messages in thread
From: jackie.huang @ 2013-07-03  3:36 UTC (permalink / raw)
  To: openembedded-core

From: Jackie Huang <jackie.huang@windriver.com>

The following changes since commit 3e1dbabbf33a2e461abc92ff10cd970fe604ee38:

  sysstat: backport a patch to fix a parallel building error (2013-07-02 07:58:10 -0700)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib jhuang0/r_bbappend_init-ifupdown_0702_1
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jhuang0/r_bbappend_init-ifupdown_0702_1

Jackie Huang (1):
  init-ifupdown: set kernel parameters firstly

 .../init-ifupdown/init-ifupdown-1.0/init           |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

-- 
1.7.4.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] init-ifupdown: set kernel parameters firstly
  2013-07-03  3:36 [PATCH 0/1] ifupdown: set kernel parameters firstly jackie.huang
@ 2013-07-03  3:36 ` jackie.huang
  0 siblings, 0 replies; 2+ messages in thread
From: jackie.huang @ 2013-07-03  3:36 UTC (permalink / raw)
  To: openembedded-core

From: Jackie Huang <jackie.huang@windriver.com>

When do ipv6 ready test, some DAD (duplicate address detect) tests failed
since it expect IPV6 will be disabled, but not. even accept_dad has been
set to correct value 2. Further investigation shows the root cause is that
setting the kernel parameter happens after the NIC is upped.

Make kernel parameters be configured before the interfaces is upped, and
duplicate setting the kernel parameters does not have negative effect.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 .../init-ifupdown/init-ifupdown-1.0/init           |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/init b/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/init
index bace9df..fb31c63 100644
--- a/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/init
+++ b/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/init
@@ -58,6 +58,7 @@ check_network_swap() {
 case "$1" in
 start)
 	echo -n "Configuring network interfaces... "
+	sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1
 	ifup -a
 	echo "done."
 	;;
-- 
1.7.4.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-03  3:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-03  3:36 [PATCH 0/1] ifupdown: set kernel parameters firstly jackie.huang
2013-07-03  3:36 ` [PATCH 1/1] init-ifupdown: " jackie.huang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.