Added note about cgroup2 protection master
authorJean-Michel Vourgère <nirgal@debian.org>
Mon, 16 Aug 2021 13:51:02 +0000 (15:51 +0200)
committerJean-Michel Vourgère <nirgal@debian.org>
Mon, 16 Aug 2021 13:51:02 +0000 (15:51 +0200)
README.rst

index 7a752b69139c5656d99193d6060d6dc1a9c84a78..9f37c36383a3827c9fd55dfcf91a3ded3678a7e4 100644 (file)
@@ -192,3 +192,6 @@ Notes to cleanup (ignore that)
     watch -n 0.5 rrdtool graphv - '-s' '1546280606' 'DEF:watts=/var/lib/rrdcached/db/power.rrd:watts:AVERAGE' 'VDEF:avg=watts,AVERAGE' 'VDEF:last=watts,LAST' 'PRINT:avg:%lf' 'PRINT:last:%lf'
     Alors que ça si:
     watch -n 0.5 rrdtool lastupdate --daemon /var/run/rrdcached.sock /var/lib/rrdcached/db/power.rrd
+
+    If you want to run in a cgroup2 protected container, you need to add:
+    lxc.cgroup2.devices.allow = c 116:* rwm