Bug#580086: Messes up /etc/hosts on every call
Junichi Uekawa
dancer at netfort.gr.jp
Sun May 30 13:51:17 UTC 2010
Hi,
The default should be a working config for most people. The
requirement to have a different /etc/hosts for the chroot and outside
the chroot is a special case.
At Fri, 14 May 2010 03:03:05 +0200,
Goswin von Brederlow wrote:
>
> Junichi Uekawa <dancer at netfort.gr.jp> writes:
>
> > Hi,
> >
> > That's a good question. I'm not sure if there is an existing way to
> > override hosts. Do you see any of the hooks run in the right timing
> > for overriding hosts?
> >
> > Currently copy_local_configuration isn't configurable.
>
> I have no idea what hooks there are so I can't say. Adding a hook to
> repair /etc/hosts after it got overwritten seems wrong though.
>
> Maybe you could copy /etc/pbuilder/hosts if it exists (same for other
> local files) instead of the system one. That way one can provide a
> proper file if needed and the change to copy_local_configuration would
> be small.
>
> MfG
> Goswin
>
More information about the Pbuilder-maint
mailing list