public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] persistent /run/* ownership/permissions
Date: Wed, 7 Oct 2015 19:50:21 +0200	[thread overview]
Message-ID: <56155B5D.9070407@gmail.com> (raw)
In-Reply-To: <CAN0CFw3uXUKsJdPuRDmzijQrEZPO5A9ZL=+YN7mN_VjimsZUcg@mail.gmail.com>

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



  reply	other threads:[~2015-10-07 17:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-07 16:27 [gentoo-user] persistent /run/* ownership/permissions Grant
2015-10-07 17:50 ` Alan McKinnon [this message]
2015-10-09 14:16   ` Grant
2015-10-09 17:46   ` [gentoo-user] " Martin Vaeth
2015-10-12 21:45     ` Grant
2015-10-13  8:48       ` Martin Vaeth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56155B5D.9070407@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox