bitwalker / distillery

Simplify deployments in Elixir with OTP releases!
MIT License
2.96k stars 396 forks source link

On Mac, I can remote_console, but not attach #719

Open aus70 opened 4 years ago

aus70 commented 4 years ago

Steps to reproduce

  1. Create a release of the attached minimal project: mix distillery.release
  2. Run the app: _build/dev/rel/testapp/bin/testapp console
  3. In another term _build/dev/rel/testapp/bin/testapp attach fails with error message Can't access pipe directory /Users/developer/testapp/_build/dev/rel/testapp/var/erl_pipes/testapp@127.0.0.1/: No such file or directory

Note: _build/dev/rel/testapp/bin/testapp remote_console works fine.

Erlang/OTP 21 [erts-10.3.5.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe] Elixir 1.9.0 MacOSX 10.14.6 on Intel i5

On an server with Ubuntu 18.04 LTS attach works fine, so it might be a Mac-specific issue.

Thanks! testapp.zip