Closed marcosfrm closed 3 years ago
jul 31 21:45:48 xxx systemd[1]: Started WSD/LLMNR Discovery/Name Service Daemon. jul 31 21:45:48 xxx wsdd2[615]: cannot read additional dns hostnames from testparm jul 31 21:45:49 xxx wsdd2[615]: cannot read netbios aliases from testparm jul 31 21:45:49 xxx wsdd2[615]: starting. jul 31 21:45:49 xxx wsdd2[615]: open_ep: SO_RCVBUFFORCE: Operation not permitted
From https://github.com/Netgear/wsdd2/commit/abc81538d651f9ac682c8b8d79f5bbcb018d46fd.
SO_RCVBUFFORCE needs CAP_NET_ADMIN (man 7 socket).
SO_RCVBUFFORCE
CAP_NET_ADMIN
man 7 socket
https://github.com/Netgear/wsdd2/blob/5a0071745404be122c6ed6e42bcee601360a9859/wsdd2.service#L10
AmbientCapabilities=CAP_NET_RAW CAP_NET_ADMIN
From https://github.com/Netgear/wsdd2/commit/abc81538d651f9ac682c8b8d79f5bbcb018d46fd.
SO_RCVBUFFORCE
needsCAP_NET_ADMIN
(man 7 socket
).https://github.com/Netgear/wsdd2/blob/5a0071745404be122c6ed6e42bcee601360a9859/wsdd2.service#L10