FreeBSD-SA-11:07.chroot and ProFTPD 1.3.3g

Henk van Oers henk at signature.nl
Thu Jan 5 08:52:41 UTC 2012


On Wed, 4 Jan 2012, Xin Li wrote:
> On 01/04/12 10:10, Henk van Oers wrote:
[make world again]
>> But still it's not working :(
>
> Could you please do:
>
> grep __FreeBSD_libc_enter_restricted_mode /usr/lib/libc.so
>
> And see if the output would be:
>
> Binary file /usr/lib/libc.so matches

[root at dee ~]# grep __FreeBSD_libc_enter_restricted_mode /usr/lib/libc.so
Binary file /usr/lib/libc.so matches
[root at dee ~]# ls -al /usr/lib/libc.so*
lrwxrwxrwx  1 root  wheel  14 Jan  4 05:22 /usr/lib/libc.so -> 
/lib/libc.so.7
[root at dee ~]# ls -al /lib/libc.so*
-r--r--r--  1 root  wheel  1068344 Jan  4 05:21 /lib/libc.so.7

This is in the jail where proftpd is used
On the host:
-r--r--r--  1 root  wheel  1068344 Jan  4 05:14 /lib/libc.so.7

And:
Jan  4 05:31:54 dee proftpd[22094]: 81.18.162.68 - ProFTPD 1.3.3g (maint) 
(built Wed Jan 4 2012 05:30:17 CET) standalone mode STARTUP

proftpd is linked to this libc.

Thank you for looking into this.

-- 
Henk


More information about the freebsd-ports mailing list