Re: Getty is spawning to early

2011-11-28 Thread Tim Heckman
Bob Proulx wrote: Do you have the bug number handy? I would be interested in reading through it. Certainly: - Debian Bug #609851 - incorrect variables used to set hostname in dhclient-script - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609851 I haven't noticed any behavior differenc

Re: Re: Re: Getty is spawning to early

2011-11-27 Thread Tim Heckman
Bob Proulx wrote: Tim Heckman wrote: Luckily the two of these issues won't come in to play here. This is going to be used on a system that does not have X installed and will have a static IP address. We use DHCP to assign the address as it is easier to deploy a new distribution fo

Re: Re: Getty is spawning to early

2011-11-27 Thread Tim Heckman
John Hasler writes: Ok. Is the idea to image all the machines identically and then configure them automatically via dhcp? If so why do they need locally configured hostnames at all? By default all of our distribution templates set the hostname of the system, via DHCP, to match the default PT

Re: Re: Getty is spawning to early

2011-11-25 Thread Tim Heckman
John Hasler writes: Tim Heckman writes: I've created a dhclient-exit-hook script to handle the processing. This checks whether the hostname should be set and completes the process. Only sets it if it really is needed. Try killing getty in your script (init will respawn it). You may also

Re: Re: Getty is spawning to early

2011-11-25 Thread Tim Heckman
Bob Proulx wrote: Am I correct in assuming that you have modified /sbin/dhclient-script to set the hostname from the dhcp'd hostname? (That is what I did when I was doing this.) I've created a dhclient-exit-hook script to handle the processing. This checks whether the hostname should be set

Re: Re: Getty is spawning to early

2011-11-25 Thread Tim Heckman
John, Thank you for replying back as well as the idea to set this option. I wish it had been this easy but it appears that this option does not affect how getty prints the login prompt. I believe this may only affect someone trying to log in and not how it prints. If you have any further i

Re: Re: Getty is spawning to early

2011-11-25 Thread Tim Heckman
John, Thank you for replying back as well as the idea to set this option. I wish it had been this easy but it appears that this option does not affect how getty prints the login prompt. I believe this may only affect someone trying to log in and not how it prints. If you have any further i

Getty is spawning to early

2011-11-25 Thread Tim Heckman
Hello, I have an interesting problem that should actually be seen as a compliment to Debian. My system is booting so fast that the /sbin/getty is spawning before DHCP sets the hostname. So I get a prompt like this: Debian GNU/Linux 6.0 (none) hvc0 (none) login: If I log in, the host