On Tue, Sep 18, 2012 at 10:11:13AM +0300, Gregory Edigarov wrote: > Hi, > > Several days ago I've noticed that X doesn't start properly on my > -current (I normally run xdm) . I've tried to see where the problem is > and it was that ldconfig somehow not working correctly AT BOOT TIME. > instead of configuring /usr/lib, /usr/X11R6/lib, and /usr/local/lib it > configures /usr/lib only. > after the boot I am able to run ldconfig manually without problem.
With what command line, you don't say ? > I've checked the commit logs, but only found one recent commit: > > prevent detection of bogus libraries problem initially noticed by deraadt@, > exchanged various patches with kettenis@ > decided to fix the bug now, even though ldconfig could probably use a > larger rewrite. > okay matthew@ > > but from what I see, this diff could not give any unwanted behaviour. Yep. > Does anybody else seeing this? No. Well, have a look around the area of /etc/rc that sets up ldconfig to run. Possibly, go echo shlib_dirs there. Check that something doesn't rerun ldconfig afterwards with no parameters... It's pretty simple: boot normally does ldconfig /usr/X11R6/lib /usr/local/lib is this what you do manually ? If it works, there's no reason for it NOT to work during boot. Did you screw up your mounting procedures ? do you also have to mount file systems after boot ?