On Wed, 12 Jan 2011 10:24:09 +0100, Salvatore Bonaccorso wrote:

> On Tue, Jan 11, 2011 at 07:40:19AM +0200, Damyan Ivanov wrote:
> > I am still not convinced that this is a problem with the package or 
> > a problem that should be solved per package.

Hm.
I think writing to (an existing) $HOME is a bit weird at build time.

> > Home directories are a fundamental UNIX thing, similar to mktemp call. 

Agreed, the question is what $HOME is set to, and "who" sets it.

> > I agree that a fix in the package is simple and quick, but I believe 
> > this is better fixed globally, e.g. at sbuild level.
> Well the buildd do not have home for the building user, only the above
> mounts shown. One further reason apart the safety reasons, to have
> this way is to avoid that building user may use already present
> configuration influenting the build or testing (as an example). The
> solution you propose to have the buildd's set first a temporary home
> directory may work indeed, but has to be implemented there.

Having $HOME set during build by some of the involved tools would
indeed be more practical; be it sbuild or debhelper or even dpkg ...

(Until then I still support the idea of fixing our packages :))


Cheers,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Anouar Brahem: Leila au pays du carrousel

Attachment: signature.asc
Description: Digital signature

Reply via email to