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

Closed
jupiter wants to merge 1 commit from jupiter/cookie-loopback into main
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 28 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 28 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.
Distribution and epmd on loopback, and no cookie in any shipped file (macula-io/forge-setup#18)
Some checks failed
c4 model / c4-model-1 (pull_request) Failing after 3s
c4 model / c4-model (pull_request) Failing after 0s
Test / rebar3 lint, xref, eunit, dialyzer (OTP 28.4.3) (pull_request) Successful in 3m28s
Test / erlang in . (pull_request) Has been skipped
Test / guard-1 (pull_request) Successful in 3s
Test / guard (pull_request) Successful in 0s
Test / erlang in . (container) (pull_request) Failing after 7s
Test / Dependency advisories (pull_request) Failing after 0s
Test / File the tested resolve for the signer (pull_request) Has been skipped
Test / The tested lock arrives whole (pull_request) Successful in 2s
c4ccdc55ef
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.
Member

Squash-landed by hand as 032e09dab5 on main (gated; clean subject).

Squash-landed by hand as 032e09dab5edbcf1f65accbed00f454f02517638 on main (gated; clean subject).
terra closed this pull request 2026-11-23 20:22:35 +00:00
Some checks failed
c4 model / c4-model-1 (pull_request) Failing after 3s
c4 model / c4-model (pull_request) Failing after 0s
Test / rebar3 lint, xref, eunit, dialyzer (OTP 28.4.3) (pull_request) Successful in 3m28s
Test / erlang in . (pull_request) Has been skipped
Test / guard-1 (pull_request) Successful in 3s
Test / guard (pull_request) Successful in 0s
Test / erlang in . (container) (pull_request) Failing after 7s
Test / Dependency advisories (pull_request) Failing after 0s
Test / File the tested resolve for the signer (pull_request) Has been skipped
Test / The tested lock arrives whole (pull_request) Successful in 2s

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
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-stations!3
No description provided.