lkml.org 
[lkml]   [2004]   [Feb]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 6 Feb 2004 00:13:55 -0500 (EST)
FromJames Morris <>
SubjectRe: 2.6.2-mm1, selinux, and initrd
On Thu, 5 Feb 2004 Valdis.Kletnieks@vt.edu wrote:

> The system boots OK (minus selinux functionality of course)if I pass
> 'selinux=0' as a kernel parameter, so I'm suspecting these 3 patches:
> 
> +selinux-01-context-mount-support.patch
> +selinux-02-nfs-context-mounts.patch
> +selinux-03-context-mounts-selinux.patch
> 
> I'm suspecting that try_context_mount() is choking because we haven't
> loaded the policy or anything, so we hit this:
> 
>        rc = try_context_mount(sb, data);
>         if (rc)
>                 goto out;

I'm not sure how you reach this conclusion.

try_context_mount will not return an error unless you specify a context
mount option (which I assume you are not doing) and then have something go
wrong.



- James
-- 
James Morris
<jmorris@redhat.com>



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:00    [from the cache]
©2003-2008