On 2010-05-12 23:48, Mark Martin wrote:
On Tue, May 11, 2010 at 5:20 PM, Robin Axelsson
<[email protected]>  wrote:
I'm not using any particular locale (I use the default system language) and
I use a Swedish keyboard layout. The keyboard is a Logitech keyboard
connected via the PS/2 port and the mouse is a Logitech USB mouse. Also note
that this delay has not been there all the time. Even after I upgraded to
snv_b134 the login was normal. But then something happened quite recently, I
don't know what it is. The only thing I've been tampering with in the system
is the network configuration files such as /etc/host, /etc/nsswitch.conf and
/etc/inet/inodes since I was resolving problems with slow ssh logins. I have
a feeling that some configuration file was corrupted when the system was
shut down. This is just a hunch and I may be terribly wrong. The system has
I don't have a specific test for you to perform at the moment, but my
first instinct, when I read your initial post some days ago, was that
this was very indicative of a network timeout.  I'm not a gnome expert
by any means, so I'm glad Brian is helping, but I'd not give up the
network configuration angle as another possible configuration issue.
Especially since you mention you recently changed nsswitch.conf (and
friends).  Additionally, it occurs to me during Brian's
troubleshooting with you that that sort of thing (network timeout) is
often not logged with a default configuration, which is why you
wouldn't see it in any of the normal logs.  I suspect truss'ing would
eventually find the network timeout issue if that really is the
culprit.

One thing you can try to do, though, in the mean time, is try using
simpler (or older) versions of nsswitch.conf (try with just files or
dns).  If you recently added ldap for any reason, then I might even be
persuaded to put money down on a bet.
.


But I actually never did any changes to the nsswitch.conf file. The file looks like this:

------
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I%     %E% SMI"

#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.

passwd:     files
group:      files
#hosts:       files  # Commented out by DHCP
hosts: files dns # Added by DHCP
#ipnodes:     files  # Commented out by DHCP
ipnodes: files dns # Added by DHCP
networks:   files
protocols:  files
rpc:        files
ethers:     files
netmasks:   files
bootparams: files
publickey:  files
# At present there isn't a 'files' backend for netgroup;  the system will
#   figure it out pretty quickly, and won't use netgroups at all.
netgroup:   files
automount:  files
aliases:    files
services:   files
printers:       user files

auth_attr:  files
prof_attr:  files
project:    files

tnrhtp:     files
tnrhdb:     files

------

The only change I did was to add entries in the hosts which resolved the delay that occurred during login with ssh.

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to