[oe] quagga permission issue detected

Martin Jansa martin.jansa at gmail.com
Wed Mar 2 18:07:49 UTC 2016


On Wed, Mar 02, 2016 at 01:53:37PM -0300, Gerson Fernando Budke wrote:
> Hello Martin and Joe,

Hello Gerson,

I have no experience with quagga, you have higher chance to connect
with people actually using quagga on target machines if you send an
e-mail to oe-devel ML.

Did you check that the files are owned by quagga user? E.g. if you
forget to use --numeric-owner parameter when untaring the image, you
can get wrong UIDs and that could result in errors like this.

Regards,

> I have work with yocto to build quagga and everything is fine but when
> system boot up I receive the messages below:
> 
> Starting Quagga daemons: zebravty_read_config: failed to open configuration
> file /etc/quagga/zebra.conf: Permission denied
> can't open configuration file [/etc/quagga/zebra.conf]
>  bgpdvty_read_config: failed to open configuration file
> /etc/quagga/bgpd.conf: Permission denied
> can't open configuration file [/etc/quagga/bgpd.conf]
>  ripdvty_read_config: failed to open configuration file
> /etc/quagga/ripd.conf: Permission denied
> can't open configuration file [/etc/quagga/ripd.conf]
>  ripngdvty_read_config: failed to open configuration file
> /etc/quagga/ripngd.conf: Permission denied
> can't open configuration file [/etc/quagga/ripngd.conf]
>  ospfdvty_read_config: failed to open configuration file
> /etc/quagga/ospfd.conf: Permission denied
> can't open configuration file [/etc/quagga/ospfd.conf]
>  ospf6dvty_read_config: failed to open configuration file
> /etc/quagga/ospf6d.conf: Permission denied
> can't open configuration file [/etc/quagga/ospf6d.conf]
>  isisdvty_read_config: failed to open configuration file
> /etc/quagga/isisd.conf: Permission denied
> can't open configuration file [/etc/quagga/isisd.conf]
>  babeld.
> vty_read_config: failed to open configuration file /etc/quagga/babeld.conf:
> Permission denied
> can't open configuration file [/etc/quagga/babeld.conf]
> 
> I detect this problem with powerpc kernel 3.12 and cortex-a9 kernel 3.4,
> both embedded system.
> This affect quagga version 0.99.23/0.99.24 and I don't compile quagga with
> any older version.
> 
> I realize that when I put this configuration in /etc/default/quagga file
> the system work:
> 
> zebra_options=" --daemon -A 127.0.0.1 -u root"
> babeld_options="--daemon -A 127.0.0.1 -u root"
> bgpd_options="  --daemon -A 127.0.0.1 -u root"
> ospfd_options=" --daemon -A 127.0.0.1 -u root"
> ospf6d_options="--daemon -A ::1 -u root"
> ripd_options="  --daemon -A 127.0.0.1 -u root"
> ripngd_options="--daemon -A ::1 -u root"
> isisd_options=" --daemon -A 127.0.0.1 -u root"
> 
> So, is this a yocto misconfiguration or quagga configuration?
> 
> Best Regards,
> Gerson

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160302/af057d5c/attachment-0002.sig>


More information about the Openembedded-devel mailing list