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.24) #2957

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 d6c02f0 into cfengine:3.24.x Oct 16, 2024
4 checks passed
@craigcomstock craigcomstock deleted the CFE-4445/3.24 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