X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from dal-a2.localdomain (unknown [74.117.189.115]) by mail.alpinelinux.org (Postfix) with ESMTP id D6675DC00E8 for ; Fri, 30 Aug 2013 08:15:16 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (3.203.202.84.customer.cdi.no [84.202.203.3]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@tanael.org) by dal-a2.localdomain (Postfix) with ESMTPSA id 1DC5EBC2FED; Fri, 30 Aug 2013 13:24:29 +0000 (UTC) Date: Fri, 30 Aug 2013 15:24:25 +0200 From: Natanael Copa To: HL Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Quagga setup bug Message-ID: <20130830152425.53614bd6@ncopa-desktop.alpinelinux.org> In-Reply-To: <52206A50.1030909@gmail.com> References: <52205957.4090800@gmail.com> <20130830112719.06a9588c@ncopa-desktop.alpinelinux.org> <52206A50.1030909@gmail.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.20; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 30 Aug 2013 12:48:00 +0300 HL wrote: > On 30/08/2013 12:27 =CE=BC=CE=BC, Natanael Copa wrote: > > On Fri, 30 Aug 2013 11:35:35 +0300 > > HL 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 ... >=20 > Quagga programs have an interface similar to cisco >=20 > telnet localhost zebra ... > enable > conf terminal > bla bla bla > write >=20 > and the zebra process should be able to write the conf etc ... >=20 >=20 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@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---