Skip to content

Make VM journal volatile by default #8832

@emanruse

Description

@emanruse

The problem you're addressing (if any)

Considering the way Qubes OS works, journal persistence in client qubes makes no sense, as the volatile volume is volatile anyway. Tracking potential issues can still be done by observing the current boot journal, or explicitly, temporarily enabling journal persistence (in template or using bind-dirs). This is an advanced administrative task anyway, so it is not supposed to be done by users on a regular basis, i.e. won't hurt usability. Other distros (e.g. openSUSE) have volatile journal by default too.

The solution you'd like

In the template:

sed -ri 's/#Storage=.*/Storage=volatile/g' /etc/systemd/journald.conf

Reboot the template, then remove the old persistent journal from /var/log/journal.

The value to a user, and who that user might be

Moving journal to tmpfs would reduce unnecessary SSD writes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: storageThis issue pertains to storage in Qubes OS.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.release notesThis issue should be mentioned in the release notes.

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions