Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Error executing action restart on resource 'service[network]' #71

@SudBisht

Description

@SudBisht

getting this issue withRHEL8

Issue:
Recipe: hostname::default
service[network] action restart

================================================================================
Error executing action restart on resource 'service[network]'

Mixlib::ShellOut::ShellCommandFailed

Expected process to exit with [0], but received '5'
---- Begin output of /bin/systemctl --system restart network ----
STDOUT:
STDERR: Failed to restart network.service: Unit network.service not found.
---- End output of /bin/systemctl --system restart network ----
Ran /bin/systemctl --system restart network returned 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions