[openib-general] OFED 1.2 dapl and dat.conf
James Lentini
jlentini at netapp.com
Tue Feb 20 06:29:09 PST 2007
On Fri, 16 Feb 2007, Arlin Davis wrote:
> Doug Ledford wrote:
>
> > On Wed, 2007-02-14 at 13:26 -0800, Arlin Davis wrote:
> >
> > > Steve Wise wrote:
> > >
> > >
> > > > Currently, the dapl rpms don't install dat.conf. I think they probably
> > > > should, eh? Maybe in <prefix>/etc/dat.conf
> > > >
> > > >
> > > >
> > > my specfile is setup to target sysconfdir which is typically set to
> > > `$(prefix)/etc'
> > >
> > > %{_sysconfdir}/dat.conf
> > >
> > > I am not sure how the 1.2 scripts are building the rpms. Maybe Vladimir
> > > can help explain?
> > >
> >
> > Note that this setup is problematic on multilib arches. Since the
> > dat.conf file hard codes a library path that's different for 32bit/64bit
> > arches, installing both a 32bit and 64bit dapl library is impossible
> > without munging things.
> >
> > For RHEL4U5/RHEL5 I changed the dat library to read dat<bits>.conf and
> > have two separate conf files. A probably better approach would be to
> > change the library to use a relative library name that it looks for
> > starting from the libraries own directory. Hence if the dapl library is
> > in /usr/lib, it looks in /usr/lib. Doing that would allow the
> > 32bit/64bit libraries to share the same config file.
> >
> >
> This is a good idea. I will take a look at dladdr options to set
> appropriate starting path for dapl libraries when absolute paths are
> not specified.
>
> James, do you see any issues with this approach?
Nope. The dat registry should be able to handle provider libraries at
any location in the file namespace (provided they are accessible of
course).
> Vladimir, can you tell me how the OFED 1.2 install scripts are
> handling the dat.conf?
>
> -arlin
>
More information about the general
mailing list