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:
- Comment out
COMMANDS_BEFORE_SAVE in the default config if limine-entry-tool is not installed, or
- Install
limine-entry-tool as a dependency, or
- 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