[systemd-devel] [PATCH] journald: collect process data from socket data
Łukasz Stelmach
l.stelmach at samsung.com
Tue Jun 3 02:21:33 PDT 2014
It was <2014-06-01 nie 07:52>, when Lennart Poettering wrote:
> On Fri, 30.05.14 12:45, Piotr Wilczek (p.wilczek at samsung.com) wrote:
>
>> This patch adds posibility for journal to get process data from
>> socket data (if available) instead of from procfs.
>>
>> Additionally a new procinfo structure is added to store all process
>> data in single place. This data include creditentials and status.
>>
>> To enable this functionality, SO_PASSPROC socket option must be set.
>> This option is introduced in:
>> http://lwn.net/Articles/600564/
>
> I really *love* this work! It would be fantastic if we could get this done.
>
> Hmm, I am not seeting that SO_PASSPROC is actually turned on in this
> patch? Am I missing something? This really needs to be an option that
> can be turned on from the sending side, otherwise it would be only half
> as useful...
"sending side"? Do you mean a daemon have to turn it on? IMHO it is
systemd's job to set up a socket for service to log to, or journald's job
to "request" this info to be passed to it. What am I missing?
--
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140603/3d616826/attachment.sig>
More information about the systemd-devel
mailing list