From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CC93D13888F for ; Wed, 7 Oct 2015 17:51:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 21208E0848; Wed, 7 Oct 2015 17:51:00 +0000 (UTC) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AD05FE080A for ; Wed, 7 Oct 2015 17:50:58 +0000 (UTC) Received: by wicge5 with SMTP id ge5so224180091wic.0 for ; Wed, 07 Oct 2015 10:50:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=GoBErVej0qGcfzfgD1g/sGUvMZXnS5/+HpDHuA+48p8=; b=B1cxnMPwYG6isWFck4csdEGutocsLofaHnubZgpMrmUsTy8GsDStPIS9H/OIYLRB7X +Ik1/FdXRCZsvQ9QSShpqFu2Mw64GkET293QAxC5eY9iy/iZXJ0L1VeAhl4ToRt0w8aY uYzeICAy4hXgEc7Q2JQg+OB47dQnmwFwV6mPQI8eh9dWraZl58izGTB3kYogZ/58FC/m PxGh0imRkEMg8sh5paSbV/PWfw976lb6Uslc/0YPG21x0wLWfv4jK3rNLifSNBcg21PG dNHPlXLsU5MLeqcF1UeOXXrebRJbw7/kPT5w4uBbsx/+8PGSeJehEjRN4+GwcmC2LpA/ +jRg== X-Received: by 10.194.78.34 with SMTP id y2mr2634685wjw.91.1444240257596; Wed, 07 Oct 2015 10:50:57 -0700 (PDT) Received: from [172.20.0.41] ([105.210.54.110]) by smtp.googlemail.com with ESMTPSA id pl7sm3564555wic.4.2015.10.07.10.50.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Oct 2015 10:50:56 -0700 (PDT) Subject: Re: [gentoo-user] persistent /run/* ownership/permissions To: gentoo-user@lists.gentoo.org References: From: Alan McKinnon Message-ID: <56155B5D.9070407@gmail.com> Date: Wed, 7 Oct 2015 19:50:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 3af35f12-c950-4639-96a0-27bab37b5413 X-Archives-Hash: 5aab385cc0aab943fb91be291bbd3c4c On 07/10/2015 18:27, Grant wrote: > I have to chown munin:nginx and chmod g+x on directory /run/munin/ > after every reboot. The munin list suggests altering the initscript > but is there a better way? There are ways, but I wouldn't call them better. /run is often a tmpfs so the dir has to be mkdir'ed somehow after reboot anyway. The initscript is the perfect place to do it. There's lots of examples in most /etc/init.d, so I suggest submit a working patch to b.g.o. -- Alan McKinnon alan.mckinnon@gmail.com