You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TASK [strongswan : Ubuntu | Enforcing ipsec with apparmor] *************************************************************************************************************************************************
ok: [x.x.x.x] => (item=/usr/lib/ipsec/charon)
failed: [170.64.136.252] (item=/usr/lib/ipsec/lookip) => {"ansible_loop_var": "item", "changed": false, "cmd": ["aa-enforce", "/usr/lib/ipsec/lookip"], "delta": "0:00:00.347481", "end": "2024-05-04 18:30:40.163139", "item": "/usr/lib/ipsec/lookip", "msg": "non-zero return code", "rc": 1, "start": "2024-05-04 18:30:39.815658", "stderr": "Traceback (most recent call last):\n File \"/usr/sbin/aa-enforce\", line 33, in <module>\n tool.cmd_enforce()\n File \"/usr/lib/python3/dist-packages/apparmor/tools.py\", line 134, in cmd_enforce\n for (program, prof_filename, output_name) in self.get_next_for_modechange():\n File \"/usr/lib/python3/dist-packages/apparmor/tools.py\", line 97, in get_next_for_modechange\n aaui.UI_Info(_('Profile for %s not found, skipping') % output_name)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nTypeError: 'NoneType' object is not callable\n\n\nAn unexpected error occurred!\n\nFor details, see /tmp/apparmor-bugreport-szimcanc.txt\nPlease consider reporting a bug at https://gitlab.com/apparmor/apparmor/-/issues\nand attach this file.", "stderr_lines": ["Traceback (most recent call last):", " File \"/usr/sbin/aa-enforce\", line 33, in <module>", " tool.cmd_enforce()", " File \"/usr/lib/python3/dist-packages/apparmor/tools.py\", line 134, in cmd_enforce", " for (program, prof_filename, output_name) in self.get_next_for_modechange():", " File \"/usr/lib/python3/dist-packages/apparmor/tools.py\", line 97, in get_next_for_modechange", " aaui.UI_Info(_('Profile for %s not found, skipping') % output_name)", " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", "TypeError: 'NoneType' object is not callable", "", "", "An unexpected error occurred!", "", "For details, see /tmp/apparmor-bugreport-szimcanc.txt", "Please consider reporting a bug at https://gitlab.com/apparmor/apparmor/-/issues", "and attach this file."], "stdout": "", "stdout_lines": []}
ok: [x.x.x.x] => (item=/usr/lib/ipsec/stroke)
TASK [include_tasks] ***************************************************************************************************************************************************************************************
included: /path/to/file//algo/playbooks/rescue.yml for x.x.x.x
TASK [debug] ***********************************************************************************************************************************************************************************************
ok: [x.x.x.x] => {
"fail_hint": [
"Sorry, but something went wrong!",
"Please check the troubleshooting guide.",
"https://trailofbits.github.io/algo/troubleshooting.html"
]
}
TASK [Fail the installation] *******************************************************************************************************************************************************************************
fatal: [x.x.x.x]: FAILED! => {"changed": false, "msg": "Failed as requested from task"}
This is the error while deploying on 1vcpu, 1gb, ubuntu 24-04-x64 digitalocean server
(yes, i did change the config to use ubuntu 24 instead of the default 22)
The text was updated successfully, but these errors were encountered:
ItsSypher
changed the title
strongswan setup failed (apparomor issue)
strongswan setup failed (apparmor issue)
May 4, 2024
This is the error while deploying on 1vcpu, 1gb, ubuntu 24-04-x64 digitalocean server
(yes, i did change the config to use ubuntu 24 instead of the default 22)
The text was updated successfully, but these errors were encountered: