Skip to content

Keep update boot journal on data mount #68

Description

@DaniusKalv

Hardware validation of #45 found that a boot which comes up locked keeps its journal in RAM only, so a failed update boot leaves nothing behind. Both silent failures in that round were diagnosed from update.json alone.

Mitigated in the update path: each run now copies its own journal to /var/lib/camlab/update.log before rebooting. That covers the updater and nothing else and it misses the lines written after copy.

The real fix is a journal that survives reboot on a read-only box, either by pointing /var/log/journal at the data mount or by keeping a persistent journal for update boots only.

Activity

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

    bootBoot time, config.txt, systemd, read-only rootenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions