Re: 2.6.2-mm1, selinux, and initrd

From: James Morris
Date: Fri Feb 06 2004 - 00:15:00 EST


On Thu, 5 Feb 2004 Valdis.Kletnieks@xxxxxx 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@xxxxxxxxxx>



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