Bug#430765: [Pbuilder-maint] Bug#430765: please add ccache support

2010-01-03 Thread Mike Hommey
On Sun, Jan 03, 2010 at 11:36:46AM +0900, Junichi Uekawa wrote: Hi, At Sat, 2 Jan 2010 17:39:17 +0100, Mike Hommey wrote: On Sat, Jan 02, 2010 at 05:36:47PM +0100, Mike Hommey wrote: On Sat, Jan 02, 2010 at 05:28:23PM +0100, Loïc Minier wrote: On Sat, Jan 02, 2010, Mike Hommey

Bug#430765: [Pbuilder-maint] Bug#430765: please add ccache support

2010-01-03 Thread Junichi Uekawa
ermm... why are you talking about CLONE_NEWPID. I think you wanted to talk about CLONE_NEWUSER so that same UID won't affect outside the chroot. At Sun, 03 Jan 2010 11:36:46 +0900, Junichi Uekawa wrote: Hi, At Sat, 2 Jan 2010 17:39:17 +0100, Mike Hommey wrote: On Sat, Jan 02, 2010

Bug#430765: [Pbuilder-maint] Bug#430765: please add ccache support

2010-01-03 Thread Mike Hommey
On Mon, Jan 04, 2010 at 08:20:40AM +0900, Junichi Uekawa wrote: ermm... why are you talking about CLONE_NEWPID. To prevent processes in the chroot to access processes outside the chroot. I think you wanted to talk about CLONE_NEWUSER so that same UID won't affect outside the chroot. Does

Bug#430765: [Pbuilder-maint] Bug#430765: please add ccache support

2010-01-02 Thread Loïc Minier
clone 430765 -1 retitle -1 SECURITY: Host user 1234 can tamper with build chroot tag -1 + security stop On Thu, Jun 28, 2007, Junichi Uekawa wrote: The permissions get all wrong. I initially tried bind-mounting, but suddenly a random user from the outside can fiddle with your ccache.

Bug#430765: [Pbuilder-maint] Bug#430765: please add ccache support

2010-01-02 Thread Mike Hommey
On Sat, Jan 02, 2010 at 05:16:38PM +0100, Loïc Minier wrote: clone 430765 -1 retitle -1 SECURITY: Host user 1234 can tamper with build chroot tag -1 + security stop On Thu, Jun 28, 2007, Junichi Uekawa wrote: The permissions get all wrong. I initially tried bind-mounting, but

Bug#430765: [Pbuilder-maint] Bug#430765: please add ccache support

2010-01-02 Thread Loïc Minier
On Sat, Jan 02, 2010, Mike Hommey wrote: Shouldn't pbuilder try to use the original user uid ? I, for one, set BUILDUSERID to my own uid... Oh that would work too; I think I would prefer pbuilder using a separate user id since the build might do evil things e.g. killall. -- Loïc Minier

Bug#430765: [Pbuilder-maint] Bug#430765: please add ccache support

2010-01-02 Thread Mike Hommey
On Sat, Jan 02, 2010 at 05:28:23PM +0100, Loïc Minier wrote: On Sat, Jan 02, 2010, Mike Hommey wrote: Shouldn't pbuilder try to use the original user uid ? I, for one, set BUILDUSERID to my own uid... Oh that would work too; I think I would prefer pbuilder using a separate user id since

Bug#430765: [Pbuilder-maint] Bug#430765: please add ccache support

2010-01-02 Thread Mike Hommey
On Sat, Jan 02, 2010 at 05:36:47PM +0100, Mike Hommey wrote: On Sat, Jan 02, 2010 at 05:28:23PM +0100, Loïc Minier wrote: On Sat, Jan 02, 2010, Mike Hommey wrote: Shouldn't pbuilder try to use the original user uid ? I, for one, set BUILDUSERID to my own uid... Oh that would work

Bug#430765: [Pbuilder-maint] Bug#430765: please add ccache support

2010-01-02 Thread Junichi Uekawa
Hi, At Sat, 2 Jan 2010 17:39:17 +0100, Mike Hommey wrote: On Sat, Jan 02, 2010 at 05:36:47PM +0100, Mike Hommey wrote: On Sat, Jan 02, 2010 at 05:28:23PM +0100, Loïc Minier wrote: On Sat, Jan 02, 2010, Mike Hommey wrote: Shouldn't pbuilder try to use the original user uid ? I, for

Bug#430765: [Pbuilder-maint] Bug#430765: please add ccache support

2007-06-28 Thread Junichi Uekawa
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

Bug#430765: please add ccache support

2007-06-27 Thread Steinar H. Gunderson
Package: pbuilder Version: 0.170 Severity: wishlist Tags: patch Hi, As discussed on the boat under DebConf, here's a patch to enable ccache support in pbuilder. I've only tested it lightly, but it seems to work well. -- System Information: Debian Release: lenny/sid APT prefers oldstable APT

Bug#430765: please add ccache support

2007-06-27 Thread Mike Hommey
On Wed, Jun 27, 2007 at 10:34:11AM +0200, Steinar H. Gunderson [EMAIL PROTECTED] wrote: Package: pbuilder Version: 0.170 Severity: wishlist Tags: patch Hi, As discussed on the boat under DebConf, here's a patch to enable ccache support in pbuilder. I've only tested it lightly, but it

Bug#430765: please add ccache support

2007-06-27 Thread Steinar H. Gunderson
On Wed, Jun 27, 2007 at 08:10:39PM +0200, Mike Hommey wrote: I looks a bit overkill to copy the cache over... why not just bind mount it ? 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

Bug#430765: [Pbuilder-maint] Bug#430765: please add ccache support

2007-06-27 Thread Junichi Uekawa
Hi, I looks a bit overkill to copy the cache over... why not just bind mount it ? 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

Bug#430765: [Pbuilder-maint] Bug#430765: please add ccache support

2007-06-27 Thread Steinar H. Gunderson
On Thu, Jun 28, 2007 at 08:12:38AM +0900, Junichi Uekawa wrote: 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