supervisor: pull #3421 not working on supervised installation wih RaspberryMatic snapshot plugin

Describe the issue you are experiencing

RaspberryMatric on HA Supervides install (x86/amd64) throws errors, process wanting to access dynamically created devnodes can not access them:

22-02-12 07:09:36 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.ADD hardware /dev/mmd_hmip - None 22-02-12 07:09:36 INFO (MainThread) [supervisor.hardware.monitor] Detecting HardwareAction.ADD hardware /dev/mmd_bidcos - None 22-02-12 07:09:36 ERROR (MainThread) [supervisor.docker.addon] Can’t set cgroup permission on the host for addon_de838cd8_raspberrymatic-dev

See detailled description below for URL to full log

What is the used version of the Supervisor?

supervisor-2022-01.1

What type of installation are you running?

Home Assistant Supervised

Which operating system are you running on?

Debian

What is the version of your installed operating system?

Debian GNU/Linux 11 (bullseye)

What version of Home Assistant Core is installed?

core-2022.2.6

Steps to reproduce the issue

  1. Meet https://github.com/home-assistant/architecture/blob/master/adr/0014-home-assistant-supervised.md
  2. Install HA supervised https://github.com/home-assistant/supervised-installer Intel atom NUC Debian 11
  3. Buy HMIP-RFUSB https://www.amazon.de/gp/product/B07B4DP1KY/
  4. Solder HMIP-RFUSB
  5. Inset HMIP-RFUSB onto any USB port
  6. Install RaspberryMatic, latest snapshot for HA Supervised https://github.com/jens-maus/RaspberryMatic/wiki/Installation-HomeAssistant#using-homeassistant-supervised
  7. When RaspberryMatic starts, HA Supervisor throws error messages according to first supervisor log shown in: https://homematic-forum.de/forum/viewtopic.php?p=706012#p706047 (sorry, explanatory text in german, pls. use translate).

According to Jens Maus and others in the RasperryMatic Forum, this error does not occur on HAOS installations, e.g.: #3421 is making th dynamically created devnodes work. But in this supervised install it does not work.

Anything in the Supervisor logs that might be useful for us?

See above

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 23 (7 by maintainers)

Most upvoted comments

@ikifar2012是否可以再次运行安装程序而不会弄乱我的安装?我前段时间使用最新的安装程序安装了 HA。我手动更改了我的 grub-config 文件,但这没有帮助。

@filewalker1是的,但我建议备份以防万一

Thanks, It works!

Seems like a fix for the package would be to do a check for the grub file and if it doesn’t exist don’t do anything, or if the intent is to get the cgroup right you could display a message telling the user they need to update their boot line with whatever is correct.