Init scripts not executing on first boot

Hi!

I’m encountering an issue with Agama init scripts on openSUSE Leap 16.0 GA and would appreciate any guidance or confirmation if others are experiencing the same problem.

Environment

  • Distribution: openSUSE Leap 16.0 GA (released October 1, 2025)
  • Installer: Agama (from official ISO)
  • Installation method: Automated installation using JSON profile

Problem Description

According to the Agama documentation, when init scripts are included in an installation profile, Agama should create a systemd service called agama-scripts.service that executes these scripts on first boot.

Expected behavior:

  • Init scripts should run automatically on first boot
  • agama-scripts.service should be created and enabled
  • Script logs should appear in /var/log/agama-installation/scripts/init/

Actual behavior:

  • Init scripts are copied to /var/log/agama-installation/scripts/init/ with correct permissions (755)
  • The agama-scripts.service systemd unit is NOT created
  • Scripts never execute on first boot
  • journalctl -u agama-scripts.service returns “No entries”

Profile Snippet

  scripts: {
    init: [
      {
        name: "FIRST-BOOT.sh",
        content: |||
          #!/bin/bash
          echo 'System booted for the first time' > /root/init.log
          date >> /root/init.log
        |||
      }
    ],

The script itself works correctly when executed manually: this confirms the script logic is fine, but the systemd service infrastructure is missing.

Additional Context

  • Post scripts (with chroot: true) work correctly
  • Pre scripts work correctly
  • Only init scripts (first boot execution) are affected
  • The documentation clearly states this feature should work

Any insights or experiences would be greatly appreciated. Thank you!

@quasar Hi, this was supposedly fixed https://github.com/agama-project/agama/issues/2077 I would suggest you open a new issue upstream.

I’ve found out the agama-scripts package is not installed by default, so the init scripts are never started. The workaround I tested was to add the “zypper in agama-scripts” in the post sections of the scripts. I don’t know if this is an agama issue, or a leap-one. Waiting for your feedback, so I can post in the right site.
Thank you