Open tcaiazzi opened 11 months ago
Thank you for the mention!
I've already forked this repo and made the change to fix it, you can see it here.
I had spoken with @lorenzo93 about opening a PR but we decided not to (he said you'd rather find a real fix).
If you want, I can open a PR later today with this (small) change.
I had spoken with @lorenzo93 about opening a PR but we decided not to (he said you'd rather find a real fix).
Oh, I missed it. However, after discussing, we think it is better to include the workaround to avoid problems with students. I will test the new image on all the platforms and if it works, we will add the workaround.
Thanks to @Aperence and @buonhobo, we found an error while starting
frr.service
on Fedora (KatharaFramework/Kathara-Labs#31) and Arch (KatharaFramework/Kathara#248).Substantially, when running FRR on a Fedora or Arch host using the
kathara/frr
image, it returns the errorfork(): Cannot allocate memory
.Currently, we don't know the reason for the problem, however @buonhobo provided us a workaround to temporary fix it :heart_eyes:
It's pretty simple, it only requires adding a file named
/etc/systemd/system/frr.service.d/workaround.conf
in thekathara/frr
image.This is the file's content:
This will override the default
frr systemd
unit so that it wraps the command withsu
.We need to include the workaround in the next
kathara/frr
release.