Bug#580086: Messes up /etc/hosts on every call
Goswin von Brederlow
goswin-v-b at web.de
Fri May 14 01:03:05 UTC 2010
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