All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Roberto Sassu <roberto.sassu-8RLafaVCWuNeoWH0uzbU5w@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	systemd-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	selinux-TuqUDEhatI4ANWPb/1PvSmm0pvjS0E/A@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Mimi Zohar
	<zohar-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>,
	Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: dracut: ordering of modules
Date: Tue, 14 Feb 2012 13:53:21 -0500	[thread overview]
Message-ID: <4F3AADA1.5090508@redhat.com> (raw)
In-Reply-To: <4F3A836E.1020208-8RLafaVCWuNeoWH0uzbU5w@public.gmane.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/14/2012 10:53 AM, Roberto Sassu wrote:
> Hi Dan
> 
> i confirm this issue happens in a Fedora 16 system with the 
> selinux-policy package installed.
> 
> The selinux dracut module tries to load the policy but returns with
> the error below. After switching root, the policy is successfully
> loaded by Systemd.
> 
> Thanks
> 
> Roberto Sassu
> 
> 
Well in F16 dracut is not supposed to load the policy.
> On 02/13/2012 06:00 PM, Daniel J Walsh wrote: On 02/13/2012 05:29
> AM, Harald Hoyer wrote:
>>>> Am 13.02.2012 11:17, schrieb Roberto Sassu:
>>>>> Hi Harald
>>>>> 
>>>>> this functionality seems to be broken in dracut due to a
>>>>> change in the SELinux load_policy tool. After enabling the
>>>>> selinux module in dracut, i obtain:
>>>>> 
>>>>> [    3.369059] dracut: Loading SELinux policy [
>>>>> 3.449850] dracut: /sbin/load_policy: Can't load policy: No
>>>>> such file or directory [    3.659899] dracut: Switching
>>>>> root
>>>>> 
>>>> 
>>>> This error can have multiple causes... Dan?
> 
> Well likeliest would be selinux-policy package is not installed.
> 
> -- selinux mailing list selinux-TuqUDEhatI4ANWPb/1PvSmm0pvjS0E/A@public.gmane.org 
> https://admin.fedoraproject.org/mailman/listinfo/selinux

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk86rZ4ACgkQrlYvE4MpobPKXwCfbVdkQuaylTtHIASztazyokqN
u4wAnR9bueXLrFH4vvDxSPYSNqBDYP19
=W0oJ
-----END PGP SIGNATURE-----

WARNING: multiple messages have this Message-ID (diff)
From: Daniel J Walsh <dwalsh@redhat.com>
To: Roberto Sassu <roberto.sassu@polito.it>
Cc: initramfs@vger.kernel.org, systemd-devel@lists.freedesktop.org,
	selinux@lists.fedoraproject.org, linux-kernel@vger.kernel.org,
	Mimi Zohar <zohar@linux.vnet.ibm.com>,
	Harald Hoyer <harald@redhat.com>
Subject: Re: dracut: ordering of modules
Date: Tue, 14 Feb 2012 13:53:21 -0500	[thread overview]
Message-ID: <4F3AADA1.5090508@redhat.com> (raw)
In-Reply-To: <4F3A836E.1020208@polito.it>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/14/2012 10:53 AM, Roberto Sassu wrote:
> Hi Dan
> 
> i confirm this issue happens in a Fedora 16 system with the 
> selinux-policy package installed.
> 
> The selinux dracut module tries to load the policy but returns with
> the error below. After switching root, the policy is successfully
> loaded by Systemd.
> 
> Thanks
> 
> Roberto Sassu
> 
> 
Well in F16 dracut is not supposed to load the policy.
> On 02/13/2012 06:00 PM, Daniel J Walsh wrote: On 02/13/2012 05:29
> AM, Harald Hoyer wrote:
>>>> Am 13.02.2012 11:17, schrieb Roberto Sassu:
>>>>> Hi Harald
>>>>> 
>>>>> this functionality seems to be broken in dracut due to a
>>>>> change in the SELinux load_policy tool. After enabling the
>>>>> selinux module in dracut, i obtain:
>>>>> 
>>>>> [    3.369059] dracut: Loading SELinux policy [
>>>>> 3.449850] dracut: /sbin/load_policy: Can't load policy: No
>>>>> such file or directory [    3.659899] dracut: Switching
>>>>> root
>>>>> 
>>>> 
>>>> This error can have multiple causes... Dan?
> 
> Well likeliest would be selinux-policy package is not installed.
> 
> -- selinux mailing list selinux@lists.fedoraproject.org 
> https://admin.fedoraproject.org/mailman/listinfo/selinux

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk86rZ4ACgkQrlYvE4MpobPKXwCfbVdkQuaylTtHIASztazyokqN
u4wAnR9bueXLrFH4vvDxSPYSNqBDYP19
=W0oJ
-----END PGP SIGNATURE-----

  parent reply	other threads:[~2012-02-14 18:53 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-10 15:01 dracut: ordering of modules Mimi Zohar
2012-02-10 15:31 ` Roberto Sassu
2012-02-10 15:31   ` Roberto Sassu
     [not found]   ` <4F353840.8050505-8RLafaVCWuNeoWH0uzbU5w@public.gmane.org>
2012-02-10 18:14     ` [systemd-devel] " Lennart Poettering
2012-02-10 18:14       ` Lennart Poettering
2012-02-12  0:17       ` Mimi Zohar
2012-02-12  0:17         ` [systemd-devel] " Mimi Zohar
2012-02-13  9:59 ` Harald Hoyer
     [not found]   ` <4F38DEF0.8010202-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-02-13 10:17     ` Roberto Sassu
2012-02-13 10:17       ` Roberto Sassu
     [not found]       ` <4F38E337.7030200-8RLafaVCWuNeoWH0uzbU5w@public.gmane.org>
2012-02-13 10:29         ` Harald Hoyer
2012-02-13 10:29           ` Harald Hoyer
2012-02-13 17:00           ` Daniel J Walsh
2012-02-13 17:00             ` Daniel J Walsh
2012-02-14 15:53             ` Roberto Sassu
2012-02-14 15:53               ` Roberto Sassu
     [not found]               ` <4F3A836E.1020208-8RLafaVCWuNeoWH0uzbU5w@public.gmane.org>
2012-02-14 18:53                 ` Daniel J Walsh [this message]
2012-02-14 18:53                   ` Daniel J Walsh
2012-02-13 14:56     ` Mimi Zohar
2012-02-13 14:56       ` Mimi Zohar
2012-02-13 15:02   ` Hannes Reinecke

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=4F3AADA1.5090508@redhat.com \
    --to=dwalsh-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=roberto.sassu-8RLafaVCWuNeoWH0uzbU5w@public.gmane.org \
    --cc=selinux-TuqUDEhatI4ANWPb/1PvSmm0pvjS0E/A@public.gmane.org \
    --cc=systemd-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=zohar-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org \
    /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.