linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* dracut: ordering of modules
@ 2012-02-10 15:01 Mimi Zohar
  2012-02-10 15:31 ` Roberto Sassu
  2012-02-13  9:59 ` Harald Hoyer
  0 siblings, 2 replies; 12+ messages in thread
From: Mimi Zohar @ 2012-02-10 15:01 UTC (permalink / raw)
  To: initramfs; +Cc: Harald Hoyer, linux-kernel, Roberto Sassu

Hi Harald,

Originally, 98integrity/ima-policy-load.sh didn't start executing before
98selinux/selinux-loadpolicy.sh finished, but unfortunately it now does.

inst_hook pre-pivot 50 "$moddir/selinux-loadpolicy.sh"
inst_hook pre-pivot 62 "$moddir/ima-policy-load.sh"

As the IMA policy could be dependent on LSM runtime info, this is a
problem.

[   10.040574] type=1805 audit(1328865524.387:2): action="dont_measure" fsmagic="0x9fa0" res=0
[   10.040663] type=1805 audit(1328865524.387:3): action="dont_appraise" fsmagic="0x9fa0" res=0
[   10.040729] type=1805 audit(1328865524.387:4): action="dont_measure" fsmagic="0x62656572" res=0
[   10.040792] type=1805 audit(1328865524.387:5): action="dont_appraise" fsmagic="0x62656572" res=0
[   10.040857] type=1805 audit(1328865524.387:6): action="dont_measure" fsmagic="0x64626720" res=0
[   10.040921] type=1805 audit(1328865524.387:7): action="dont_appraise" fsmagic="0x64626720" res=0
[   10.040985] type=1805 audit(1328865524.387:8): action="dont_measure" fsmagic="0x01021994" res=0
[   10.041047] type=1805 audit(1328865524.387:9): action="dont_appraise" fsmagic="0x01021994" res=0
[   10.041113] type=1805 audit(1328865524.387:10): action="dont_measure" fsmagic="0x73636673" res=0
[   10.041177] type=1805 audit(1328865524.387:11): action="dont_appraise" fsmagic="0x73636673" res=0
[   11.898956] SELinux:  Completing initialization.

I've tried adding a depend for selinux, but it doesn't seem to resolve
the problem, nor does delaying 98integrity to later.  Any suggestions
would be appreciated.

thanks,

Mimi


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-02-14 18:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-10 15:01 dracut: ordering of modules Mimi Zohar
2012-02-10 15:31 ` Roberto Sassu
2012-02-10 18:14   ` [systemd-devel] " Lennart Poettering
2012-02-12  0:17     ` Mimi Zohar
2012-02-13  9:59 ` Harald Hoyer
2012-02-13 10:17   ` Roberto Sassu
2012-02-13 10:29     ` Harald Hoyer
2012-02-13 17:00       ` Daniel J Walsh
2012-02-14 15:53         ` Roberto Sassu
2012-02-14 18:53           ` Daniel J Walsh
2012-02-13 14:56   ` Mimi Zohar
2012-02-13 15:02   ` Hannes Reinecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).