Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2017 18:05:25 +0200
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Ernie Luzar <luzar722@gmail.com>, Adam Weinberger <adamw@adamw.org>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: standard locations for port files
Message-ID:  <b830fb7e-8f99-62c0-65e6-f1fa613887a9@FreeBSD.org>
In-Reply-To: <59A82A64.4050507@gmail.com>
References:  <59A82622.4030502@gmail.com> <729F1CC6-9A65-4CDF-B7E5-FB520779FD15@adamw.org> <59A82A64.4050507@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--rRh1jTFuQJEtukbhn7K9lD14qsmmLmDHF
Content-Type: multipart/mixed; boundary="3eEShrigsC23DIN2JSuQ5UOePcFakxweQ";
 protected-headers="v1"
From: Mathieu Arnold <mat@FreeBSD.org>
To: Ernie Luzar <luzar722@gmail.com>, Adam Weinberger <adamw@adamw.org>
Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>,
 "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Message-ID: <b830fb7e-8f99-62c0-65e6-f1fa613887a9@FreeBSD.org>
Subject: Re: standard locations for port files
References: <59A82622.4030502@gmail.com>
 <729F1CC6-9A65-4CDF-B7E5-FB520779FD15@adamw.org> <59A82A64.4050507@gmail.com>
In-Reply-To: <59A82A64.4050507@gmail.com>

--3eEShrigsC23DIN2JSuQ5UOePcFakxweQ
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: fr

Le 31/08/2017 =C3=A0 17:25, Ernie Luzar a =C3=A9crit=C2=A0:
> Adam Weinberger wrote:
>>> On 31 Aug, 2017, at 9:07, Ernie Luzar <luzar722@gmail.com> wrote:
>>>
>>> Lets say I have a product that I want to port to Freebsd.
>>>
>>> Were is the standard location for the log file and PID file.
>>>
>>> Would it be in
>>> /usr/local/etc/product/product.log
>>> /usr/local/etc/product/product.pid
>>>
>>> or
>>>
>>> /var/log/product.log
>>> /var/run/product.pid
>>
>> It should be in /var. Many users keep /usr/local mounted read-only.
>>
>> # Adam
>>
>>
> Lets say /usr/local/etc/product/ is chrooted and the only thing in it
> is the product.conf. Is there any security benefit for chrooting that
> directory path?
>

The etc directory is for configuration files and scripts, that is, files
that almost never changes. Do *not* put pid or log files in there.


--=20
Mathieu Arnold



--3eEShrigsC23DIN2JSuQ5UOePcFakxweQ--

--rRh1jTFuQJEtukbhn7K9lD14qsmmLmDHF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJZqDPHXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz
QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85IJAUQAIb9Ns69r7FBiq2GTSZ1aOdz
NBLLg2JfDiNFvaX+DIx/wa7fDziX9JHK+Ex6MZkIM4Nj0LynIYm7mMZwqDR+RVQ3
D8DGWrjv0nX+kqN5sLotNQti9iGjYD6O+hXj6Be+qQeQmieIlz51ZPRs5y7SnG5A
jvzHiNVOJFHa/U7Md5iWBTwSOhZ04y0HnYFX03F0h1ibPdFcWJLLoXkB/uvju26P
mEJpWaWOnErzOZdW37++Y/v4WWc0/KpZcVlIfGvfbeR31Oeo5VsTRk7dkepemhfq
lVDmhJJVxgHhBfNs9BciZrDmg7XzsXA6KXbb6uUtvOFKiy2Aakne0zaJ0b3BY2S9
WDj2K0cAlfWiTS84GpcgnFEUNdPEbvPWvY4EXpW9HAdx7W1aN+loVq2HgCWCDF39
EVoL68cGueN6IkVY3ezqzScTn9OLQ/6Oc71KVSlaVJcAZzZEO7rhsSQdWyhbkEGx
xzdt/no/0zf9aTMJIixqFYl7Oj2ueae3osk7IhqYCOA0DBkeObx4o+EDIA6lPlAz
oNBEYyTSck1ZHl9dQ/m5bwo5fyAhe9PCbrcOAEDmWoq3K1HSAR5XQbacVlkwgGmU
icOvE3UNFWeFwTSkpMJjleG+wOJu2IoX2GhUlReaGlPnribRpmiZxub5D1l2ksqO
tqlp1ysSH4ZAIAG4U3BL
=H3NL
-----END PGP SIGNATURE-----

--rRh1jTFuQJEtukbhn7K9lD14qsmmLmDHF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b830fb7e-8f99-62c0-65e6-f1fa613887a9>