Skip to content

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

Closed
craigcomstock wants to merge 1 commit intocfengine:masterfrom
craigcomstock:CFE-4544/master
Closed

Adjusted packaging scripts to check systemctl is-system-running#1768
craigcomstock wants to merge 1 commit intocfengine:masterfrom
craigcomstock:CFE-4544/master

Conversation

@craigcomstock
Copy link
Copy Markdown
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
Copy Markdown

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

Comment thread packaging/common/script-templates/deb-script-common.sh Outdated
@craigcomstock
Copy link
Copy Markdown
Contributor Author

@cf-bottom jenkins please

@cf-bottom
Copy link
Copy Markdown

@craigcomstock craigcomstock marked this pull request as ready for review September 29, 2025 16:03
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
Copy Markdown
Contributor Author

#1989 has these changes and more

@craigcomstock craigcomstock deleted the CFE-4544/master branch October 23, 2025 10:48
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