[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2022-05-20 Thread Launchpad Bug Tracker
This bug was fixed in the package isc-dhcp - 4.4.1-2.3ubuntu3 --- isc-dhcp (4.4.1-2.3ubuntu3) kinetic; urgency=medium * debian/resolved: chown $statedir to systemd-resolve (LP: #1896772) -- Lukas Märdian Thu, 05 May 2022 10:27:34 +0200 ** Changed in: isc-dhcp (Ubuntu)

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2022-05-05 Thread Lukas Märdian
Thank you very much, Jamie, for your detailed analysis in #15! I've applied the same fix to isc-dhcp https://launchpad.net/ubuntu/+source/isc-dhcp/4.4.1-2.3ubuntu3 We can consider SRUing this to Jammy and Impish, which are affect too. But it doesn't feel too critical, as systemd-resolved usually

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2022-04-28 Thread Brian Murray
** Tags added: fr-2319 ** Also affects: ifupdown (Ubuntu Jammy) Importance: Undecided Status: New ** Also affects: isc-dhcp (Ubuntu Jammy) Importance: Undecided Status: New ** Also affects: systemd (Ubuntu Jammy) Importance: Undecided Status: New ** Changed in:

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2022-04-28 Thread Brian Murray
** Changed in: isc-dhcp (Ubuntu) Importance: Undecided => High ** Changed in: systemd (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1896772 Title:

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2022-04-18 Thread Steve Langasek
** Tags added: rls-jj-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1896772 Title: systemd-resolved configures no Current Scopes on start To manage notifications about this bug go to:

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2022-04-18 Thread Jamie Strandboge
** Changed in: isc-dhcp (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1896772 Title: systemd-resolved configures no Current Scopes on start To manage

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2022-04-18 Thread Launchpad Bug Tracker
This bug was fixed in the package ifupdown - 0.8.36+nmu1ubuntu3 --- ifupdown (0.8.36+nmu1ubuntu3) jammy; urgency=medium * debian/if-up.d/resolved: also chown $statedir to systemd-resolve:systemd-resolve (LP: #1896772) -- Jamie Strandboge Sun, 17 Apr 2022 21:21:49 + **

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2022-04-17 Thread Jamie Strandboge
** Changed in: ifupdown (Ubuntu) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1896772 Title: systemd-resolved configures no Current Scopes on start To manage

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2022-04-17 Thread Jamie Strandboge
** Also affects: ifupdown (Ubuntu) Importance: Undecided Status: New ** Also affects: isc-dhcp (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2022-04-17 Thread Jamie Strandboge
I grep'd for 'netif' in /etc and noticed: $ sudo grep -r netif /etc /etc/network/if-down.d/resolved:statedir=/run/systemd/resolve/netif /etc/network/if-up.d/resolved:statedir=/run/systemd/resolve/netif /etc/dhcp/dhclient-exit-hooks.d/resolved:statedir=/run/systemd/resolve/netif

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2022-04-17 Thread Jamie Strandboge
I see this on 22.04 after upgrading from 20.04. $ journalctl |grep 'Failed to save link data' Apr 17 15:25:52 hostname systemd-resolved[19095]: Failed to save link data /run/systemd/resolve/netif/3: Permission denied Apr 17 15:25:52 hostname systemd-resolved[19095]: Failed to save link data

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2021-11-24 Thread janl
I still have this Failed to save link data /run/systemd/resolve/netif/2: Permission denied problem on 21.10 when getting a dhcp lease. The netif directory: drwxr-xr-x 2 root root 40 nov. 24 2021 /run/systemd/resolve/netif -- You received this bug notification because you are a member of

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2021-10-22 Thread Freddy Angel
I have the same issue: systemd-resolved: Failed to save link data /run/systemd/resolve/netif/3: Permission denied The netif folder is indeed owned by root. If I change the ownership to systemd-resolved and restart the service, there is no error but as soon as I reboot the system, the

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2020-11-09 Thread Dan Watkins
When investigating another issue, I found this line in my journal, repeated a few times: nm-dispatcher[3938]: /etc/network/if-up.d/resolved: 12: mystatedir: not found Not sure if that's related, but it seems suspicious at least. -- You received this bug notification because you are a member of

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2020-11-05 Thread Max
I've hit exactly the same problem: tree -p -u -d -L 3 /run/systemd/ ... ├── [drwxr-xr-x systemd-resolve] resolve │   └── [drwxr-xr-x root] netif ... The issue happens with wi-fi interface. Could it be somehow related to iwd? I can add workaround to force proper permissions on the folder

Re: [Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2020-10-01 Thread Dan Watkins
On Thu, Oct 01, 2020 at 01:41:46PM -, Dan Watkins wrote: > > How did resolve/netif get owned by root? > > I don't believe I've ever touched it before, so I'm not sure. I haven't > rebooted since that last comment, I'll do that at some point today to > check if ownership reverts to root.

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2020-10-01 Thread Dan Watkins
> How did resolve/netif get owned by root? I don't believe I've ever touched it before, so I'm not sure. I haven't rebooted since that last comment, I'll do that at some point today to check if ownership reverts to root. If it does, what debugging can I perform to determine what's doing it? --

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2020-10-01 Thread Dan Streetman
How did resolve/netif get owned by root? It's created by systemd- resolved, which should be running as the systemd-resolve user, as that's the User= set in its service file -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2020-09-29 Thread Dan Watkins
I've just tested: changing the ownership of /run/systemd/resolve/netif to systemd-resolve:systemd-resolve resolves (haha) this issue. The first restart of systemd-resolved after the change did not address it (because the permissions issue means that the state was not persisted); on a network

Re: [Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2020-09-29 Thread Dan Watkins
On Thu, Sep 24, 2020 at 09:42:28PM -, Balint Reczey wrote: > The latest upload (246.6-1ubuntu1) may have fixed this as well. This happened again just now when I upgraded my system to the new systemd, so I assume not. Here's a log snippet of restarting: Sep 29 09:28:14 surprise systemd[1]:

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2020-09-24 Thread Balint Reczey
The latest upload (246.6-1ubuntu1) may have fixed this as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1896772 Title: systemd-resolved configures no Current Scopes on start To manage

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2020-09-24 Thread Balint Reczey
I can't reproduce that on an up to date 20.10 laptop with wifi connection only. Could you please add some more details that could help in reproduction? If you downgrade to systemd 246.4-1ubuntu1 do you still observe this bug? . ** Changed in: systemd (Ubuntu) Status: New => Incomplete --

[Bug 1896772] Re: systemd-resolved configures no Current Scopes on start

2020-09-23 Thread Dan Watkins
I haven't been able to reproduce in a lxd container or an EC2 instance; I don't have a convenient way of testing a different NetworkManager system, unfortunately. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.