How do you start the network after booting? If you do

    service network start

the hostname should be set correctly automatically. When you do

    service cups start

after starting the network, CUPS gets automatically configured for the 
current network situation.

    Till


Michael Reinsch wrote:

> Hi!
> 
> On Sat, 01 Sep 2001 03:15:01 Till Kamppeter wrote:
> 
> 
>> * Sat Sep 01 2001 Till Kamppeter <[EMAIL PROTECTED]> 1.1.10-2mdk
>> - Added checks for system environment to the CUPS startup script,
>>   missing kernel modules and a missing loopback device are started
>>   automatically now.
> 
> 
> Thanks. But now I know why my hostname is reset to "localhost": the cups
> startup script does it :-(
> 
> I have a notebook and don't start the network during boot because sometimes
> I'm without network and I don't want to wait for the dhcpcd to timeout.
> 
> I also have my hostname in the /etc/hosts, so the cups startup script
> should maybe only reset the hostname to localhost if it is not there. And
> print a warning: e.g. "Network not up, hostname not found in /etc/hosts,
> resetting it to localhost". Or maybe even better: don't change the 
> hostname but refuse to load cupsd and tell the user why.



Reply via email to