Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Hardened
Re: mysql problems
 

Index | Next | Previous | View Flat


solar at gentoo

Sep 11, 2004, 9:00 PM


Views: 1091
Permalink
Re: mysql problems [In reply to]

file a bug.

On Sat, 2004-09-11 at 23:48, Andrei Ivanov wrote:
> I'm sorry but I did read the help, but as I've compiled the whole system with
> the pic and pie flags enabled I thought I wouldn't have any problems.
>
> chpax -pEmrxsv /usr/bin/resolveip
>
> ----[ chpax 0.7 : Current flags for /usr/bin/resolveip (pEmrxs) ]----
>
> * Paging based PAGE_EXEC : disabled
> * Trampolines : emulated
> * mprotect() : not restricted
> * mmap() base : not randomized
> * ET_EXEC base : not randomized
> * Segmentation based PAGE_EXEC : disabled
>
> resolveip
> resolveip: error while loading shared libraries: cannot make segment writable
> for relocation: Permission denied
>
> So nothing's changed.
>
> The same for gen_lex_hash.
>
> ldd gen_lex_hash
> libpthread.so.0 => /lib/libpthread.so.0 (0x20607000)
> libz.so.1 => /lib/libz.so.1 (0x20619000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x2062e000)
> libnsl.so.1 => /lib/libnsl.so.1 (0x2065c000)
> libstdc++.so.5 =>
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.so.5 (0x20672000)
> libm.so.6 => /lib/libm.so.6 (0x207bf000)
> libgcc_s.so.1 =>
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libgcc_s.so.1 (0x207e2000)
> libc.so.6 => /lib/libc.so.6 (0x207ee000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x205ea000)
>
>
> On Sat, 11 Sep 2004, Ned Ludd wrote:
>
> > I assume your using PaX in your kernel.
> >
> > You probably enabled NOELFRELOCS in the kernel .config without
> > reading the config help.
> >
> > On Sat, 2004-09-11 at 21:18, Andrei Ivanov wrote:
> >> Hello,
> >> I'm having problems with mysql:
> >>
> >> resolveip: error while loading shared libraries: cannot make segment
> >> writable for relocation: Permission denied
> >>
> >> ldd `which resolveip`
> >> libstdc++.so.5 =>
> >> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.so.5 (0x23d21000)
> >> libgcc_s.so.1 =>
> >> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libgcc_s.so.1 (0x23e6e000)
> >> libc.so.6 => /lib/libc.so.6 (0x23e81000)
> >> libpthread.so.0 => /lib/libpthread.so.0 (0x23f99000)
> >> libz.so.1 => /lib/libz.so.1 (0x23fab000)
> >> libcrypt.so.1 => /lib/libcrypt.so.1 (0x23fbf000)
> >> libnsl.so.1 => /lib/libnsl.so.1 (0x23fed000)
> >> libm.so.6 => /lib/libm.so.6 (0x24003000)
> >> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x23d0a000)
> >>
> >
> >> ./gen_lex_hash > lex_hash.h
> >> ./gen_lex_hash: error while loading shared libraries: cannot make segment
> >> writable for relocation: Permission denied
> >
> > [snip crap]
> >
> >> What can I do?
> >
> > If the above is the case then disable the option or chpax/paxctl -m said
> > program.
> >
> >
> >> --
> >> gentoo-hardened [at] gentoo mailing list
> > --
> > Ned Ludd <solar [at] gentoo>
> > Gentoo (hardened,security,infrastructure,embedded,toolchain) Developer
> >
>
>
> --
> gentoo-hardened [at] gentoo mailing list
--
Ned Ludd <solar [at] gentoo>
Gentoo (hardened,security,infrastructure,embedded,toolchain) Developer
Attachments: signature.asc (0.18 KB)

Subject User Time
mysql problems andrei.ivanov at ines Sep 11, 2004, 6:18 PM
    Re: mysql problems solar at gentoo Sep 11, 2004, 6:55 PM
    Re: mysql problems andrei.ivanov at ines Sep 11, 2004, 8:48 PM
        Re: mysql problems solar at gentoo Sep 11, 2004, 9:00 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.