X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-ea0-f178.google.com (mail-ea0-f178.google.com [209.85.215.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 3C823DC00E8 for ; Fri, 30 Aug 2013 08:40:21 +0000 (UTC) Received: by mail-ea0-f178.google.com with SMTP id a15so944895eae.9 for ; Fri, 30 Aug 2013 06:49:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=2cXezMkMF1QIrlgI+bNzVP45cxvFpKRGyV6BSAdYx7E=; b=YgnAj9imgBMy8CyxlZMxlB6JFj+Qpd/7z1LADIQmqKDHw6fbBlyRLzY85FPeHoF0dh plWFSRA9bzlHfPtaPaPprXaqR+iUAGLrcp0QEfTFa89S2fvX4XLLPWNLGuCA7s/ZJi1P Jaa82f3NuIFmYm5kIINExfteXRZO3nugDNcFDtEnTbNpafpzvF4rRNp+2P4zYeQNIyTX 6N+W4tuNIPvKHA1FpWdg0uB+b9JTpkV6VMV1OoVAo6fPZ74Cv3PDG0YUsTZrjxEEhc40 zQs2Nz5xAXwicfgHnxfwJFqmvM1NbR6gQDEFvk0YO6SCLG9xrkCt7sPu8wh8NcY1szGz Io+g== X-Received: by 10.14.107.137 with SMTP id o9mr333425eeg.86.1377870574709; Fri, 30 Aug 2013 06:49:34 -0700 (PDT) Received: from vostro ([83.145.235.194]) by mx.google.com with ESMTPSA id b45sm54883233eef.4.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 30 Aug 2013 06:49:34 -0700 (PDT) Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= Date: Fri, 30 Aug 2013 16:49:33 +0300 From: Timo Teras To: Natanael Copa Cc: HL , alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Quagga setup bug Message-ID: <20130830164933.7563c2f1@vostro> In-Reply-To: <20130830152425.53614bd6@ncopa-desktop.alpinelinux.org> References: <52205957.4090800@gmail.com> <20130830112719.06a9588c@ncopa-desktop.alpinelinux.org> <52206A50.1030909@gmail.com> <20130830152425.53614bd6@ncopa-desktop.alpinelinux.org> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.20; i686-pc-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 15:24:25 +0200 Natanael Copa wrote: > 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? 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. - Timo --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---