Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2690

Noisy output for non-existent systemd services

    XMLWordPrintable

    Details

      Description

      There is a reports promise that generates a lot of noise on e.g. RHEL 7 systems.

      Here is the reports promise.

      From git blame it references CFE-2086. It appears this promise was added for debugging. However, it's just extra noise and should not be shipped enabled.

      When you want to DISable a service, you don't care if it's not installed. (That should be a KEPT promise, and silent.) And if you want to ENable a service, it would be a promise not kept, but that shouldn't necessarily mean cf-agent produces output when not run in debug, verbose or inform mode.

      This reports promise should be remove or more appropriately guarded.

      (Example: I have a list of 24 services (and growing) that should not be enabled on any system—and if they're not even installed, that's all the better. I don't need 24+ lines of output in /var/cfengine/outputs every agent run to tell me about it!)

        Attachments

          Activity

            People

            Assignee:
            a10042 Nick Anderson
            Reporter:
            mweilgart Mike Weilgart
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 15 minutes
                15m
                Remaining:
                Remaining Estimate - 15 minutes
                15m
                Logged:
                Time Spent - Not Specified
                Not Specified