-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
The exometer_core application has a dependency on setup. When setup is started as an application it starts a gen_server setup_srv, and calls run_setup/0 on this service API.
This may crash though:
2025-01-28T15:20:45.313628+00:00 [error] <0.125.0>@: Caught exception:, {badmatch,{error,eacces}}, [{setup,verify_dir,1,[{file,"/riak/_build/default/lib/setup/src/setup.erl"},{line,283}]},{setup,verify_directories,0,[{file,"/riak/_build/default/lib/setup/src/setup.erl"},{line,274}]},{setup,run_setup_,0,[{file,"/riak/_build/default/lib/setup/src/setup.erl"},{line,965}]},{setup,run_setup,0,[{file,"/riak/_build/default/lib/setup/src/setup.erl"},{line,951}]},{setup_srv,handle_call,3,[{file,"/riak/_build/default/lib/setup/src/setup_srv.erl"},{line,42}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,721}]},{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,750}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]
Only exometer_core uses setup. The only real use of setup seems to be in finding applications which have exometer_defaults in their environment variables. Most of what setup does is irrelevant to Riak. Rather than troubleshoot log noise like this, perhaps it should be removed from our version of exometer_core.
Metadata
Metadata
Assignees
Labels
No labels