Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upsystemd Socket activation: EOPNOTSUPP #1241
Comments
This comment has been minimized.
This comment has been minimized.
Are you running on Windows a la #1240 ? |
This comment has been minimized.
This comment has been minimized.
No, this is a Debian Jessie. Nothing special done on it except upgrading Puma from 3.7.1 (working fine) to 3.8.1. |
This comment has been minimized.
This comment has been minimized.
I have the same issue on Ubuntu 16.04 with Ruby 2.3.1p112. |
This comment has been minimized.
This comment has been minimized.
when deploying after updating, haven't done any real investigation yet. Ubuntu 16.04.2 LTS
|
This comment has been minimized.
This comment has been minimized.
seems related to this commit: baccf80#diff-ef4c610f0ce605eb90f2810856394fd5 |
This comment has been minimized.
This comment has been minimized.
It looks like sockopts vary between distros then. We should at least |
This comment has been minimized.
This comment has been minimized.
paging @sirupsen |
This comment has been minimized.
This comment has been minimized.
That code should only be being run on linux..... Weird that some linuxes (linuxi?) don't support it... Basically we'd need to rescue any error seen by this and disable it for the process. I'll go ahead and make that change since this is a breaking issue. |
This comment has been minimized.
This comment has been minimized.
Wow, that's very unexpected. Thanks @evanphx for the quick fix. |
Steps to reproduce
Expected behavior
Puma runs and activate the socket pre-created by systemd. Works fine with Puma 3.7.1 (worked before, works again when changing the version in out bundle).
Actual behavior
System configuration
Ruby version: 2.4.0
Rails version: 5.1-master
Puma version: 3.8.1