Skip to content

limine-snapper-sync: COMMANDS_BEFORE_SAVE set to non-existent 'limine-reset-enroll' causes notification error on first boot #5

@bnema

Description

@bnema

Description

After first boot, a desktop notification appears from limine-snapper-notify with:

Command failed: limine-reset-enroll with exit code: 127

Exit code 127 = command not found.

Root Cause

/etc/limine-snapper-sync.conf is configured by archup with:

COMMANDS_BEFORE_SAVE="limine-reset-enroll"

The command limine-reset-enroll is provided by limine-entry-tool, which is not installed by archup. This causes limine-snapper-sync to fail every time it tries to save limine.conf.

According to the limine-snapper-sync config comments, this command is optional and only needed for Secure Boot enrollment workflows.

Fix

Either:

  1. Comment out COMMANDS_BEFORE_SAVE in the default config if limine-entry-tool is not installed, or
  2. Install limine-entry-tool as a dependency, or
  3. Only set COMMANDS_BEFORE_SAVE if Secure Boot is enabled/requested

Workaround

sudo sed -i 's/^COMMANDS_BEFORE_SAVE="limine-reset-enroll"/#COMMANDS_BEFORE_SAVE="limine-reset-enroll"/' /etc/limine-snapper-sync.conf

Environment

  • Arch Linux, fresh install via archup
  • Limine bootloader
  • limine-snapper-sync from chaotic-aur
  • Secure Boot: not configured

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions