[Pbuilder-maint] Bug#430765: Bug#430765: please add ccache support
Junichi Uekawa
dancer at netfort.gr.jp
Thu Jun 28 00:00:23 UTC 2007
Hi,
> >> The permissions get all wrong. I initially tried bind-mounting, but suddenly
> >> a random user from the outside can fiddle with your ccache. That is not a
> >> good thing.
> > I don't think that's too much of a problem if the way ccache works is
> > what I think it does.
>
> Could you outline your assumptions, please?
ccache is supposed to do the right thing even when ccache data is
shared inside/outside of chroot, right? Users can fiddle with your
ccache and you should not be affected.
> > Looking at Steiner's patch, it's rather too big. Why not just provide the
> > configuration file, and make a shorthand option for the configuration?
>
> Well, if you change the {save,restore}_ccache to using bind mounts instead,
> the patch _is_ almost just that. So I guess we agree :-)
There's a big difference between using already-existing --bindmounts
feature through configuration file and adding a new function.
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
More information about the Pbuilder-maint
mailing list