Bug#394985: [Pbuilder-maint] Bug#394985: Loads ~/.pbuilderrc even with --configfile on the command line

Loïc Minier lool at dooz.org
Tue Oct 24 18:15:16 CEST 2006


        Hi,

On Wed, Oct 25, 2006, Junichi Uekawa wrote:
> That's a personal preference, and an unusual one.

 Perhaps it's a personal preference, however other programs permit
 overriding the default configuration in some way, rarely is this used
 as an extension point; I wouldn't call that unusual:
 - bash --rcfile
 - gpg --homedir
 - vim -u
 - mutt -F
 - procmail rcfile
 - screen -c

 etc.  In fact, I couldn't find a single program which behaves as
 pbuilder does.  :)

 Here's why I came to reporting this bug: I have a complex setup which
 does a lot of things "automagically", such as creating distribution
 specific dirs.  My default distribution is sid, so I had a .pbuilderrc
 which set distribution to sid, and other *.pbuilderrc for other dists.
 Building for -- say -- etch would happen with pbuilder --configfile
 etch.pbuilderrc.  But I noticed that the sid dirs were created
 unconditionally because ~/.pbuilderrc was always sourced.

 Now I don't use ~/.pbuilderrc anymore, I have a sid.pbuiderrc as well,
 this makes ~/.pbuilderrc useless to me and it broke my expectation.


 Another way to close the bug is to document this more proeminently in
 pbuilder(8) as it currently states "Loads the configuration file" in
 --configfile.  This doesn't contradict what --configfile really does,
 but still...
   It might also be useful to permit disabling it.

   Bye,
-- 
Loïc Minier <lool at dooz.org>




More information about the Pbuilder-maint mailing list