SETRANS + libavg = SIGSEGV on Hardy
https://bugs.launchpad.net/ubuntu/+source/libselinux/+bug/237156
Basically things are seg faulting during fini, but I don't see how this could be happening.
There is a patch there:
(quoted diff) +0 -0
b/libselinux-2.0.59/src/setrans_client.c
index 1426e98..a2d0d34 100644
libselinux-2.0.59/src/setrans_client.c +1 -0
@@ -217,6 +217,12 @@ hidden void fini_context_translations(void) hidden int init_context_translations(void) { mls_enabled =is_selinux_mls_enabled (); +// set initial values to work around crash from very late first
reference in fini.
+ // The "static __thread .. = NULL" initialization isn't working.
+ prev_r2t_trans = NULL;
+ prev_r2t_raw = NULL;
+ prev_t2r_trans = NULL;
+ prev_t2r_raw = NULL;
return 0;
}
--
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.