All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christopher J. PeBenito" <cpebenito@tresys.com>
To: Martin Orr <martin@martinorr.name>
Cc: SELinux List <selinux@tycho.nsa.gov>
Subject: Re: [refpolicy] lvm runs shell scripts
Date: Fri, 18 Apr 2008 11:22:08 -0400	[thread overview]
Message-ID: <1208532128.7113.0.camel@gorn> (raw)
In-Reply-To: <47EB7AA5.1030502@martinorr.name>

On Thu, 2008-03-27 at 10:44 +0000, Martin Orr wrote:
> crytpsetup, for setting up encrypted volumes, runs shell scripts during this
> process which gives me:
> 
> Mar 27 10:16:41 caligula kernel: audit(1206612989.635:4): avc:  denied  {
> execute } for  pid=2929 comm="cryptsetup" name="dash" dev=dm-0 ino=470542
> scontext=system_u:system_r:lvm_t:s0
> tcontext=system_u:object_r:shell_exec_t:s0 tclass=file

Sorry for the delay; merged.

> plain text document attachment (113_cryptsetup_shell)
> Written by: Martin Orr
> 
> Allow cryptsetup to run shell scripts
> 
> Mar 27 10:16:41 caligula kernel: audit(1206612989.635:4): avc:  denied  { execute } for  pid=2929 comm="cryptsetup" name="dash" dev=dm-0 ino=470542 scontext=system_u:system_r:lvm_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file
> 
> Index: policy/modules/system/lvm.te
> ===================================================================
> --- policy/modules/system/lvm.te.orig
> +++ policy/modules/system/lvm.te
> @@ -247,6 +247,7 @@
>  term_list_ptys(lvm_t)
>  
>  corecmd_exec_bin(lvm_t)
> +corecmd_exec_shell(lvm_t)
>  
>  domain_use_interactive_fds(lvm_t)
>  
-- 
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

      reply	other threads:[~2008-04-18 16:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-27 10:44 [refpolicy] lvm runs shell scripts Martin Orr
2008-04-18 15:22 ` Christopher J. PeBenito [this message]

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=1208532128.7113.0.camel@gorn \
    --to=cpebenito@tresys.com \
    --cc=martin@martinorr.name \
    --cc=selinux@tycho.nsa.gov \
    /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.