Skip to content

Conversation

@fkerem
Copy link
Member

@fkerem fkerem commented Jun 23, 2025

This PR introduces a system check and interactive prompt to ensure the user’s systemd session has linger mode enabled, which is required for non-rootful containers to start automatically at boot.

SPRING relies on user-level systemd units to run Podman containers without root. However, user services do not persist across reboots unless linger is enabled with: sudo loginctl enable-linger $USER

Changelog:

  • Checks loginctl show-user $USER for Linger=yes.
  • If not set, prompts the user to enable it via sudo.
  • Aborts if the user declines or if the command fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant