Summary: | Dangling socket when *.socket unit is stopped | ||
---|---|---|---|
Product: | systemd | Reporter: | Michael Biebl <mbiebl> |
Component: | general | Assignee: | Lennart Poettering <lennart> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Michael Biebl
2010-10-04 07:27:40 UTC
As discussed on IRC: I do believe deleting sockets earlier than necessary is the wrong approach since due to socket passing we never know when the socket is really unused. Or to say this differently: if this is simply about the difference between the error codes of ECONNREFUSED and ENOENT on connect() then I think the disadvantages of unlinking the sockets arealy outweigh the advantages. In fact I would actually even go further: we probably should replace existing sockets atomically by using rename() instead the simple bind() → unlink() → bind() again logic we currently use. That way, sockets stay in the file system Anyway, closing... |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.