Don't call listen() for systemd-allocated sockets
Bug #2039395 reported by
Roshan Shariff
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm running calibre-server using systemd socket activation on Linux. For security reasons, it is running inside a container restricted with SELinux.
In the function ServerLoop.serve() in calibre/
I think the code should be changed so that both bind() and listen() are skipped for pre-allocated sockets, not just bind() as is done currently.
[1] https:/
To post a comment you must log in.
I've opened a pull request that fixes this issue: https:/ /github. com/kovidgoyal/ calibre/ pull/2069.