Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2012 09:52:39 +0100 (CET)
From:      Henk van Oers <henk@signature.nl>
To:        d@delphij.net
Cc:        freebsd-ports@freebsd.org
Subject:   Re: FreeBSD-SA-11:07.chroot and ProFTPD 1.3.3g
Message-ID:  <alpine.BSF.2.00.1201050937310.26544@dee.signature.nl>
In-Reply-To: <4F04FC4C.9000400@delphij.net>
References:  <alpine.BSF.2.00.1201041110020.33174@dee.signature.nl> <CAGMYy3socNjZjLoeLfs3eDhvV9Y4XiJvBbLWuF8uyeEJxDvJPg@mail.gmail.com> <alpine.BSF.2.00.1201041904001.48748@dee.signature.nl> <4F04FC4C.9000400@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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@dee ~]# grep __FreeBSD_libc_enter_restricted_mode /usr/lib/libc.so
Binary file /usr/lib/libc.so matches
[root@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1201050937310.26544>