[systemd-devel] [PATCH 1/3] core: Add LISTEN_NAMES environment variable

Richard Maw richard.maw at codethink.co.uk
Mon May 18 02:19:47 PDT 2015

On Sat, May 16, 2015 at 09:28:22PM +0000, Zbigniew Jędrzejewski-Szmek wrote:
> Why it the motivation? Patch description talks tabout passing the
> path/address in LISTEN_NAMES. Isn't this something that can be queried
> already? TODO talks about "identifiers". Is "identifier" the same thing,
> or did the TODO item about have some different meaning?

I assumed that since the TODO came about at roughly the same time that systemd
gained the ability to hold onto fds for services while they restarted, that
this would be a way to identify the purpose of returned file descriptors
without having to store a mapping of the inode number and device number to fd
purpose into /run.

The provided patch doesn't add a way to pass an identifier for a fd to systemd
though so if that were the motivation, then this patch wouldn't be sufficient.

More information about the systemd-devel mailing list