cpyarger / Home-Assistant-Addons

A hass.io addon for a software defined radio tuned to listen for Utility Meter RF transmissions and republish the data via Home Assistant's API
MIT License
9 stars 4 forks source link

s6-overlay-suexec: fatal: can only run as pid 1 #8

Closed jmort66 closed 2 years ago

jmort66 commented 2 years ago

Describe the bug 's6-overlay-suexec: fatal: can only run as pid 1' when trying to start Add-on

To Reproduce Steps to reproduce the behavior:

  1. Go to SDR Meter Reader Add-on
  2. Click on Start
  3. Goto Log page
  4. See error 's6-overlay-suexec: fatal: can only run as pid 1'

Expected behavior no error

Home Assistant OS Home Assistant OS 8.0 Kernel version 5.15.38 Agent version 1.2.1

Additional context From my research, the config.yaml file should have the following line: init: false

This is supposed to correct this issue as the updated s6-overlay in the newer version of Home Assistant is expecting only a single init call.

cpyarger commented 2 years ago

Hmm I dont see this issue when I run things, But I'll look into it

pasyn commented 2 years ago

I have a hunch as to what could cause this. Could you please post the yaml for your configuration?

pasyn commented 2 years ago

@cpyarger I was able to duplicate the issue by rebuilding the addon. Most likely caused by changes upstream.

pasyn commented 2 years ago

https://developers.home-assistant.io/blog/2022/05/12/s6-overlay-base-images/

S6-Overlay update in Home Assistant is what I believe to be causing this issue. Currently testing a fix.

jmort66 commented 2 years ago

This fixed the issue for me. Thank you.