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 BC466DC009A for ; Fri, 30 Aug 2013 09:15:47 +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 D356BBC3087; Fri, 30 Aug 2013 14:25:00 +0000 (UTC) Date: Fri, 30 Aug 2013 16:24:56 +0200 From: Natanael Copa To: Timo Teras Cc: HL , alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Quagga setup bug Message-ID: <20130830162456.1aab4d05@ncopa-desktop.alpinelinux.org> In-Reply-To: <20130830164933.7563c2f1@vostro> References: <52205957.4090800@gmail.com> <20130830112719.06a9588c@ncopa-desktop.alpinelinux.org> <52206A50.1030909@gmail.com> <20130830152425.53614bd6@ncopa-desktop.alpinelinux.org> <20130830164933.7563c2f1@vostro> 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 16:49:33 +0300 Timo Teras wrote: > On Fri, 30 Aug 2013 15:24:25 +0200 > Natanael Copa wrote: >=20 > > On Fri, 30 Aug 2013 12:48:00 +0300 > > HL wrote: > >=20 > > > 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 > >=20 > > I checked what fedora does: > > http://pkgs.fedoraproject.org/cgit/quagga.git/tree/quagga.spec#n131 > >=20 > > 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. > >=20 > > basically, it is up to the creator of the files and quagga package > > does not create them. Maybe it should? >=20 > I thought quagga writes first a temp file to same dir, and then renames > it as the original filename. I needed to make the dir writable to > quagga because of this in many installs. >=20 ok, lets chown quagga /etc/quagga then to keep things simple. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---