[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lh_chroot_hostname changes my hostname back and forth



Justin Pryzby wrote:
> First, why is it necessary to set the hostname

otherwise some stupid maintainerscripts of packages do fail, e.g. ssmtp
in etch.

> Second, why isn't it clear why the hostname shouldn't be changed back?

it is clear, and it is also set back as you quoted:

> 		if [ -f /etc/hostname ]
> 		then
> 			hostname -F /etc/hostname
> 		fi

I know that it's shitty, to have the hostname changed while live-helper
is running. Do you have a better idea to work arround those stupid
maintainerscripts?

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann at panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/



Reply to: