Skip to content

Adjusted packaging scripts to check systemctl is-system-running #1768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

craigcomstock
Copy link
Contributor

In the case of containers running debian 11 and such, systemctl command is available but the system may not be running.

systemctl is-system-running is a better check as to whether we should execute systemd related commands.

Ticket: CFE-4544
Changelog: title

@craigcomstock craigcomstock marked this pull request as draft June 20, 2025 18:03
@cf-bottom
Copy link

Thanks for submitting a pull request! Maybe @larsewi can review this?

In the case of containers running debian 11 and such, systemctl command is available but the system may not be running.

systemctl is-system-running is a better check as to whether we should execute systemd related commands.

Ticket: CFE-4544
Changelog: title
@craigcomstock
Copy link
Contributor Author

@cf-bottom jenkins please

@cf-bottom
Copy link

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

Successfully merging this pull request may close these issues.

3 participants