Mail archive
alpine-devel

Re: [alpine-devel] Quagga setup bug

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Fri, 30 Aug 2013 15:24:25 +0200

On Fri, 30 Aug 2013 12:48:00 +0300
HL <freemail.grharry_at_gmail.com> wrote:

> On 30/08/2013 12:27 μμ, Natanael Copa wrote:
> > On Fri, 30 Aug 2013 11:35:35 +0300
> > HL <freemail.grharry_at_gmail.com> wrote:
> >
> >> Hello,
> >>
> >> It seems that when installing quagga the /etc/quagga dir
> >> is owned by root.root but it should be quagga.root
> > Are you sure? quagga should not edit the config files itself, should it?
> >
> > -nc
> Yes ...
> for instance ...
>
> Quagga programs have an interface similar to cisco
>
> telnet localhost zebra ...
> enable
> conf terminal
> bla bla bla
> write
>
> and the zebra process should be able to write the conf etc ...
>
>

I checked what fedora does:
http://pkgs.fedoraproject.org/cgit/quagga.git/tree/quagga.spec#n131

Basically, they make zebra.conf and vtysh.conf owned by quagga from
post-install script. They don't let quagga:quagga create new files or
delete existing by setting the permission on /etc/quagga. Instead,
quagga user can only edit existing files.

basically, it is up to the creator of the files and quagga package does
not create them. Maybe it should?

-nc


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Fri Aug 30 2013 - 15:24:25 GMT