[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Hurrah for Dave Trask! FC5 Samba/LDAP bug identified!



Matt...and all,

My honest opinion?  Have the installer do it.  In trolling the net for the
fix, there has been almost no movement on this bug except to post the
"work-around".  Initially I was only going to do "root" and "ldap", but
after checking my logs over and over (I kept finding errors related to
"avahi" and "haldaemon")  An earlier post on this list led me to another
site that confirmed my suspicions.  You'll notice that in the logs (after
the fix) that essentially what is happening is that it allows things to
proceed without stopping or hanging up.  There are pauses in the logs, but
they are in the background and there are only a couple short ones
(seconds) as opposed to the pages and pages that happened prior.

A little more research just now confirms that the fix I mentioned is in
Rawhide as of 7/10/06 (today...ummm....yesterday)

" Current rawhide has "nss_initgroups_ignoreusers
root,ldap,named,avahi,haldaemon" on by default, so there's no more hangup
of named/avahi/dbus/hal "   

This tells me that the fix for now will indeed be what we have or will add
to ldap.conf.  So...I see no reason not to go ahead and maybe put in a
note about the line and commenting it out if there are future issues.  

As for the "disablerepo=core" thing to fix the yum bug....since this is a
one time install issue, I see no reason not to also include this in the
k12ltsp-5 section of the distro-data.pm file.  This bug hasn't had any
movement at all....last post was in April.  And....since the install only
happens once....it's not something that will affect the future of that
installation.  If it changes or is fixed we can simply post a new
distro_data.pm file.  

That's my opinion.  This has been fun...I love sleuthing for bugs....and
more than that I love VMWare which makes it much easier to do so...brought
me back to my roots when I was doing samba/ldap by hand (remember those
days?), but now I need to go to bed....it's 3:30 a.m.  My wife is going to
kill me  ;-)

DT


"Support list for opensource software in schools." <k12osn redhat com> on
Tuesday, July 11, 2006 at 12:50 AM +0000 wrote:
>I'm not sure yet whether I'll have the smbldap-installer do this
>bugfix automatically, or just warn the user and point her to
>documentation of how to fix it.
>
>--matt
>
>----- Forwarded message from David Trask <dtrask vcsvikings org> -----
>
>From: David Trask <dtrask vcsvikings org>
>Date: Tue, 11 Jul 2006 00:41:16 -0400
>To: Matt Oquist <moquist majen net>
>Subject: The fix!  It works....
>
>Ok....my research turned up this....
>
>I added the following line to /etc/ldap
>
>nss_initgroups_ignoreusers root,ldap,named,avahi,haldaemon
>
>that solves the slow slapd startup.  It's a known bug in FC5 and
>supposedly there is a line in the default ldap.conf file, but I can't find
>it....nonetheless...it works.  
>
><hang on>  *restarting in order to test the messagebus timeout*
>
>Eureka!  It works!  Adding that one line fixed the whole problem!  Starts
>up nice and fast now.  I just checked the logs and all appears ok.  I also
>just checked the status of the services....all are running fine.  I think
>I got it....so to recap what I did....
>
>I did NOT change the order of service startup....I left all as it was.
>
>I added the line "nss_initgroups_ignoreusers
>root,ldap,named,avahi,haldaemon"  to /etc/ldap
>
>That's it!  I had to cull a lot of information from several sites to
>deduce just exactly what should work....thank God for my ability to read
>French (4 years of it in HS....and a Quebec border state)....I ran into a
>lot of French sites and also comments on the IDEALX site.  
>
>Tomorrow I will try it out on my server at school and also try the  yum
>--disablerepo=core install perl-LDAP  to address the yum bug that Eric
>confirmed.  Two packages were affected for me (perl-LDAP and it's
>dependencies and openldap-server)  I'll let you know, but for now I think
>we have it licked.  :-)
>
>----- End forwarded message -----
>--
>Open Source Software Engineering Consultant
>http://majen.net/
>
>_______________________________________________
>K12OSN mailing list
>K12OSN redhat com
>https://www.redhat.com/mailman/listinfo/k12osn
>For more info see <http://www.k12os.org>



David N. Trask
Technology Teacher/Director
Vassalboro Community School
dtrask vcsvikings org
(207)923-3100



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]