From: Matthias Kurz <m.kurz@irregular.at>
To: iwd@lists.linux.dev
Subject: [PATCH 0/2] network: add externally managed profiles
Date: Tue, 28 Apr 2026 13:47:55 +0200 [thread overview]
Message-ID: <20260428114809.75413-1-m.kurz@irregular.at> (raw)
Add [Settings].ExternallyManaged for network profiles whose contents are
owned by another network manager.
This is intended for setups where an external manager writes iwd profile
files so iwd can read the connection parameters, but the external manager
remains the source of truth for the file contents and secret storage
policy. In that case iwd should not rewrite the profile as a side effect
of normal network operation.
When ExternallyManaged=true is set, iwd still reads the profile and can use
it for connection setup, but skips profile writes during normal network
operation. Explicit profile removal through KnownNetwork.Forget remains
available.
This works for handcrafted profiles and for profiles mirrored by another
manager such as NetworkManager.
Matthias Kurz (2):
network: add externally managed profiles
doc: document externally managed profiles
src/iwd.network.rst | 8 ++++
src/knownnetworks.c | 8 ++++
src/knownnetworks.h | 2 +
src/network.c | 67 +++++++++++++++++++-------
src/storage.c | 17 ++++++-
unit/test-storage.c | 114 +++++++++++++++++++++++++++++++++++++++++++-
6 files changed, 196 insertions(+), 20 deletions(-)
next reply other threads:[~2026-04-28 11:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-28 11:47 Matthias Kurz [this message]
2026-04-28 11:47 ` [PATCH 1/2] network: add externally managed profiles Matthias Kurz
2026-04-28 11:47 ` [PATCH 2/2] doc: document " Matthias Kurz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260428114809.75413-1-m.kurz@irregular.at \
--to=m.kurz@irregular.at \
--cc=iwd@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox