Junichi Uekawa <dan...@netfort.gr.jp> writes: > 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 <dan...@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 >>
How does that conflict with "if it exists"? If the special file does not exist then /etc/hosts can still be used. Alternatively an option to just not copy the file every time would be fine too. MfG Goswin -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org