tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
iwd: avoid error in the logs about a non-existing netdev group
r-vdp
7 months ago
88565ccf
07477ca0
+36
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
iw
iwd
no_netdev_group.diff
package.nix
+30
pkgs/by-name/iw/iwd/no_netdev_group.diff
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
diff --git a/src/iwd-dbus.conf b/src/iwd-dbus.conf
2
+
index f2509ebc..a443987d 100644
3
+
--- a/src/iwd-dbus.conf
4
+
+++ b/src/iwd-dbus.conf
5
+
@@ -19,10 +19,6 @@
6
+
<allow send_destination="net.connman.iwd"/>
7
+
</policy>
8
+
9
+
- <policy group="netdev">
10
+
- <allow send_destination="net.connman.iwd"/>
11
+
- </policy>
12
+
-
13
+
<policy context="default">
14
+
<deny send_destination="net.connman.iwd"/>
15
+
</policy>
16
+
diff --git a/wired/ead-dbus.conf b/wired/ead-dbus.conf
17
+
index 8a685e0a..749d0c05 100644
18
+
--- a/wired/ead-dbus.conf
19
+
+++ b/wired/ead-dbus.conf
20
+
@@ -17,10 +17,6 @@
21
+
<allow send_destination="net.connman.ead"/>
22
+
</policy>
23
+
24
+
- <policy group="netdev">
25
+
- <allow send_destination="net.connman.ead"/>
26
+
- </policy>
27
+
-
28
+
<policy context="default">
29
+
<deny send_destination="net.connman.ead"/>
30
+
</policy>
+6
pkgs/by-name/iw/iwd/package.nix
···
23
hash = "sha256-NY0WB62ehxKH64ssAF4vkF6YroG5HHH+ii+AFG9EaE4=";
24
};
25
0
0
0
0
0
0
26
outputs = [
27
"out"
28
"man"
···
23
hash = "sha256-NY0WB62ehxKH64ssAF4vkF6YroG5HHH+ii+AFG9EaE4=";
24
};
25
26
+
patches = [
27
+
# Remove dbus config referencing the netdev group, which we don't have.
28
+
# Users are advised to use the wheel group instead.
29
+
./no_netdev_group.diff
30
+
];
31
+
32
outputs = [
33
"out"
34
"man"