Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-627

Default q_size doesn't match manpage's one

    • fapolicyd-1.3.2-100.el9
    • None
    • Low
    • sst_security_special_projects
    • 20
    • None
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • If docs needed, set a value
    • None

      +++ This bug was initially created as a clone of Bug #2181137 +++

      Description of problem:

      By default `/etc/fapolicyd/fapolicyd.conf` has a 640 long queue:
      ~~~
      q_size = 640
      ~~~

      But manpage states the default is 1024:
      ~~~
      q_size This option is used to control how big of an internal queue that fapolicyd will use. If requests come
      in faster than fapolicyd can answer, the queue holds the pending requests. If the do_stat_report is
      enabled, when fapolicyd shutsdown it will provide some statistics which includes maximum queue depth
      used. This information can be used to help tune performance. The default value is 1024.
      ~~~

      I think the configuration file should be aligned.

      Additionally there is a small typo in the manpage:

      "when fapolicyd shutsdown it will provide"
      ^^^^^^^^^

      Version-Release number of selected component (if applicable):

      fapolicyd-1.1.3-8.el8_7.1.x86_64

      How reproducible:

      N/A

      Acceptance Criteria:

      • fapolicyd.conf contains q_size=800
      • when q_size is not set, fapolicyd uses value 800
      • manpage claims that default value is 800

            dapospis@redhat.com Dalibor Pospíšil
            rsroka@redhat.com Radovan Sroka
            Radovan Sroka Radovan Sroka
            Dalibor Pospíšil Dalibor Pospíšil
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: