Skip to contentSkip to conversation

libsepol segmentation fault on policy load (role expansion)

DISCUSSION Guido Trentalancia 1 participant 1 message Jun 21, 2012 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hello.

It seems that while loading the latest reference policy semodule causes an assertion failure (NULL new_role) and subsequent segmentation fault in libsepol/src/expand.c:735 role_fix_callback():

Attempting to install module '/usr/share/selinux/refpolicy-18062012/zosremote.pp':
Ok: return value of 0.
Committing changes:
new_role = 0xfc4a830
new_role->flavor = 1
libsepol.role_fix_callback: fixing role attribute mount_roles new_role = 0xfc4a960
new_role->flavor = 1
libsepol.role_fix_callback: fixing role attribute usernetctl_roles new_role = 0xfc357d0
new_role->flavor = 1
libsepol.role_fix_callback: fixing role attribute sysadm_passwd_roles new_role = 0xfc36260
new_role->flavor = 1
libsepol.role_fix_callback: fixing role attribute groupadd_roles new_role = 0xfc36460
new_role->flavor = 1
libsepol.role_fix_callback: fixing role attribute portage_roles new_role = (nil)

Anyone else also hitting anything similar ?

Regards,

Guido

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