# CGroup cannot be set to v1, AppArmor not active, required for Home Assistant

**URL:** https://dietpi.com/forum/t/cgroup-cannot-be-set-to-v1-apparmor-not-active-required-for-home-assistant/16431
**Category:** Troubleshooting
**Created:** [30 March 2023 06:54 UTC](https://dietpi.com/forum/t/cgroup-cannot-be-set-to-v1-apparmor-not-active-required-for-home-assistant/16431 "2023-03-30T06:54:46Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [30 March 2023 11:37 UTC](https://dietpi.com/forum/t/cgroup-cannot-be-set-to-v1-apparmor-not-active-required-for-home-assistant/16431/2 "2023-03-30T11:37:50Z")

</div>

I see it has been reported already to HA forum [HA supervised install on Debian bullseye brings cgroup and apparmor warnings - Installation - Home Assistant Community](https://community.home-assistant.io/t/ha-supervised-install-on-debian-bullseye-brings-cgroup-and-apparmor-warnings/553805)

Just to avoid a misunderstanding, DietPi is not an own OS. It’s a set of bash script on top of Debian.

Depending on SBC / manufacture, we use different kernel / configuration. Therefore, you need to be careful which guide you are using as there might be differences depending on SBC. The guide linked above is dedicated to RaspberryPi. Configuration shown inside guide will not work on NanoPi R5S as they use completely different kernel. The configuration file `/boot/cmdline.txt` even did not exist on NanoPi R5S. Therefore your adjustments done will have no effect.

Actually I’m not 100% sure where to adjust `cgroup` on NanoPi R5S, but maybe @MichaIng knows.

in general, it is possible to install Home Assistant Supervised on DietPi but depending on your SBC some tweak might be needed. Personally I did a test a couple of years back [Home Assistant Supervised on DietPi - #8 by Joulinar](https://dietpi.com/forum/t/home-assistant-supervised-on-dietpi/4726/8)

---

_[View the full topic](https://dietpi.com/forum/t/cgroup-cannot-be-set-to-v1-apparmor-not-active-required-for-home-assistant/16431)._
