Bug 492579 - Ignored networks are shown in applet + popups
Summary: Ignored networks are shown in applet + popups
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networks widget (other bugs)
Version First Reported In: master
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-03 09:08 UTC by OllyOllyOlly
Modified: 2025-06-10 18:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Unwanted notifications (102.72 KB, image/png)
2024-09-03 09:08 UTC, OllyOllyOlly
Details
Applet list (377.02 KB, image/png)
2024-09-03 09:10 UTC, OllyOllyOlly
Details
attachment-2996888-0.html (1.41 KB, text/html)
2024-09-05 23:08 UTC, OllyOllyOlly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description OllyOllyOlly 2024-09-03 09:08:40 UTC
Created attachment 173267 [details]
Unwanted notifications

SUMMARY
Since updating to Kubuntu 24.04, I am getting popups from the Network Manager applet for ignored networks (i.e. those starting with `veth*`)

If I go into 'Configure Network Connections' the ignored networks are hidden, as expected.  If I enable 'Show Virtual Connections' in this window I can see the ignored networks.

I use Docker, via DDEV; This creates a lot of virtual networks which can create a lot of notification noise.

STEPS TO REPRODUCE
1. Create a docker network `docker network create foo`
2. Connect a container to the network `docker run --network=foo hello-world`

OBSERVED RESULT
A popup from the applet informing of a new connection to a `veth*` network

EXPECTED RESULT
No popup, as `veth*` networks should be ignored

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-40-generic (64-bit)
Graphics Platform: offscreen
Processors: 12 × Intel® Core™ i7-10850H CPU @ 2.70GHz
Memory: 62.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics

ADDITIONAL INFORMATION
This started happening when I updated from 22.04 to 24.04
Comment 1 OllyOllyOlly 2024-09-03 09:10:26 UTC
Created attachment 173268 [details]
Applet list
Comment 2 OllyOllyOlly 2024-09-03 09:10:55 UTC
The unwanted networks are also shown in the list of networks when you click on the applets.
Comment 3 Nate Graham 2024-09-05 20:27:17 UTC
Did you do something specific to mark those networks as ignored? Or was this just the way things were prior to Plasma 5.27, with no configuration required on your part?
Comment 4 OllyOllyOlly 2024-09-05 23:08:46 UTC
Created attachment 173374 [details]
attachment-2996888-0.html

As far as I know that's just how it was - I have not changed anything apart
from the system update.

On Thu, Sep 5, 2024, 21:27 Nate Graham <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=492579
>
> Nate Graham <nate@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |nate@kde.org
>
> --- Comment #3 from Nate Graham <nate@kde.org> ---
> Did you do something specific to mark those networks as ignored? Or was
> this
> just the way things were prior to Plasma 5.27, with no configuration
> required
> on your part?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 5 Ben Cooksley 2024-12-23 18:25:52 UTC
Bulk transfer as requested in T17796
Comment 6 Nate Graham 2025-06-10 17:14:24 UTC
I'm confused. You said it should hide ignored networks, but who marked them as ignored? If it wasn't you, then they haven't actually been marked as ignored, right?
Comment 7 OllyOllyOlly 2025-06-10 18:06:02 UTC
The networks in question were ignored by my `keyfile.unmanaged-devices` setting in `/etc/NetworkManager/NetworkManager.conf`:

```
...
[keyfile]
unmanaged-devices=interface-name:docker*;interface-name:veth*;interface-name:br-*;interface-name:vmnet*;interface-name:vboxnet*
```

However when I installed my VPN, it had created a file in `conf.d`:

```
[keyfile]
interface-name:wgpia* 
```

This overwrote the file in the main config, meaning that the `veth*` (among others) were ignored.

I removed the file, and added the `wgpia*` to the main `unmanaged-devices` list, and now it is behaving as expected.

Thank you for your time Nate; I have marked this as resolved.
Comment 8 Nate Graham 2025-06-10 18:18:44 UTC
Great!