Re: [Exim] 4.12 smtp transport segfaults, newbie begs for he…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: John Dalbec
Datum:  
To: Exim Users Mailing List
Betreff: Re: [Exim] 4.12 smtp transport segfaults, newbie begs for help
Greg Louis wrote:
> Removing the db from that line did solve the problem. (I saw that
> entry but that was yesterday -- didn't spring to mind again this
> morning when I found out I too had a getservbyname() issue :(
>
> Curious: this works fine without any change to /etc/nsswitch.conf:
> #include <netdb.h>
> #include <stdio.h>
> int main(int argc, char **argv)
> {
>     struct servent *p;
>     int *port;
>     p=getservbyname("smtp","tcp");
>     *port=ntohs(p->s_port);
>     printf("Got port %d for service %s/%s\n", *port,
>         p->s_name, p->s_proto);
>     exit(0);
> }


Yes, but you're not linking against DB 4.1.25 here. What DB version
does ldd show if you run it against your nss_db library?
John Dalbec