iwd: avoid error in the logs about a non-existing netdev group

This commit is contained in:
r-vdp
2025-06-19 12:12:52 +02:00
parent 07477ca0e6
commit 88565ccffd
2 changed files with 36 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
diff --git a/src/iwd-dbus.conf b/src/iwd-dbus.conf
index f2509ebc..a443987d 100644
--- a/src/iwd-dbus.conf
+++ b/src/iwd-dbus.conf
@@ -19,10 +19,6 @@
<allow send_destination="net.connman.iwd"/>
</policy>
- <policy group="netdev">
- <allow send_destination="net.connman.iwd"/>
- </policy>
-
<policy context="default">
<deny send_destination="net.connman.iwd"/>
</policy>
diff --git a/wired/ead-dbus.conf b/wired/ead-dbus.conf
index 8a685e0a..749d0c05 100644
--- a/wired/ead-dbus.conf
+++ b/wired/ead-dbus.conf
@@ -17,10 +17,6 @@
<allow send_destination="net.connman.ead"/>
</policy>
- <policy group="netdev">
- <allow send_destination="net.connman.ead"/>
- </policy>
-
<policy context="default">
<deny send_destination="net.connman.ead"/>
</policy>
+6
View File
@@ -23,6 +23,12 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-NY0WB62ehxKH64ssAF4vkF6YroG5HHH+ii+AFG9EaE4=";
};
patches = [
# Remove dbus config referencing the netdev group, which we don't have.
# Users are advised to use the wheel group instead.
./no_netdev_group.diff
];
outputs = [
"out"
"man"