[OpenAFS-devel] Re: solaris 10: chdir("/") after chroot(path) returns ENOENT

Derrick Brashear shadow@gmail.com
Tue, 8 Jun 2010 12:32:16 -0400


On Tue, Jun 8, 2010 at 12:27 PM, Simon Wilkinson <sxw@inf.ed.ac.uk> wrote:
>
> On 8 Jun 2010, at 17:21, Andrew Deason wrote:
>>
>> A proposed fix is in gerrit 2096 (which alters afs_lookup to accomodate
>> this). I'm fairly sure it fixes this behavior; I'm just not sure if it's
>> okay to do that on other platforms, or if we need to restrict it to
>> solaris. It's at least the right thing to do on solaris, as other
>> filesystems in the opensolaris code have an explicit check to do this
>> exact thing.
>
> I'd much rather make this kind of change specific to the operating system
> that requires it. It's almost certainly going to be either unnecessary, or
> just plain wrong, for other platforms we support.

Well, it's certainly easy to engage when we find we need it elsewhere.


-- 
Derrick