[Buildroot] [v3] package/quagga: Fix directories and permissions

Nathaniel Roach nroach44 at gmail.com
Sat May 14 04:55:33 UTC 2016


Hi Thomas,

I agree, however I'm not using busybox init on any of my systems and don't feel capable of writing an init script without just copying someone else's implementation completely.

On 14 May 2016 4:40:01 AM AWST, Thomas Petazzoni <thomas.petazzoni at free-electrons.com> wrote:
>Hello,
>
>On Fri, 13 May 2016 16:56:21 +0800, Nathaniel Roach wrote:
>> Quagga runs as the "quagga" user, but it also needs to modify files
>> in /etc and /var - config files, pid files and vty sockets for vtysh.
>> 
>> Tell the configure script the right folders to use, create the
>> user, fix the permissions, and then let systemd know (if needed).
>> 
>> Signed-off-by: Nathaniel Roach <nroach44 at gmail.com>
>> 
>> ---
>> Changes v1 -> v2:
>>  - Minor nits (Thomas)
>>  - Add some comments about why permissions are changed as such
>
>Applied to master, thanks. However, I still think that an init script
>would be useful: the default for Buildroot is to use the Busybox init,
>and as it is today, nothing is starting quagga and making sure
>that /var/run/quagga is owned by the quagga user.
>
>Thomas
>-- 
>Thomas Petazzoni, CTO, Free Electrons
>Embedded Linux, Kernel and Android engineering
>http://free-electrons.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20160514/b0d82bfc/attachment-0001.html>


More information about the buildroot mailing list