[NanoMQ] - NanoMQ dies on boot when hostapd is present

Open
#79 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
shell

Research direction

Compare the S75 boot path with rcS, rcK, and start-stop-daemon execution, using the hostapd-present boot on nero or tpu as the starting case. Check the nng_listen failure in the boot logs and determine why NanoMQ behaves differently during startup. Done means NanoMQ boots successfully with hostapd present and the failure is reproducible or explained.

Written by the indexing model from the issue text.

Description

bug
Observed Behavior

Nanomq dies on bootup. It never dies when running in any scenario, except when run on the bootup.

Runs fine when

  • run manually via S75
  • run via rcS after rcK
  • run with cli
  • run with start-stop-daemon
  • run after rming all logs, confs

Dies when:

  • run via S75 by bootup rcS
  • run via cli in another bootup's script

Doesn't seem related to calypso, even when disabled it fails.

Expected Behavior

Should just boot correctly when it is run.

May need to raise with upstream, borderline impossible to reproduce outside of the init script so...

Is this related to #78 ?

Steps to Reproduce
  1. boot nero or tpu
  2. obverse failure
Screenshots (as needed)

Logs

nng-nanomq[274]: broker nng_listen

broker nng_listen entry not found or smthing like that forgot to copy this part down.

Dominant language
Shell
Stars
5
Forks
1
Avg merge
3d 17h
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Northeastern-Electric-Racing/Odysseus

All issues in Northeastern-Electric-Racing/Odysseus

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.