Clint Adams <[EMAIL PROTECTED]> writes: >> I'm not sure that subject is clear, but the demonstration that follows >> should be: > > Currently fakeroot doesn't support nested operation. There is this > little block in faked.c: > > if(getenv(FAKEROOTKEY_ENV)) { > /* I'm not sure -- maybe this can work?) */ > fprintf(stderr,"Please, don't run fakeroot from within fakeroot!\n"); > exit(1); > } > > Obviously this isn't working. I can have the fakeroot script choke > if the environment variable is set as a short-term fix.
I'd noticed that code, and that it wasn't having any impact, but I assumed it was just old and that the fakeroot wrapper was already taking care of it. > In the long term, some kind of mechanism for the additional faked > processes to talk to the "parent" might be possible. A single faked > process for all "children" might be possible as well, if it can track > multiple "threads". I'll certainly recommend it as a useful feature - we're working towards running pbuilder itself without privileges, and it uses fakeroot and fakechroot deeper inside. In that sense, we're filling in "fakeroot" where other users would fill in "sudo", so the desired behavior really is "run this command as [apparent] root". -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]