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 #2956

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

craigcomstock
Copy link
Contributor

@craigcomstock craigcomstock commented Oct 14, 2024

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

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
@craigcomstock craigcomstock merged commit ba9359f into cfengine:master Oct 15, 2024
4 checks passed
@craigcomstock craigcomstock deleted the CFE-4445/master branch October 15, 2024 20:57
@craigcomstock
Copy link
Contributor Author

cherry picks
#2958 (3.24)
#2957 (3.21)

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