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

Bug#231438: locales fails to install due to locale-gen segfault



At Tue, 16 Mar 2004 21:13:13 +0000,
James Troup wrote:
> tags 231438 + patch
> thanks
> 
> Daniel Jacobowitz <dan@debian.org> writes:
> 
> > > localedef uses trampoline in its internal; it may conflict with
> > > exec-shield like pax, please see:
> > >
> > >       http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=198099
> > 
> > Hmm, Red Hat _must_ have a patch for that by now....
> 
> They do.  I've attached a .dpatch below with the relevant patch
> extracted from the latest Fedora .src.rpm.  I built and tested this on
> i686-linux both with and without exec-shield and got someone else to
> do the same.  (There are also no testsuite regressions.)

Thanks for looking this bug and patch.  But XFree86 has also this kind
of problem.  Pax uses a file which lists program names to avoid this
issue.  So is this ok to apply this patch for glibc?  Or should
exec-shield users be aware "echo 0 > /proc/sys/kernel/exec-shield"?

Regards,
-- gotom



Reply to: