http://qa.mandrakesoft.com/show_bug.cgi?id=5175
------- Additional Comments From [EMAIL PROTECTED] 2003-02-09 21:45 -------
>From the strace it looks like it might be waiting for user information from nss.
Do you use NIS? LDAP? Winbind? nscd? What do you get with:
$ time getent passwd |wc -l
when you boot up the first time? What do you get a few minutes later?
If the time is not significant and it returns all your users, please test
hostname resolution also:
$ time getent hosts `hostname`
We use LDAP/NFS, on my first login, mc takes about 15 seconds to load (with my
user login, with a large home directory on NFS). As root on first boot, mc
starts up in 3 seconds. 1GHz Duron/256MB.
This looks seriously like it's user enumeration timeouts, with a long wait in
between reading some passwd-type data:
read(10, "root:x:0:\nbin:x:1:\ndaemon:x:2:\ns"..., 4096) = 503
and showing a directory listing:
write(1, "7m\33[44m-rw-r--r-- 1 root ro"..., 1301) = 1301
Further on, there is a long timeout while finding root's home to read the config
files:
open("/root/.mc/history", O_RDONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 EEXIST
(File exists)
You may also want to post your /etc/nsswitch.conf
--
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: NEEDINFO
creation_date:
description:
mc startup has actually been fubar since at least 9.0, possibly before that, but
I can't remember. I haven't stopwatched it, but if started immediately upon 1st
login after boot, it must be taking at least one minute, a seeming eternity,
both in 9.1 and 9.2rc1. Upon entering mc at shell prompt, the screen is blanked,
cursor goes to bottom left, and nothing happens for a while. Eventually, some
liblow error messages quickly scroll up the screen too fast to read, and mc
becomes ready to use.
Hardware is rather old, P200 for rc1, with 128 MB RAM & PCI graphics card, but
immaterially better on K6/2-500 with 256 MB RAM and same graphics adapter for
9.1, and on a P3-450 with 768 MB RAM and G450 graphics adapter..