FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 07-14-2008, 03:16 PM
Slinky
 
Default What's creating /etc/ldap.conf?

Hi guys,

First apologies as this might be on the wrong list.

I'm hoping somebody can help me find the culprit of the file /etc/ldap.conf

Is Anaconda creating this, or is (theory) yum pulling this in?


I've tried some debugging via kickstart and syslog...

-snip-
%packages
-*
%post
ls -l /etc/ldap.conf
-rw-r--r-- 1 root root 60 Jul 14 14:33 /etc/ldap.conf
rpm -qf /etc/ldap.conf
file /etc/ldap.conf is not owned by any package

-snip-

so rpm was a bit useless there. The only real tracer bullets I find our openldap and nss_ldap rpms being installed via anaconda.log.

I can understand Anaconda needing ldap to enable the ldap related kickstart options but it would be nice to get a definitive answer on why the file appears.. and has some contents..


Many Thanks
Slinky


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 07-14-2008, 04:47 PM
Brian Reichert
 
Default What's creating /etc/ldap.conf?

On Mon, Jul 14, 2008 at 05:16:58PM +0200, Slinky wrote:
> I'm hoping somebody can help me find the culprit of the file /etc/ldap.conf
>
> Is Anaconda creating this, or is (theory) yum pulling this in?
>
> I've tried some debugging via kickstart and syslog...
>
> -snip-
> %packages
> -*
> %post
> ls -l /etc/ldap.conf
> -rw-r--r-- 1 root root 60 Jul 14 14:33 /etc/ldap.conf

What distribution is this?

> Many Thanks
> Slinky

--
Brian Reichert <reichert@numachi.com>
55 Crystal Ave. #286 Daytime number: (603) 434-6842
Derry NH 03038-1725 USA BSD admin/developer at large

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 07-14-2008, 04:56 PM
Slinky
 
Default What's creating /etc/ldap.conf?

SL5

doesn't appear with SL4.



2008/7/14 Brian Reichert <reichert@numachi.com>:

On Mon, Jul 14, 2008 at 05:16:58PM +0200, Slinky wrote:

> I'm hoping somebody can help me find the culprit of the file /etc/ldap.conf

>

> Is Anaconda creating this, or is (theory) yum pulling this in?

>

> I've tried some debugging via kickstart and syslog...

>

> -snip-

> %packages

> -*

> %post

> ls -l /etc/ldap.conf

> -rw-r--r-- 1 root root 60 Jul 14 14:33 /etc/ldap.conf



What distribution is this?



> Many Thanks

> Slinky



--

Brian Reichert * * * * * * * * * * * * *<reichert@numachi.com>

55 Crystal Ave. #286 * * * * * * * * * *Daytime number: (603) 434-6842

Derry NH 03038-1725 USA * * * * * * * * BSD admin/developer at large



_______________________________________________

Anaconda-devel-list mailing list

Anaconda-devel-list@redhat.com

https://www.redhat.com/mailman/listinfo/anaconda-devel-list



_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 07-14-2008, 05:44 PM
Brian Reichert
 
Default What's creating /etc/ldap.conf?

On Mon, Jul 14, 2008 at 06:56:24PM +0200, Slinky wrote:
> SL5
>
> doesn't appear with SL4.

Hmm; if it's not part of the payload ('rpm -qf /etc/ldap.conf'),
then it's being created by a scriptlet.

Review:

rpm -q --scripts openldap

If you have multiple OpenLDAP RPMs, you may need to query each of
them in turn.


--
Brian Reichert <reichert@numachi.com>
55 Crystal Ave. #286 Daytime number: (603) 434-6842
Derry NH 03038-1725 USA BSD admin/developer at large

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 07-14-2008, 07:13 PM
Slinky
 
Default What's creating /etc/ldap.conf?

Brian, thank you. Very much appreciated. Strangeness now understood



2008/7/14 Brian Reichert <reichert@numachi.com>:

On Mon, Jul 14, 2008 at 06:56:24PM +0200, Slinky wrote:

> SL5

>

> doesn't appear with SL4.



Hmm; if it's not part of the payload ('rpm -qf /etc/ldap.conf'),

then it's being created by a scriptlet.



Review:



*rpm -q --scripts openldap



If you have multiple OpenLDAP RPMs, you may need to query each of

them in turn.





--

Brian Reichert * * * * * * * * * * * * *<reichert@numachi.com>

55 Crystal Ave. #286 * * * * * * * * * *Daytime number: (603) 434-6842

Derry NH 03038-1725 USA * * * * * * * * BSD admin/developer at large



_______________________________________________

Anaconda-devel-list mailing list

Anaconda-devel-list@redhat.com

https://www.redhat.com/mailman/listinfo/anaconda-devel-list



_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 07-15-2008, 06:37 AM
"George Machitidze"
 
Default What's creating /etc/ldap.conf?

Actually, if file is not owned by any package - it may be created by
rpm's post installation script...

On 7/14/08, Slinky <swissslinky@gmail.com> wrote:
> Brian, thank you. Very much appreciated. Strangeness now understood
>
>
>
> 2008/7/14 Brian Reichert <reichert@numachi.com>:
>
> >
> > On Mon, Jul 14, 2008 at 06:56:24PM +0200, Slinky wrote:
> > > SL5
> > >
> > > doesn't appear with SL4.
> >
> > Hmm; if it's not part of the payload ('rpm -qf /etc/ldap.conf'),
> > then it's being created by a scriptlet.
> >
> > Review:
> >
> > rpm -q --scripts openldap
> >
> > If you have multiple OpenLDAP RPMs, you may need to query each of
> > them in turn.
> >
> >
> > --
> >
> >
> >
> > Brian Reichert <reichert@numachi.com>
> > 55 Crystal Ave. #286 Daytime number: (603) 434-6842
> > Derry NH 03038-1725 USA BSD admin/developer at large
> >
> > _______________________________________________
> > Anaconda-devel-list mailing list
> > Anaconda-devel-list@redhat.com
> >
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
> >
>
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
>


--

Best Regards,
George Machitidze

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 07-15-2008, 08:40 AM
"Moray Henderson (ICT)"
 
Default What's creating /etc/ldap.conf?

>From: Slinky <swissslinky@gmail.com>
>rpm -qf /etc/ldap.conf
>file /etc/ldap.conf is not owned by any package

If it's not anaconda/yum, it's probably created by an rpm install script or trigger. First guess would be an ldap package: try

rpm -qia *ldap* --scripts --triggers | less +/ldap.conf

If that doesn't help, you'll have to scan all rpms:

rpm -qia --scripts --triggers | less +/ldap.conf

Other than that, it could be coming from a program or script file that is part of an rpm.


Moray.
"To err is human. To purr, feline"
http://members.aol.com/edgwddirk


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 09:40 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org