OK, any pointers as to what the heck I'm doing wrong?
On my test machine, I just updated the grsec kernel and php (kernel is 30.3 and php is 4.3.11.-7) on rh9
I wanted to check that gd was working -- it didn't seem to be. Then I found that the actual culprit was the grsec kernel. When I run the php file that calls gd functions, I get:
kernel: PAX: From 192.168.0.14: execution attempt in: <NULL>, 00000000-00000000 00000000
kernel: PAX: terminating task: /usr/sbin/httpd(httpd):23167, uid/euid: 48/48, PC: 00001ef1, SP: 5d54690c
kernel: PAX: bytes at PC: <invalid address>.
kernel: PAX: bytes at SP: 27e65a9a 083235c0 00002000 000002a0 27e6b44c 27d28a6e 00000000 5d5469c8 27e5d8d1 083235c0 00002000 27c419$
(other php files work fine)
Now I don't want to chpax -spmr httpd, but I tried to do it anyway, and got the kind of error message I associate with trying to use chpax when grsec isn't loaded: "Text file in use"
Then I thought "Hang on -- gradm is now installed. I wonder if that has anything to do with this?"
But "gradm -anything-except-help" gives me a "Could not open dev/gradm" error.
So, what's changed? What am I doing wrong?