Skip to content
This repository was archived by the owner on Oct 13, 2026. It is now read-only.
This repository was archived by the owner on Oct 13, 2026. It is now read-only.

Rechunker removes some directories in /var, breaking some services #18

Open

Description

@onesaladleaf

We build fedora-based images using bootc. After adding the rechunker we noticed some services breaking because of it removing directories in /var during the "Removing top level directory contents" step.

One example: rechunker removes /var/spool/at resulting in atd.service breaking because it can't find this directory. Some other services noticed to be affected are logrotate.service and plocate-updatedb.service

For some context, here's the hhd-dev/rechunk call in our workflow file: https://github.com/pocketblue/pocketblue/blob/8936423fbcb8113d68cf2be969a687e2d4714ce1/.github/workflows/helper-build-container.yml#L57

Activity

  1. antheas commented on Oct 4, 2025

    @antheas
    Collaborator

    I will try to look at it tomorrow. FYI /var in ostree needs to be mounted to your root partition or a subvolume. So it needs to be empty

    You should populate it using e.g. systemd temp dir

  2. antheas commented on Oct 4, 2025

    @antheas
    Collaborator

    Rechunk tries to save some of var into a directory that acts as a var factory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions