Wind River Support Network

HomeDefectsLIN1018-2920
Not to be fixed

LIN1018-2920 : ifupdown : ifdown lo failed when use empty config file.

Created: Nov 13, 2018    Updated: Apr 29, 2021
Resolved Date: Apr 29, 2021
Found In Version: unknown
Severity: Standard
Applicable for: Wind River Linux LTS 18
Component/s: Userspace

Description

1) . oe-init-build-env 
  
2) vim conf/local.conf 

IMAGE_INATLL_append += " ifupdown " 

3) bitbake wrlinux-image-glibc-cgl 
4) boot the target 
5) run command as problem description

root@intel-x86-64:~/ifupdown# echo '' > /etc/network/interfaces 
root@intel-x86-64:~/ifupdown# ifup lo 
ifup: interface lo already configured 
root@intel-x86-64:~/ifupdown# ifdown lo 
root@intel-x86-64:~/ifupdown# ifconfig 
eth0 Link encap:Ethernet HWaddr 00:1e:67:65:7f:10 
          inet addr:128.224.178.67 Bcast:128.224.179.255 Mask:255.255.254.0 
          inet6 addr: fe80::21e:67ff:fe65:7f10/64 Scope:Link 
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 
          RX packets:4061335 errors:0 dropped:1098 overruns:0 frame:0 
          TX packets:1126705 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:1000 
          RX bytes:1784862736 (1.6 GiB) TX bytes:226304557 (215.8 MiB) 
          Memory:d0960000-d097ffff 

lo Link encap:Local Loopback 
          inet addr:127.0.0.1 Mask:255.0.0.0 
          inet6 addr: ::1/128 Scope:Host 
          UP LOOPBACK RUNNING MTU:65536 Metric:1 
          RX packets:9251 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:9251 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:1000 
          RX bytes:468772 (457.7 KiB) TX bytes:468772 (457.7 KiB) 

Steps to Reproduce

1) setup.sh

--machine intel-x86-64 --templates feature/LAMP feature/gcc-sanitizers feature/gdb feature/ipv6 feature/lttng feature/mariadb feature/nfsd feature/ntp feature/software-entropy feature/system-stats feature/target-toolchain feature/test --dl-layers --layers meta-filesystems meta-virtualization --distro wrlinux-cgl

2)  . oe-init-build-env
 
3) vim conf/local.conf

IMAGE_INATLL_append += "  ifupdown "

5) bitbake wrlinux-image-glibc-cgl
6) boot the target
7) run command as problem description
Live chat
Online