LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   named complains about lack of lmdb_mapsize (https://www.linuxquestions.org/questions/slackware-14/named-complains-about-lack-of-lmdb_mapsize-4175621395/)

RandomTroll 01-10-2018 10:46 PM

named complains about lack of lmdb_mapsize
 
Beginning with bind-9.11.2-i586-1 I've gotten this message on boot:

Quote:

named[1094]: ./config.c: option 'lmdb-mapsize' was not enabled at compile time (ignored)
Is this a mistake I've made or a problem with the package? I built the package with the source, but I lack LMDB so I can't configure LMDB into it.

bathory 01-11-2018 12:47 AM

Hi,
Quote:

Is this a mistake I've made or a problem with the package? I built the package with the source, but I lack LMDB so I can't configure LMDB into it.
Since you've built named from sources, you can recompile it adding the "--without-lmdb" option in ./configure, so it stops complaining.


Reyards

RandomTroll 01-11-2018 09:05 AM

Quote:

Originally Posted by bathory (Post 5804995)
Since you've built named from sources, you can recompile it adding the "--without-lmdb" option in ./configure, so it stops complaining.

No, I can't. I can't build it with lmdb in the first place. You misunderstood: I've been using the bind package until I noticed this message in /var/log/syslog. In an attempt to figure out what's happening I built my own, and it still results in the same message, so the problem isn't Slackware's package. I reported it in case Slackware's builders wanted to do anything about it. I don't think it impairs named's performance.

bathory 01-11-2018 11:57 AM

Quote:

No, I can't. I can't build it with lmdb in the first place. You misunderstood: I've been using the bind package until I noticed this message in /var/log/syslog. In an attempt to figure out what's happening I built my own, and it still results in the same message, so the problem isn't Slackware's package. I reported it in case Slackware's builders wanted to do anything about it.I don't think it impairs named's performance.
Apparently it does. Well, at least when you remove/modify zones.
From bind 9.11 release notes:
Quote:

When BIND is built with the lmdb library (Lightning Memory-Mapped Database), named will store the configuration information for zones that are added via rndc addzone in a database, rather than in a flat “NZF” file. This dramatically improves performance for rndc delzone and rndc modzone: deleting or changing the contents of a database is much faster than rewriting a text file.

RandomTroll 01-11-2018 01:17 PM

Quote:

Originally Posted by bathory (Post 5805173)
Apparently it does. Well, at least when you remove/modify zones.

I meant that named works for my purposes, which are undemanding. I think that everyone who knows what lmdb is installs it if s/he so desires. I reported my experience because innocently running named results in a warning in the log files, that, perhaps, somebody may want this not to happen: decreasing noise in log files is a benefit. By building it myself I can see that bind's authors started the behavior.

What's a Hungarian doing in Greece?

bathory 01-12-2018 12:50 AM

Quote:

What's a Hungarian doing in Greece?
I'm Greek.
The nick is from my favorite metal band. ;)

Cheers

RandomTroll 01-14-2018 12:25 PM

I joined bind's mailing list, queried them, they replied:

Quote:

Ought to be fixed by this change in 9.11.3:

4659. [bug] Remove spurious log message about lmdb-mapsize
not being supported when parsing builtin
configuration file. [RT #45618]


All times are GMT -5. The time now is 04:12 AM.