[Pkg-systemd-maintainers] Bug#738787: systemd: Can't get complete status of xinetd when using systemd
Michael Biebl
biebl at debian.org
Wed Feb 12 23:53:27 GMT 2014
Am 13.02.2014 00:37, schrieb Salvo Tomaselli:
> Hello,
>
>> If you are referring to the "cat /var/run/xinetd.dump", no there isn't.
>> I'm not sure what exactly xinetd.cump contains,
> See attached file.
>
>> but one possibility
>> could be to modify xinetd to use the sd_notify API [1].
> But then it would depend and build-depend on systemd.
Not quite correct. You can either embed or build-depend on
libsystemd-daemon-dev.
There is also no runtime dependency on systemd. The sd_notify API
becomes a NOOP when not run under systemd.
> And the status it's not a line, is a complete dump of the status of all the
> provided services by xinetd.
I guess this is not quite what the sd_notify API is intended for. So I'd
say, no, what you want is not covered by systemd.
The systemctl status output has a defined and consistent interface
(which is good).
What you might do is have xinetd log that information to stdout and it
will show up in the journal and systemctl status as the last 10 lines.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140213/d3e79744/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list