[erlang-patches] Specify file name and error reason when failing to create cookie

Magnus Henoch <>
Thu Sep 15 11:01:28 CEST 2011

I just got the error "Failed to create cookie file" when running a
build in our build environment.  It worked when I ran the same
command manually, so I resorted to patching auth.erl to tell me
exactly what's wrong.  (Turned out to be an incorrectly set HOME

I imagine this could be useful in general, so here is the patch:

git fetch git://github.com/legoscia/otp.git create_cookie_error_msg

Magnus Henoch
Erlang Solutions Ltd

More information about the erlang-patches mailing list