Skip to content

CFE-4639: standard_services bundle now invokes systemctl without --global (3.24)#3149

Closed
nickanderson wants to merge 1 commit intocfengine:3.24.xfrom
nickanderson:CFE-4639/3.24.x
Closed

CFE-4639: standard_services bundle now invokes systemctl without --global (3.24)#3149
nickanderson wants to merge 1 commit intocfengine:3.24.xfrom
nickanderson:CFE-4639/3.24.x

Conversation

@nickanderson
Copy link
Copy Markdown
Member

The call_systemctl command in the systemd_services bundle passed both
--global and --system to systemctl. These flags are mutually exclusive:
--global operates on the global user configuration (affecting all users'
systemd --user instances), while --system operates on the system
manager. Passing both causes systemctl to fail with an error about
conflicting options, breaking the default standard_services bundle.

Since standard_services manages system services, --system is the
correct scope; --global has been removed.

Ticket: CFE-4639

The call_systemctl command in the systemd_services bundle passed both
--global and --system to systemctl. These flags are mutually exclusive:
--global operates on the global user configuration (affecting all users'
systemd --user instances), while --system operates on the system
manager. Passing both causes systemctl to fail with an error about
conflicting options, breaking the default standard_services bundle.

Since standard_services manages system services, --system is the
correct scope; --global has been removed.

Ticket: CFE-4639
Changelog: Title
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
(cherry picked from commit 052bb8e)
@nickanderson
Copy link
Copy Markdown
Member Author

@cf-bottom jenkins please

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.

2 participants