Jump to content
  • [6.10.3] Logrotate 3.18.1 causing errors


    tmchow
    • Minor

    Since upgrading from 6.9 to 6.10.3, I'm getting errors for a logrotation:

     

    keyword 'size' not properly separated, found 0x3d

     

    My configuration for my job is:

     

    /var/log/foobar/debug.log {
      su root root
      size=1M
      rotate 5
      notifempty
      missingok
    }

     

    Looking into this, the problem is with logrotation 3.18.1 which is in Unraid 6.10.3:

    https://www.linuxquestions.org/questions/showthread.php?p=6253137

     

     




    User Feedback

    Recommended Comments

    5 hours ago, Squid said:

    Have you tried 

    size 1M

    instead?

     

    Yes I have, and that works. But the issue here is that size=1M is valid syntax that worked in older versions of logrotate and is a bug in 3.18.1 and fixed in their current version.

    Link to comment
    On 7/10/2022 at 3:42 PM, Squid said:

    Have you tried 

    size 1M

    instead?

    This is also an issue with the included docker logrotate config file for me. Have to edit it after every reboot.

    Link to comment


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.

×
×
  • Create New...