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

linux packer error #768

Closed
edwardxwu opened this issue Mar 13, 2023 · 2 comments · Fixed by #787
Closed

linux packer error #768

edwardxwu opened this issue Mar 13, 2023 · 2 comments · Fixed by #787

Comments

@edwardxwu
Copy link

edwardxwu commented Mar 13, 2023

amazon-ebs.ubuntu-18-04: TASK [linux_sysmon : launch with config] ***************************************
amazon-ebs.ubuntu-18-04: fatal: [default]: FAILED! => {"changed": true, "cmd": "sysmon -accepteula -i /tmp/SysMonLinux-CatchAll.xml", "delta": "0:00:03.213770", "end": "2023-03-12 07:47:54.257545", "msg": "non-zero return code", "rc": 1, "start": "2023-03-12 07:47:51.043775", "stderr": "Created symlink /etc/systemd/system/multi-user.target.wants/sysmon.service → /etc/systemd/system/sysmon.service.\nJob for sysmon.service failed because the control process exited with error code.\nSee "systemctl status sysmon.service" and "journalctl -xe" for details.", "stderr_lines": ["Created symlink /etc/systemd/system/multi-user.target.wants/sysmon.service → /etc/systemd/system/sysmon.service.", "Job for sysmon.service failed because the control process exited with error code.", "See "systemctl status sysmon.service" and "journalctl -xe" for details."], "stdout": "", "stdout_lines": []}
amazon-ebs.ubuntu-18-04:
amazon-ebs.ubuntu-18-04: PLAY RECAP *********************************************************************
amazon-ebs.ubuntu-18-04: default : ok=38 changed=32 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
amazon-ebs.ubuntu-18-04:
==> amazon-ebs.ubuntu-18-04: Provisioning step had errors: Running the cleanup provisioner, if present...
==> amazon-ebs.ubuntu-18-04: Terminating the source AWS instance...
==> amazon-ebs.ubuntu-18-04: Cleaning up any extra volumes...
==> amazon-ebs.ubuntu-18-04: Deleting temporary security group...
==> amazon-ebs.ubuntu-18-04: Deleting temporary keypair...
Build 'amazon-ebs.ubuntu-18-04' errored after 10 minutes 23 milliseconds: Error executing Ansible: Non-zero exit status: exit status 2

==> Wait completed after 10 minutes 23 milliseconds

==> Some builds didn't complete successfully and had errors:
--> amazon-ebs.ubuntu-18-04: Error executing Ansible: Non-zero exit status: exit status 2

attack_range.yml:
linux_servers:

  • hostname: ar-linux
@P4T12ICK
Copy link
Collaborator

Thank you for reporting this issue. We will work on it. As long as it's not working expected, you can use disable packer.

@P4T12ICK
Copy link
Collaborator

Potential Sysmon for Linux issue. See issue here:
microsoft/SysmonForLinux#101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants