Eww, automatically changing configuration files in maintainer scripts? That looks like a no-go to me. It does not even check if the IP already exists in /etc/hosts, or whether the file is used at all (in nsswitch.conf).
Can we instead just make the package generate an error debconf note if /etc/hosts is misconfigured and fail gracefully?
Eww, automatically changing configuration files in maintainer scripts? That looks like a no-go to me. It does not even check if the IP already exists in /etc/hosts, or whether the file is used at all (in nsswitch.conf).
Can we instead just make the package generate an error debconf note if /etc/hosts is misconfigured and fail gracefully?