[Pkg-net-snmp-devel] Bug#983569: Bug#983569: net-snmp: please enable systemd integration
wferi at debian.org
wferi at debian.org
Mon Mar 15 18:24:30 GMT 2021
wferi at debian.org writes:
> Craig Small <csmall at debian.org> writes:
>
>> Also, how confident are you writing unit files? I can write them but must
>> admit I don't fully understand some of the more exotic features such as
>> socket activation.
>
> My on-hands experience with socket activation is rather limited, but the
> concept is not new, inetd did the trick in a more limited way. The
> technology is widely used and there's even a short snmptrapd.socket
> upstream, albeit with a somewhat confusing comment about matching.
>
> Aside, I'd recommend using Type=exec everywhere instead of (the default)
> Type=simple for the sake of better error reporting.
I opened https://salsa.debian.org/debian/net-snmp/-/merge_requests/8
with all these changes and more. And with a new autopkgtest. :)
>> The net-snmp upstream seems to think you only should do socket
>> activation for snmptrapd only, but I think you are only targeting that
>> one anyway.
>
> Yes.
Turns out the upstream socket activation code does not include UDP.
I addressed that in the merge request as well. Unfortunately this makes
the change rather bigger than I expected originally.
--
Regards,
Feri
More information about the Pkg-net-snmp-devel
mailing list