From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2635 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Laurent Bercot" Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: A better method than daisy-chaining logging files? Date: Tue, 18 Jun 2019 06:35:48 +0000 Message-ID: References: <16c909e2-9b84-63c8-7c60-380befe28f01@heuristicsystems.com.au> <8447f17e-0960-196d-bdf5-64a3d203cff0@heuristicsystems.com.au> <6b30c85a-b49b-d7ed-f5a8-ba9ad54d421f@heuristicsystems.com.au> Reply-To: "Laurent Bercot" Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="161651"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: eM_Client/7.2.34711.0 To: "supervision@list.skarnet.org" Original-X-From: supervision-return-2225-gcsg-supervision=m.gmane.org@list.skarnet.org Tue Jun 18 08:34:51 2019 Return-path: Envelope-to: gcsg-supervision@m.gmane.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1hd7hi-000fxF-Ir for gcsg-supervision@m.gmane.org; Tue, 18 Jun 2019 08:34:50 +0200 Original-Received: (qmail 3165 invoked by uid 89); 18 Jun 2019 06:35:14 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Original-Received: (qmail 3158 invoked from network); 18 Jun 2019 06:35:13 -0000 In-Reply-To: <6b30c85a-b49b-d7ed-f5a8-ba9ad54d421f@heuristicsystems.com.au> X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrudeikedguddtjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfpfgfogfftkfevteeunffgpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfgjfhhrfgggtgfgsehtqhertddtreejnecuhfhrohhmpedfnfgruhhrvghnthcuuegvrhgtohhtfdcuoehskhgrqdhsuhhpvghrvhhishhiohhnsehskhgrrhhnvghtrdhorhhgqeenucfrrghrrghmpehmohguvgepshhmthhpohhuthenucevlhhushhtvghrufhiiigvpedt Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2635 Archived-At: >FYI: The fifo queue permissions, which the jail sees >pr---w---- 1 mylogger www 0B May 31 13:27 apache24-error| Ah, so the www group is the one that writes to the fifo. Got it. Then you don't need mylogger to belong to the www group (and it's probably better for privilege separation that it doesn't), but you apparently need the logdir to belong to the primary group of the mylogger user. There is no reason for the logdir to belong to the www group. The error you got still strikes me as weird, and shouldn't happen unless you have strange permissions for the logdir itself, or FreeBSD is doing something wonky with gid checking. For my peace of mind, I'd still like to see the permissions on your logdir, and a ktrace of the error. -- Laurent