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
We found that some permissions for images that uses Quagga are not set correctly. This prevents from writing a configuration file directly from vtysh using the write command, leading to the following error:
root@r2:/# vtysh
% Command incomplete.
Hello, this is Quagga (version 1.2.4).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
zebra# write
Building Configuration...
Can't open configuration file /etc/quagga/zebra.conf.LoGxRJ.
[OK]
This happens since Quagga tries to write the configuration on a temporary file (/etc/quagga/zebra.conf.LoGxRJ) that is created with the wrong permission.
To fix this issue we need to add change following permission to the Quagga directory (in DockerMachine and KubernetesMachine classes) from:
chown quagga:quagga /etc/quagga/*
To:
chown --recursive quagga:quagga /etc/quagga/
In this way the quagga user owns the /etc/quagga directory, allowing the writing of the temporary configuration file.
The text was updated successfully, but these errors were encountered:
tcaiazzi
changed the title
Fix Qugga permissions that prevent from writing configuration inside vtysh
Fix Quagga permissions that prevent from writing configuration inside vtysh
May 9, 2023
tcaiazzi
changed the title
Fix Quagga permissions that prevent from writing configuration inside vtysh
Fix Quagga permissions that prevent from writing configurations inside vtysh
May 9, 2023
We found that some permissions for images that uses
Quagga
are not set correctly. This prevents from writing a configuration file directly fromvtysh
using thewrite
command, leading to the following error:This happens since
Quagga
tries to write the configuration on a temporary file (/etc/quagga/zebra.conf.LoGxRJ
) that is created with the wrong permission.To fix this issue we need to add change following permission to the Quagga directory (in
DockerMachine
andKubernetesMachine
classes) from:To:
In this way the quagga user owns the
/etc/quagga
directory, allowing the writing of the temporary configuration file.The text was updated successfully, but these errors were encountered: