public inbox for iwd@lists.linux.dev
 help / color / mirror / Atom feed
From: "Diederik de Haas" <diederik@cknow-tech.com>
To: "Denis Kenzior" <denkenz@gmail.com>,
	"iwd at lists.linux.dev" <iwd@lists.linux.dev>
Subject: Re: iwd doesn't work with openresolv
Date: Sat, 28 Feb 2026 16:34:11 +0100	[thread overview]
Message-ID: <DGQPDS5MRW5U.2M870OU746RO3@cknow-tech.com> (raw)
In-Reply-To: <2249097a-97e0-175a-6b02-e5d6be484498@gmail.com>

On Mon Jan 3, 2022 at 8:05 PM CET,  wrote:
>> [Service]
>> ReadWritePaths=/etc/resolv.conf.bak
>> ReadWritePaths=/etc/resolv.conf
>> 
>> Others suggested another way to fix it:
>> 
>> RuntimeDirectory=resolvconf
>> ReadWritePaths=/etc/resolv.conf
>> 
>> https://bugs.archlinux.org/task/67069
>> 
>> Can src/iwd.service.in be adjusted?
>
> I think this or a similar issue has come up before.  The problem is that iwd 
> supports either systemd-resolved or resolvconf.  So for systems that use 
> systemd-resolved (which iwd defaults to), punching this security policy 
> exception is not needed and arguably it should not be enabled by default.
>
> Perhaps as a compromise we may be able to ship service.in with these lines added 
> & commented out.  Not sure if this would be of any help though.  Other ideas are 
> welcome.

FWIW, this issue has come up again, but now in the Debian bug tracker:
https://bugs.debian.org/1129196

And Debian's iwd package version 3.11-2 added a patch to add the
ReadWritePaths to iwd.service.in.
https://tracker.debian.org/news/1723586/accepted-iwd-311-2-source-into-unstable/

I don't know what the best/correct solution is, but it seems helpful
that it's documented somewhere (service file, man page, etc) so that
different people don't run into the same issue again and again and have
to search for a solution to it.

Cheers,
  Diederik

  reply	other threads:[~2026-02-28 15:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-03 19:05 iwd doesn't work with openresolv Denis Kenzior
2026-02-28 15:34 ` Diederik de Haas [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-27 11:38 Yuri Kanivetsky

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=DGQPDS5MRW5U.2M870OU746RO3@cknow-tech.com \
    --to=diederik@cknow-tech.com \
    --cc=denkenz@gmail.com \
    --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