Sure, that way will work, but usually the intent of keeping it in /etc
is so that you can backup, say, /etc only and recover easily or,
move /etc to another drive or some such.

Simply symlinking it in the way you do has the only convenience of not
having to type or remember the path to tftpboot.  :)

-G


On Fri, 2008-09-05 at 09:34 -0500, Scott Balneaves wrote:
> On Fri, Sep 05, 2008 at 10:18:08AM -0400, Gideon Romm wrote:
> > Guys-
> > 
> > That doesn't work, because tftpd runs in a chroot'd environment.  No
> > symlinks allowed (you kinda would break the security that way).
> > 
> > That's why it is not in /etc/ltsp (which would be logical).
> 
> In about 5 minutes I know I'll regret this, buuuuuut... :)
> 
> [EMAIL PROTECTED]:/etc/ltsp$ sudo ln -s /var/lib/tftpboot/ltsp/i386/lts.conf
> /etc/ltsp/lts.conf
> [sudo] password for sbalneav: whatmeansltsprocks
> [EMAIL PROTECTED]:/etc/ltsp$ ls
> dhcpd.conf  lts.conf
> [EMAIL PROTECTED]:/etc/ltsp$ ls -la
> total 20K
> drwxr-xr-x   2 root root 4.0K 2008-09-05 09:30 .
> drwxr-xr-x 140 root root  12K 2008-09-05 09:05 ..
> -rw-r--r--   1 root root  612 2008-04-21 09:50 dhcpd.conf
> lrwxrwxrwx   1 root root   36 2008-09-05 09:30 lts.conf ->
> /var/lib/tftpboot/ltsp/i386/lts.conf
> 
> So, the file sits in tftpboot, but a symlink points to it from etc.  Should be
> ok in my mind.
> 
> But I agree: I've just gotten used to dealing with it in /var/lib...
> 
> Cheers,
> Scott
> 
> 
-- 
--------------------------------------------------------
Gideon Romm | Proud LTSP Developer
[EMAIL PROTECTED]

Support LTSP!  Buy your hardware at:

        www.DisklessWorkstations.com
        www.DisklessThinClients.com 
 
(use coupon code: LTSP5P for 5% off thin clients from DisklessThinClients.com)


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_____________________________________________________________________
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