[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] LTSP Lab Slow to Boot



Well, there are two answers to this:

1.  No.  :) It cannot be turned off (as far as I know), because part of
sudo's capabilities are to limit what can be run as root by a particular
user *from a particular machine*, meaning Joe can run xyz from
localhost, but not from the fileserver remotely.  So, to determine host,
it needs to lookup hostname.

2.  If your "sudo" is slow for this reason, then it speaks to much
larger DNS issues that are most likely making lots of other things slow.
Your users most likely are not slow because they run sudo.  They will be
slow for the same reasons that sudo is slow.  So, better to fix the root
cause of the slowness (no pun intended) :).

Cheers,

-Gadi


On Tue, 2008-09-16 at 13:22 -0700, monteslu cox net wrote:
> This is a great piece of information. I also find sudo to be painfully slow.
> 
> Is there a reason it has to do a hostname lookup? Can that be turned off?
> 
> Luis
> 
> 
> 
> ---- Gideon Romm <ltsp symbio-technologies com> wrote: 
> > Stephen,
> > 
> > I don't know if you ever resolved your issue, but if it takes a long
> > time to sudo, chances are you have DNS issues.
> > 
> > Check to make sure your /etc/hosts, /etc/resolv.conf,
> > and /etc/nsswitch.conf all look healthy.
> > 
> > Then, check connectivity to the DNS server.
> > 
> > "sudo" does a get_hostname() lookup, and if your hostname lookups do not
> > work well, this will cause grief on thin client booting, as well as
> > slowness overall.
> > 
> > -Gideon
> > 
> > 
> > On Fri, 2008-09-05 at 12:52 -0400, Crampton, Stephen C. wrote:
> > > The information contained in this message may be privileged and confidential and protected from disclosure.  If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.  Under Florida law, e-mail addresses are public records. If you do not want your e-mail address released in response to a public-records request, do not send electronic mail to this entity. Instead, contact this office by phone or in writing.
> > > _______________________________________________ K12OSN mailing list K12OSN redhat com https://www.redhat.com/mailman/listinfo/k12osn For more info see <http://www.k12os.org>
> > -- 
> > --------------------------------------------------------
> > Gideon Romm | Proud LTSP Developer
> > ltsp symbio-technologies com
> > 
> > Support LTSP!  Buy your hardware at:
> > 
> >         www.DisklessWorkstations.com
> >         www.DisklessThinClients.com 
> >  
> > (use coupon code: LTSP5P for 5% off thin clients from DisklessThinClients.com)
> > 
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN redhat com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN redhat com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
-- 
--------------------------------------------------------
Gideon Romm | Proud LTSP Developer
ltsp symbio-technologies com

Support LTSP!  Buy your hardware at:

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]