adamoutler / HassOSConfigurator

A set of Add-Ons to configure HassOS For various platforms and development purposes.
184 stars 44 forks source link

Possible related issue that prevents HASS OS update #27

Closed Paxy closed 1 year ago

Paxy commented 1 year ago

Take a look at this issue. It stopped when I deleted Run On Startup.d (0.11a) addon. https://github.com/home-assistant/operating-system/issues/2215

adamoutler commented 1 year ago

Delete the script that runs in home assistant context.

agners commented 1 year ago

Maybe worth adding a note in the add-on. People should at least stop the add-on before doing a Core update.

Paxy commented 1 year ago

Addon stop did not resolved the issue last time i tried. Probably started script is still running in background.

agners commented 1 year ago

In a quick test, a docker stop stops a process which I started using docker exec.

Maybe it also depends what your startup script exactly does?

Paxy commented 1 year ago

I used that plugin to connect remote HCI Bluetooth device with commands:

apk update
apk add linux-tools-usbip
usbip attach --remote=172.16.100.100 --busid=1-7
agners commented 1 year ago

Hm, I would expect usbip attach to do its work and exit and not hold on to any resources, but maybe it does hold on to something?

Paxy commented 1 year ago

Not sure, but it's not safe to run in that addon.

adamoutler commented 1 year ago

Yes. This addon violates the security model of docker and home assistant. Due to the open nature of the addon, there's no way to say "it's safe" because it allows you to run anything under any container.