Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
Came across this systemd "bug" tonight, while trying to setup Knot Resolver 2.1.1 on Ubuntu 18.04.2. The Github page in question explicitly calls out a documentation conflict between systemd and kresd for socket clearing behavior.
@vcunat I should've caught onto that. Sorry about that. Basically, the socket will stay alive, and then quickly die on the first query. Can restart the service or the socket, but it'll die after 1st use by something. Think I had this trouble before on other Ubuntu instances, regardless of architecture; got 3.2.x running on BSD instances, no problem (no systemd sockets there).
I have no idea what could cause the systemd socket to die. I can only suggest to avoid using systemd sockets and use the old-style net.listen() in configuration:
Tomas Krizekchanged title from Can't keep sockets open on Ubuntu 18.04.2; may be related to systemd bug #12415 to Can't keep systemd sockets open on Ubuntu 18.04.2
changed title from Can't keep sockets open on Ubuntu 18.04.2; may be related to systemd bug #12415 to Can't keep systemd sockets open on Ubuntu 18.04.2
@tkrizek@vcunat I'd be willing to help do some further testing later on; if you feel that folks could be steered from using the systemd sockets on the Ubuntu systems. I already saw one comment on Reddit the other day about a guy switching to the BSDs from Linux because of systemd; this stuff only bolsters their argument.