You are not logged in.

#1 2012-01-18 09:56:28

asrenzo
Member
Registered: 2012-01-18
Posts: 2

[SOLVED] LDAP auth => Boot hangs at "Removing Leftover Files"

Hello,

Since my friday upgrade, systems hangs for a while (several minutes) at this point. My box is configured to auth against an external ldap server.
When this system is finally up, everything is OK.

Digging around system boot process, I found that the problem must be located in /usr/lib/initscripts/arch-tmpfiles. When I comment this line in function remove_leftover from file /etc/rc.d/functions, eveything is OK.

Dispite my tests, I'm not able to find the solution.

My udev groups and local groups are OK,
My nsswitch.conf is configured to look into files before ldap.

Does anybody have any clue ?

Regards

Laurent

Last edited by asrenzo (2012-01-18 11:11:10)

Offline

#2 2012-01-18 11:10:57

asrenzo
Member
Registered: 2012-01-18
Posts: 2

Re: [SOLVED] LDAP auth => Boot hangs at "Removing Leftover Files"

OK, found the problem.

In file /usr/lib/tmpfiles.d/consolekit.conf, we have no username nor groupname provided. Then arch-tmpfiles adds default values for uid and gid. These values are 0 and 0.
But when using uid numbers instead of usernames, the getent command requires the ldap connexion to be up. This can not be effective because network is not up.

Thus replacing content of /usr/lib/tmpfiles.d/consolekit.conf with

d /run/ConsoleKit 0755 root root -

instead of

d /run/ConsoleKit 0755 - - -

does the trick.

Regards,

Laurent

Offline

Board footer

Powered by FluxBB