Skip to content
Snippets Groups Projects
Commit 8e6daab7 authored by omni's avatar omni Committed by Natanael Copa
Browse files

community/iwd: default NameResolvingService none

Patch documentation to reflect our default and provide guidance on using
the resolvconf method.
parent ea40115a
No related branches found
No related tags found
1 merge request!42677community/iwd: default NameResolvingService none
Pipeline #177752 skipped
--- a/src/resolve.c
+++ b/src/resolve.c
@@ -621,7 +621,7 @@ static int resolve_init(void)
method_name = l_settings_get_value(iwd_get_config(), "Network",
"NameResolvingService");
if (!method_name)
- method_name = "systemd";
+ method_name = "none";
for (i = 0; resolve_method_ops_list[i].name; i++) {
if (strcmp(resolve_method_ops_list[i].name, method_name))
--- a/src/iwd.config.rst
+++ b/src/iwd.config.rst
@@ -226,7 +226,7 @@ The group ``[Network]`` contains network
by default. This setting can also be overridden on a per-network basis.
* - NameResolvingService
- - Values: resolvconf, **systemd**, none
+ - Values: resolvconf, systemd, **none**
Configures a DNS resolution method used by the system.
@@ -234,10 +234,11 @@ The group ``[Network]`` contains network
``EnableNetworkConfiguration`` and provides the choice of system
resolver integration.
- If not specified, ``systemd`` is used as default.
+ If not specified, ``none`` is used as default and DNS and domain name
+ information is ignored.
- If ``none`` is specified, then DNS and domain name information is
- ignored.
+ In Alpine Linux, ``resolvconf`` requires the openresolv aport to be
+ installed.
* - RoutePriorityOffset
- Values: uint32 value (default: **300**)
......@@ -3,7 +3,7 @@
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=iwd
pkgver=2.8
pkgrel=0
pkgrel=1
pkgdesc="Internet Wireless Daemon"
url="https://iwd.wiki.kernel.org/"
arch="all"
......@@ -20,6 +20,7 @@ subpackages="
ead-openrc:ead_openrc:noarch
"
source="https://mirrors.edge.kernel.org/pub/linux/network/wireless/iwd-$pkgver.tar.gz
0001-resolving-service-none.patch
iwd.initd
iwd.confd
ead.initd
......@@ -79,6 +80,7 @@ ead_openrc() {
sha512sums="
91f4bfa3272dd6bf73bdd0ea66b3e4c530983b278d81dfcbd4e5fcbdd214aa41fe3edc9045aff5e0a33fb81a362bd07ed0517be6bc444dcbc8090083dd2aa3e5 iwd-2.8.tar.gz
dc7e8ab038b5402573ee41d00b016a3faa172fe260dd7c59d567ae0d933e5a5688aac9f0b8d4089a6b13b1a320540423182d13b3dca1cd3de17f59ae3e5f4df1 0001-resolving-service-none.patch
48fb5b5f0b4566a530bf971bcf7ec56ad155340b7d7b73d4e362a73d0395f516c1cd4f13cdf08af8b8b4d4972cbb7ef9b0594a74af474dc1ac949967e116f6fb iwd.initd
c53bfe1b18f0e965d6055e79b40d9f01d13648a4ae6124d2bcb0c6a77dc16f96980df0127c67cecd2a0319a6052f980400bb063d00c87ec016ccb350e3fe797e iwd.confd
8207a411d400bc7932829c959251a3246d1c33d342afa7070023dc90403e58b19518b2c84fe36495075a44724e2deab38970a2cc1f83bfff5abf3dff54b8ea3f ead.initd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment