lvm runs shell scripts
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,
Signature · 1 line
Martin Orr
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=filemodules/system/lvm.te renamed from modules/system/lvm.te.orig +1 -0
@@ -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)
Quoted 7 lines · Martin Orr
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.
Quoted 19 lines
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=fileIndex: policy/modules/system/lvm.te
===================================================================modules/system/lvm.te renamed from modules/system/lvm.te.orig +1
-0@@ -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)
Signature · 9 lines
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 [email protected] with the words "unsubscribe selinux" without quotes as the message.