iwd.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz at gmail.com>
To: iwd at lists.01.org
Subject: Re: iwd doesn't work with openresolv
Date: Mon, 03 Jan 2022 13:05:51 -0600	[thread overview]
Message-ID: <2249097a-97e0-175a-6b02-e5d6be484498@gmail.com> (raw)
In-Reply-To: CAMhVC3Ys77EghTkso415MgyDwag4KbT_9d_NF-M+X-QGmbD3aQ@mail.gmail.com

[-- Attachment #1: Type: text/plain, Size: 815 bytes --]

Hi Yuri,

<snip>

> [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.

Regards,
-Denis

             reply	other threads:[~2022-01-03 19:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-03 19:05 Denis Kenzior [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-27 11:38 iwd doesn't work with openresolv 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=2249097a-97e0-175a-6b02-e5d6be484498@gmail.com \
    --to=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;
as well as URLs for NNTP newsgroup(s).