Skip to content
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

Fixed failed to open /dev/tty errors when using systemd unit management (3.21) #2958

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

craigcomstock
Copy link
Contributor

When enabling systemd unit management with the augment, e.g.:

{
"classes": {
"default:mpf_enable_cfengine_systemd_component_management": {
"regular_expressions": [ "any" ]
}
}
}

There were errors like failed to open /dev/tty no such device.

Providing --no-ask-password solves the issue.

Ticket: CFE-4445
Changelog: title
(cherry picked from commit 1763475)

When enabling systemd unit management with the augment, e.g.:

{
  "classes": {
    "default:mpf_enable_cfengine_systemd_component_management": {
        "regular_expressions": [ "any" ]
    }
  }
}

There were errors like failed to open /dev/tty no such device.

Providing --no-ask-password solves the issue.

Ticket: CFE-4445
Changelog: title
(cherry picked from commit 1763475)
@craigcomstock craigcomstock merged commit f8c857b into cfengine:3.21.x Oct 16, 2024
3 checks passed
@craigcomstock craigcomstock deleted the CFE-4445/3.21 branch October 16, 2024 14:04
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