Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Enterprise Linux 5 »

Re: [rhelv5-list] Autofs, df and locahost not showing - new feature?

John Summerfield

2008-04-23

Replies:

Author LoginPost Reply
Brian Long wrote:
> On Wed, 2008-04-16 at 17:45 +0800, John Summerfield wrote:
>
>> fwiw I have an outstanding (since fc6 but I've verified it in CentOS5)
>> concerning using authconfig in kickstart, and then adding users in %post.
>>
>> ldap isn't running, and it takes about 15 minutes per user. Originally I
>> wrote it off as hung, but lately I've been starting a ks install then
>> going on with other stuff. I'm a lot more patient then:-)
>
> John,
>
> Have you tried luseradd instead of useradd? In our environment even

I haven't (I haven't actually figured how to drive openldap, I was
merely trying), and I can live without it.[1]

If someone wants to push it, this is the bug:
https://bugzilla.redhat.com/show_bug.cgi?id=201557

> with NIS running properly, useradd would take 45-60 minutes per user
> because of the way glibc queries NIS (we have tens of thousands of users
> in NIS). luseradd works well, but then we had to fix all the apps which
> call useradd during installation (i.e. apache). In the end, we renamed
> useradd to useradd.real and /usr/sbin/useradd was a wrapper around
> luseradd. It's a horrible hack, but it's required in our environment.
>
> Come to think of it, I don't understand why Apache and other RPMs which
> require local users don't call luseradd and I don't believe we ever
> escalated it to Red Hat Engineering to figure out their reasoning.

It should, I think, be fixed properly.
>
> /Brian/

[1] I actually have a suitable ks set up to test this. luseradd seems to
be performing as poorly as useradd (I took a look and was able to
observe it several times with "ps -w."

It doesn't seem to be the same problem (but mine might well occur if I
were setting up a new NIS domain and server instead of LDAP).



--

Cheers
John

-- spambait
1aaaaaaa@(protected)
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.