Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-110009

use correct logrorate size

    XMLWordPrintable

    Details

      Description

      PR: https://github.com/truenas/middleware/pull/6724

      https://linux.die.net/man/8/logrotate
      Log files are rotated only if they grow bigger then size bytes. If size
      is followed by k, the size is assumed to be in kilobytes. If the M is
      used, the size is in megabytes, and if G is used, the size is in
      gigabytes. So size 100, size 100k, size 100M and size 100Gare all
      valid.

      This should fix this issue i have on `TrueNAS-SCALE-21.02-ALPHA.1`
      `Apr 03 13:35:02 truenas.local logrotate[3719176]: error: syslog-ng-truenas:3 unknown unit 'm'`

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                bugclerk Bug Clerk
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: