[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Polyorb] Some troubles while compiling with pbuilder



xavier grave writes:
> Ludovic Brenta a écrit :
> > I have never used pbuilder and never encountered your problems
> > but the obvious difference I can see between pbuilder and schroot
> > is that pbuilder builds in /tmp; perhaps it is simply running out
> > of space in that filesystem? (On my machine, /tmp is a tmpfs
> > limited to half the amount of physical memory in the system and
> > I think this is the default in Debian.)
> > 
> 
> I think you are right, building music123 don't need a lot of disk space,
> but polyorb is another story.
> 
> I was trying a second build and this time I get a warning (from gnome)
> that /var was running out of space.
> 
> I will extends /var from 2G to 4G (thanks to LVM) and do a new try.

Whoa, careful here. If you use the default settings, /tmp is a symlink
to /var/tmp which is a tmpfs filesystem on its own and is not on a
disk, and hence not under control of LVM; growing /var will not grow
/var/tmp.  In other words, pbuilder does not use the disk.

Also I read the doc on pbuilder and I am concerned that it builds the
package using the root account.  Is there a way to configure pbuilder
to avoid that? i.e. use the root account only to update the packages
in the chroot but then use schroot and a normal user account for the
actual build?

-- 
Ludovic Brenta.



Reply to: