Bug#745082: Bug#763391: a fakechroot bug ?
Le vendredi 20 février à 18h 12mn 58s (-0500), Daniel Kahn Gillmor a écrit :
> Control: forcemerge 774332 745082 763391
>
> Le vendredi 20 février à 19h 02mn 31s (+0100), John Paul Adrian Glaubitz a écrit :
> >> PS: I would suggest merging 745082, 763391 and 774332. They seem to
> >> describe the exact same bug.
>
> I agree they look similar, and i'm inclined to think that the problem is
> with debootstrap itself. I'm doing the merge here into the bug that's
> open against debootstrap. hopefully it won't need to be split out again
> in the future :P
>
> On Fri 2015-02-20 18:24:18 -0500, jhcha54008 wrote:
> > May I ask if debootstrap ran in a fakechroot environment or as real root ?
>
> I'm curious about this too. Adrian, can you give more details?
>
> --dkg
Hi,
I agree that 774332, 745082 and 763391 are the same bug.
It is my understanding that it is a fakechroot bug : fakechroot
can't cope with suid root executables
($ ls -AlF /usr/bin/chfn
-rwsr-xr-x 1 root root 46264 févr. 21 16:18 /usr/bin/chfn*)
This is a limitation of the underlying mechanism, i.e. library preloading.
>From ld.so manpage :
"For setuid/setgid ELF binaries, only libraries in
the standard search directories that are also setgid will be
loaded."
I suppose it doesn't make sense to have libfakeroot or libfakechroot
sgid root ...
I hope it will help !
Regards,
JH Chatenet
Reply to: