Skip to content

Commit 633d8d2

Browse files
abouvierMaxKellermann
authored andcommitted
systemd: allow AF_NETLINK when upnp is enabled
mpd.service will fail to start when mpd is configured with upnp database/neighbor plugin and AF_NETLINK is not allowed in RestrictAddressFamilies=
1 parent 8ffce58 commit 633d8d2

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ ver 0.24.13 (not yet released)
66
* output
77
- pipewire: fix file descriptor leak bug after connect failure
88
- pipewire: support the "media.album" tag
9+
* systemd: allow AF_NETLINK when UPnP is enabled
910

1011
ver 0.24.12 (2026/05/15)
1112
* protocol

systemd/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ systemd_unit_conf = configuration_data()
22
systemd_unit_conf.set('prefix', get_option('prefix'))
33

44
address_families = ['AF_INET', 'AF_INET6', 'AF_UNIX']
5-
if get_option('smbclient').enabled()
5+
if get_option('smbclient').enabled() or upnp_dep.found()
66
# AF_NETLINK is required by libsmbclient, or it will exit() .. *sigh*
77
address_families += 'AF_NETLINK'
88
endif

0 commit comments

Comments
 (0)