meta-openembedded/meta-networking
Chen Qi a8ebf23dde networkmanager: fix /etc/resolv.conf handling
The current handling of /etc/resolv.conf by NM has some problems.
When networkd is not configuring network, and there's 'ip=dhcp'
in kernel command line, the /run/NetworkManager/resolv.conf file
is not created, resulting in /etc/resolv.conf being a dead symlink.
This is because NM is treating the network interface as externally
configured and will not try to reconfigure it again.

This means if we want NM to work properly with /etc/resolv.conf,
we've got to either ensure there's no 'ip=dhcp' in kernel command
line, or we've got to ensure networkd is configuring network. This
is weird because normally we should not enable two network managers
at the same time. Note that NM syncs part of its codes with networkd,
which is the reason I think it happens to work when these two network
configuration tools are configuring the same interface at the same
time.

In fact, NM now works well with resolved. It sends the DNS info it
gets to resolved unconditionally by default (the behavior could be
disabled in configuration file).

Looking at the original commit that sets up the update-alternatives
mechanism, it says:
"""
  This brings the networkmanager in sync with how systemd-resolved and connman
  work. Additionally this allows it to function with a read-only rootFS.
"""
I guess the author was using systemd but disabling resolved, and the author
wanted to use read-only rootFS. In order to keep such combination still works,
change to use PACKAGECONFIG to handle things, and when 'man-resolv-conf' is
enabled, the above combination could still work.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-23 08:52:22 -08:00
..
classes waf-samba.bbclass: point PYTHON_CONFIG to target python3-config 2022-12-03 08:09:53 -08:00
conf layer.conf: Post release codename changes 2022-05-07 18:47:16 -07:00
dynamic-layers/meta-python/recipes-connectivity crda: Fix build with clang-15 2022-08-28 23:57:15 -07:00
files/waf-cross-answers samba: upgrade 4.14.12 -> 4.14.13 2022-04-13 19:21:41 -07:00
licenses
recipes-connectivity networkmanager: fix /etc/resolv.conf handling 2022-12-23 08:52:22 -08:00
recipes-core packagegroup-meta-networking: Remove ypbind-mt on musl 2022-08-30 00:14:58 -07:00
recipes-daemons postfix: fix multilib conflict of sample-main.cf 2022-12-05 18:02:40 -08:00
recipes-devtools libcoap: Upgrade 4.3.0 -> 4.3.1 2022-09-22 16:45:05 -07:00
recipes-extended dlm: Upgrade to 4.1.1 2022-08-30 00:14:58 -07:00
recipes-filter libnftnl: upgrade 1.2.3 -> 1.2.4 2022-11-14 11:55:59 -08:00
recipes-irc weechat: Define LIBDIR 2022-03-21 08:25:11 -07:00
recipes-kernel/wireguard wireguard-tools: Add a new package for wg-quick 2022-08-22 14:13:37 -07:00
recipes-netkit netkit-telnet: Add time.h from strftime/time prototypes 2022-09-07 16:44:54 -07:00
recipes-protocols mdns: Upgrade 1790.40.31 -> 1790.60.25 2022-12-14 08:22:04 -08:00
recipes-support nbdkit: upgrade 1.33.3 -> 1.33.4 2022-12-12 11:17:23 -08:00
COPYING.MIT
MAINTAINERS MAINTAINERS: add entry for OpenThread 2022-04-07 17:40:45 -04:00
README meta-networking,meta-python: Fix README for yocto check layer 2021-12-02 18:36:58 -08:00

meta-networking
===============

This layer is intended to be a central point for networking-related
packages and configuration.  It should be useful directly on top of
oe-core and compliments meta-openembedded.  It should be primarily useful
to the following groups:

      - Anyone building a small networking device (eg. a home router /
        bridge / switch).

      - Anyone wanting to add network services to their device (eg.
        anything that might benefit from a small ftp/tftp server)

Dependencies
------------

This layer depends on:

URI: git://git.openembedded.org/openembedded-core
branch: master

For some recipes, the meta-oe layer is required:

URI: git://git.openembedded.org/meta-openembedded
subdirectory: meta-oe
branch: master

URI: git://git.openembedded.org/meta-openembedded
subdirectory: meta-python
branch: master

Maintenance
-----------
Layer maintainers: Khem Raj <raj.khem@gmail.com>
                   Armin Kuster <akuster808@gmail.com> (recipes-netkit)


Please see the MAINTAINERS file for information on contacting the
maintainers of this layer, as well as instructions for submitting patches.