hi,
On So, 2007-11-25 at 16:34 +0000, Joseph Gregory wrote:
> > > 
> > > Don't quite know where to continue the debugging. It would be really
> > > good to have a step by step list of what happens after DHCP request has
> > > been accepted and IP address assigned to client. 
> >
well, after the first DHCP request the client connects to the server (by
default the dhcp server in ubuntu if next-server isnt set in dhcpd.conf
(note that next-server is needed in other distros))
it retrieves the initramfs via tftp, unpacks it and runs the different
hooks in there.

the first hook after bringing up all devices grabs either 'nbdroot' or
'nbdport' from the kernel commandline or falls back to port 2000 and the
rootserver variable from dhcp to establish the nbd connection and get
the squashfs image from the server. then it creates a writeable tmpfs
and merges that with the readonly squashfs in a unionfs stack, this
stack gets mounted as /root which at the end of the bootprocess in
initramfs will become / through the run-init program's root switching
mechanism.

after this step it checks if there is an lts.conf is available in the
tftp dir. if so, it downloads it and copies it in place. (if someone
wants to come up with an optional ldap backend for that which reads the
config out of initramfs that would be very appreciated btw ;) )

at this stage run-inits kicks in, switches /root to / and runs /bin/init
(actually that binary upstart in ubuntu) on the actual system root.

hope thats enough step by step :) if you need info about later stuff
look at /etc/init.d/ltsp-client-setup (excecuted in rcS.d) and 
/etc/init.d/ltsp-client-core (excecuted in rc2.d) they run various
configuration scripts and start various ltsp related services (pulse for
the virtual alsa device in the users session, the ltspfs bits, x
configuration, ldm, etc ...)

ciao
        oli

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to