Skip to content

Install libsctp1 in the image - #322

Merged
ericmj merged 1 commit into
mainfrom
install-libsctp
Oct 19, 2026
Merged

ericmj merged 1 commit into
mainfrom
install-libsctp

Conversation

@ericmj

@ericmj ericmj commented Oct 19, 2026

Copy link
Copy Markdown
Member

Erlang/OTP 29.1.1 from hexpm/elixir loads libsctp.so.1 when it starts (unix_socket_syncio.c#L1288) and, when it can't, prints

=ESOCK WARNING MSG==== ... ===
[UNIX-ESSIO] Failed open sctp dynamic library: libsctp.so.1

There's no setting to turn the warning off. debian:trixie-slim doesn't have the library, so every VM in the image printed it: the release at boot, and every eval and rpc. libsctp1 is 100 kB installed.

hexpm_deploy's image, built locally with the same change, printed no warning from its release VM or erl, and printed it from both with libsctp1 removed.

Erlang/OTP 29.1.1 from hexpm/elixir loads libsctp.so.1 when it starts
and, when it can't, prints

    =ESOCK WARNING MSG==== ... ===
    [UNIX-ESSIO] Failed open sctp dynamic library: libsctp.so.1

debian:trixie-slim doesn't have it, so every VM in the image printed the
warning: the release at boot, and every eval and rpc. libsctp1 is 100 kB
installed.
@ericmj
ericmj merged commit cf09b9f into main Oct 19, 2026
8 checks passed
@ericmj
ericmj deleted the install-libsctp branch October 19, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant