Bug#231438: locales fails to install due to locale-gen segfault
On Sun, Mar 21, 2004 at 10:10:24AM +0900, GOTO Masanori wrote:
> At Tue, 16 Mar 2004 21:13:13 +0000,
> James Troup wrote:
> > tags 231438 + patch
> > thanks
> > Daniel Jacobowitz <email@example.com> 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"?
I think the patch is appropriate. I haven't tested it but it
definitely looks right.
MontaVista Software Debian GNU/Linux Developer