Re: Assertion `new_role != ((void *)0) && new_role->flavor == 1' when installing modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/09/2012 22:29, Laurent Bigonville wrote:
Le Tue, 11 Sep 2012 12:19:03 +0200,
Laurent Bigonville <bigon@xxxxxxxxxx> a écrit :


The patch here: http://marc.info/?l=selinux&m=132636024218187&w=2
fixed the segfault when loading the policy with Stephen patch.

BUT, it seems that the initial assertion is not completely fixed.

OK, I was wrong. I didn't saw that checkpolicy was statically linked
against libsepol. So, Stephen's patch in conjunction with the patch
above are actually fixing my issues with both semodule and checkpolicy.

It's a problem with changes in libsepol/src/expand.c, it can happen independently of MLS/MCS or standard policy.

It seems to me that latest changes were:

commit dbc9a61819ea9a6b61bb29a2765b319ac974a775 (Aug 2 2011 18:03:53)

But I do not know much about it, as I had no time to look at it any closer.

Syncing with Reference Policy might help.

Hopefully there will be a human readable error in release instead of assertion...

Guido


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux