Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2008 15:47:49 +0200
From:      GW <gw.freebsd@tnode.com>
To:        freebsd-fs@freebsd.org
Cc:        Mitar <mitar@tnode.com>
Subject:   Re: fchroot on unionfs
Message-ID:  <48A58905.5080100@tnode.com>
In-Reply-To: <48A0B6E5.3000000@skoberne.net>
References:  <48A0B6E5.3000000@skoberne.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Nejc Škoberne wrote:
> I have a strange problem with Apache not seeing the lower layer of
> unionfs. Using
> ktrace on Apache I have written this C code:

> So without fchdir() call this program just displays (first 511 bytes) of
> /etc/hosts.
> If I uncomment fchdir() call with precedent open(".",...) call, I get this:

Hm, I tried to recreate this, but all attempts failed (mount
above/below, run program directly/in chroot/in jail and under root or
www user). So it seems that it is either fixed or something else on the
system was set differently (sysctl?).

lp,
   gregor




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48A58905.5080100>