Re: Re: Re: Getty is spawning to early

2011-11-27 Thread Bob Proulx
Tim Heckman wrote: > Bob Proulx wrote: > >Tim Heckman wrote: > > > The last time dhclient was attempted with this would have been on > > > Debian 5.0. In our most recent Debian 6.0 template someone decided > > > to use dhcpcd, > > >What were they using before? > > In Debian 5.0 dhcp3-client was t

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 for our custome

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 Bob Proulx
Tim Heckman wrote: > John Hasler writes: > >Try killing getty in your script (init will respawn it). You may > >also need to delay logins so that the user can't log in too early. > > I'm not sure why but I hadn't thought of this. I was hoping to > implement a delay instead of having to kill getty

Re: Re: Getty is spawning to early

2011-11-25 Thread Bob Proulx
Tim Heckman wrote: > 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. Ah, very good. In this case it is six of one and a half dozen of the other. Either way should

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 need t

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