Skip to content

Adjusted detection of systemd in package scriptlets to handle more valid states (3.24)#2192

Open
craigcomstock wants to merge 1 commit intocfengine:3.24.xfrom
craigcomstock:ent-13277/3.24
Open

Adjusted detection of systemd in package scriptlets to handle more valid states (3.24)#2192
craigcomstock wants to merge 1 commit intocfengine:3.24.xfrom
craigcomstock:ent-13277/3.24

Conversation

@craigcomstock
Copy link
Copy Markdown
Contributor

In the case where a package is installed but not bootstrapped several of the components: cf-execd, cf-monitord, cf-serverd will not be able to start due to lack of ${sys.inputs}/promises.cf.
This will cause the systemctl is-system-running command to return degraded and a non-zero exit code.

Previously this would cause the cfengine3 service to not be enabled as part of the package install and so on reboots services would not be running.

Ticket: ENT-13277
Changelog: title
(cherry picked from commit 19ccbed)

Conflicts:
packaging/common/cfengine-hub/postinstall.sh
packaging/common/cfengine-non-hub/postinstall.sh

…lid states

In the case where a package is installed but not bootstrapped several of the components: cf-execd, cf-monitord, cf-serverd will not be able to start due to lack of ${sys.inputs}/promises.cf.
This will cause the `systemctl is-system-running` command to return `degraded` and a non-zero exit code.

Previously this would cause the cfengine3 service to not be enabled as part of the package install and so on reboots services would not be running.

Ticket: ENT-13277
Changelog: title
(cherry picked from commit 19ccbed)

 Conflicts:
	packaging/common/cfengine-hub/postinstall.sh
	packaging/common/cfengine-non-hub/postinstall.sh
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.

1 participant