]> git.openstreetmap.org Git - chef.git/commitdiff
Allow CAP_SYS_RAWIO for the ohai collector
authorTom Hughes <tom@compton.nu>
Fri, 24 Feb 2023 14:26:25 +0000 (14:26 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 24 Feb 2023 14:26:25 +0000 (14:26 +0000)
cookbooks/hardware/recipes/default.rb

index 72b405c3f60168178f547832f41ead0d8276426b..2af1124797d24f002add58d0ba2a7419782bf31c 100644 (file)
@@ -702,7 +702,7 @@ prometheus_collector "ohai" do
   interval "15m"
   user "root"
   proc_subset "all"
-  capability_bounding_set %w[CAP_DAC_OVERRIDE CAP_SYS_ADMIN]
+  capability_bounding_set %w[CAP_DAC_OVERRIDE CAP_SYS_ADMIN CAP_SYS_RAWIO]
   private_devices false
   private_users false
   protect_clock false