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
···
1
1
+
diff --git a/src/iwd-dbus.conf b/src/iwd-dbus.conf
2
2
+
index f2509ebc..a443987d 100644
3
3
+
--- a/src/iwd-dbus.conf
4
4
+
+++ b/src/iwd-dbus.conf
5
5
+
@@ -19,10 +19,6 @@
6
6
+
<allow send_destination="net.connman.iwd"/>
7
7
+
</policy>
8
8
+
9
9
+
- <policy group="netdev">
10
10
+
- <allow send_destination="net.connman.iwd"/>
11
11
+
- </policy>
12
12
+
-
13
13
+
<policy context="default">
14
14
+
<deny send_destination="net.connman.iwd"/>
15
15
+
</policy>
16
16
+
diff --git a/wired/ead-dbus.conf b/wired/ead-dbus.conf
17
17
+
index 8a685e0a..749d0c05 100644
18
18
+
--- a/wired/ead-dbus.conf
19
19
+
+++ b/wired/ead-dbus.conf
20
20
+
@@ -17,10 +17,6 @@
21
21
+
<allow send_destination="net.connman.ead"/>
22
22
+
</policy>
23
23
+
24
24
+
- <policy group="netdev">
25
25
+
- <allow send_destination="net.connman.ead"/>
26
26
+
- </policy>
27
27
+
-
28
28
+
<policy context="default">
29
29
+
<deny send_destination="net.connman.ead"/>
30
30
+
</policy>
+6
pkgs/by-name/iw/iwd/package.nix
···
23
23
hash = "sha256-NY0WB62ehxKH64ssAF4vkF6YroG5HHH+ii+AFG9EaE4=";
24
24
};
25
25
26
26
+
patches = [
27
27
+
# Remove dbus config referencing the netdev group, which we don't have.
28
28
+
# Users are advised to use the wheel group instead.
29
29
+
./no_netdev_group.diff
30
30
+
];
31
31
+
26
32
outputs = [
27
33
"out"
28
34
"man"