* [refpolicy] lvm runs shell scripts
@ 2008-03-27 10:44 Martin Orr
2008-04-18 15:22 ` Christopher J. PeBenito
0 siblings, 1 reply; 2+ messages in thread
From: Martin Orr @ 2008-03-27 10:44 UTC (permalink / raw)
To: Christopher J. PeBenito, SELinux List
[-- Attachment #1: Type: text/plain, Size: 399 bytes --]
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
Attached patch fixes this.
Best wishes,
--
Martin Orr
[-- Attachment #2: 113_cryptsetup_shell --]
[-- Type: text/plain, Size: 614 bytes --]
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)
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [refpolicy] lvm runs shell scripts
2008-03-27 10:44 [refpolicy] lvm runs shell scripts Martin Orr
@ 2008-04-18 15:22 ` Christopher J. PeBenito
0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2008-04-18 15:22 UTC (permalink / raw)
To: Martin Orr; +Cc: SELinux List
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-18 16:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-27 10:44 [refpolicy] lvm runs shell scripts Martin Orr
2008-04-18 15:22 ` Christopher J. PeBenito
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.