error in man page for lxc.container.conf

Bug #1957934 reported by gerbier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
Undecided
Unassigned

Bug Description

the man page or lxc.container.conf contains in "CONTROL GROUP" section the following text :
--------------
 • A allowlist device rule

                      lxc.cgroup2.devices.deny = a

         will cause LXC to instruct the kernel to block access to all devices by default. To grant access to devices allow device rules must be added via
         the lxc.cgroup2.devices.allow key. This is referred to as a "allowlist" device program.

       • A denylist device rule

                      lxc.cgroup2.devices.allow = a

         will cause LXC to instruct the kernel to allow access to all devices by default. To deny access to devices deny device rules must be added via
         lxc.cgroup2.devices.deny key. This is referred to as a "denylist" device program.
-------------------
the titles are inverted, the first is a denylist, the second is an allowlist

ubuntu version : 21.10
package version : lxc-utils 1:4.0.10-0ubuntu5 amd64

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers