All of lore.kernel.org
 help / color / mirror / Atom feed
From: dominick.grift@gmail.com (Dominick Grift)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 2/2] Use nscd socket for webalizer
Date: Fri, 16 Aug 2013 13:20:18 +0200	[thread overview]
Message-ID: <1376652018.3531.2.camel@d30> (raw)
In-Reply-To: <1376634106-16328-3-git-send-email-sven.vermeulen@siphos.be>

On Fri, 2013-08-16 at 08:21 +0200, Sven Vermeulen wrote:
> The webalizer application accesses the nscd service to optimize DNS queries.

There is a boolean for that "nscd_use_shm" (also applies to webalizer)

nscd clients either use shm or socket

can you use audit2why on that avc denial to see if it suggests toggling
the boolean?

> 
> Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
> ---
>  webalizer.te | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/webalizer.te b/webalizer.te
> index ae919b9..526caa4 100644
> --- a/webalizer.te
> +++ b/webalizer.te
> @@ -89,5 +89,9 @@ optional_policy(`
>  ')
>  
>  optional_policy(`
> +	nscd_socket_use(webalizer_t)
> +')
> +
> +optional_policy(`
>  	squid_read_log(webalizer_t)
>  ')

  reply	other threads:[~2013-08-16 11:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-16  6:21 [refpolicy] [PATCH 0/2] Few contrib updates Sven Vermeulen
2013-08-16  6:21 ` [refpolicy] [PATCH 1/2] Grant write privileges to squid on its log files Sven Vermeulen
2013-08-16 11:30   ` Dominick Grift
2013-08-16  6:21 ` [refpolicy] [PATCH 2/2] Use nscd socket for webalizer Sven Vermeulen
2013-08-16 11:20   ` Dominick Grift [this message]
2013-08-17  8:24     ` Sven Vermeulen

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=1376652018.3531.2.camel@d30 \
    --to=dominick.grift@gmail.com \
    --cc=refpolicy@oss.tresys.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.