linux-ftpd-0.17 cannot run static ls in a chroot jail

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

linux-ftpd-0.17 cannot run static ls in a chroot jail

Postby scorpio » Fri Sep 05, 2003 4:22 am

Hi, sorry if this looks like a newbie question, but I looked through these forums and couldn't find any existing answer, so here it goes:

I have installed grsec-1.9.11 on a 2.4.21 kernel (selecting the medium security level), and want to run linux-ftpd-0.17. The ftpd works fine, but if I log in as anonymous, the static /bin/ls in the chroot jail is sent a signal 11 every time it gets run by ftpd. I can upload to and download from the chroot jail, but can't list the directories. The ownership and permissions all look fine to me.

If I do a "chroot /home/ftp /bin/ls" outside of ftpd, it works fine. Could any one suggest what might be the problem?
scorpio
 
Posts: 2
Joined: Fri Sep 05, 2003 4:13 am

Postby spender » Fri Sep 05, 2003 4:37 pm

Were there any grsec logs?

-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm

Postby scorpio » Sat Sep 06, 2003 4:29 am

Thanks Brad for your response. The only grsec messages that I found in the system logs are the following kind:

Sep 5 03:46:00 [kernel] grsec: From 10.0.1.11: signal 11 sent to (ls:1198) UID(21) EUID(21), parent (ftpd:25896) UID(0) EUID(21)
Sep 5 03:49:40 [kernel] grsec: From 10.0.1.11: signal 11 sent to (ls:20873) UID(21) EUID(21), parent (ftpd:25896) UID(0) EUID(21)

I was unable to learn much from these messages. :cry:
scorpio
 
Posts: 2
Joined: Fri Sep 05, 2003 4:13 am


Return to grsecurity support

cron