Distribution and epmd on loopback, no cookie in any shipped file #1

Manually merged
terra merged 2 commits from jupiter/cookie-loopback into main 2026-11-23 20:18:13 +00:00
Member

The same change as macula-services/mcl-mail PR 18, which PASSed its fable review: distribution and epmd on 127.0.0.1, no cookie in any shipped file, and scripts/start.sh using the box's MCL_COOKIE or making a random 0600 cookie in /etc/mcl/secrets on first start.

Service tests in the pinned builder image: All 23 tests passed..

A host's shared epmd is on loopback only once every host-networked BEAM node on it carries ERL_EPMD_ADDRESS and epmd has restarted.

The same change as macula-services/mcl-mail PR 18, which PASSed its fable review: distribution and epmd on 127.0.0.1, no cookie in any shipped file, and scripts/start.sh using the box's MCL_COOKIE or making a random 0600 cookie in /etc/mcl/secrets on first start. Service tests in the pinned builder image: All 23 tests passed.. A host's shared epmd is on loopback only once every host-networked BEAM node on it carries ERL_EPMD_ADDRESS and epmd has restarted.
The mcl-mail#17 template. vm.args.src binds the dist listener to 127.0.0.1,
and the image sets ERL_EPMD_ADDRESS=127.0.0.1. The Containerfile and compose
no longer carry a cookie. scripts/start.sh uses MCL_COOKIE when the box gives
one, else makes a random cookie on first start in the identity volume
(/etc/mcl/secrets/erlang.cookie, 0600, via a temp file; an empty one stops
the start). Two service tests pin the files and run start.sh.
terra manually merged commit cc5443e355 into main 2026-11-23 20:18:13 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
macula-services/mcl-bookclub!1
No description provided.