Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-5891

logrotate script fails on ubuntu 24.04

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 23.10.3
    • None
    • None
    • None
    • OS: Ubuntu 24.04
    • 2025-11, 2026-7

    Description

      the logrotate script fails with following error:

      Feb 08 00:00:06 ih-prod-cs-01 systemd[1]: Starting logrotate.service - Rotate log files...
      Feb 08 00:00:06 ih-prod-cs-01 logrotate[2748920]: error: error creating output file /etc/columnstore/Columnstore.xml-20250208: Read-only file system
      Feb 08 00:00:06 ih-prod-cs-01 systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE

      the problem seems to be caused by the way logrotate is started on ubuntu.

      the logroate unit contains ProtectSystem=full which mounts /etc/ readonly for the process.

      Attachments

        Activity

          People

            vasily.kozhukhovskiy Vasily Kozhukhovskiy
            mgolisch Michael Golisch
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1d 2h 40m Original Estimate - 1d 2h 40m
                1d 2h 40m
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 8d
                8d

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.