Opened 3 months ago

Closed 3 months ago

#69346 closed enhancement (worksforme)

bind9 @9.18.21: Outdated configure compile options

Reported by: wfburton Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: Cc: jmroot (Joshua Root), barracuda156
Port: bind9

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Any chance to rework the build to not replace named.conf if it already exists. Also, in the PortFile I believe dlopen is no longer a configure option. Can't say in what version of BIND9 it was dropped. Also, should I be concerned that there is no named file lock file.

MacOS X Leopard PPC 10.5.8

barracuda156 fixed jemalloc to compile bind9 without it. Got his fixes and just waiting for it to upstream and merge to base.

I'm submitting this to further enhance the build and also I'm not sure what the ramification are of not having a named file lock file.

default paths:
  named configuration:  /opt/local/etc/named.conf
  rndc configuration:   /opt/local/etc/rndc.conf
  DNSSEC root key:      /opt/local/etc/bind.keys
  nsupdate session key: /opt/local/var/run/named/session.key
  named PID file:       /opt/local/var/run/named/named.pid
  named lock file:      /

Thank you in advance!

Change History (9)

comment:1 Changed 3 months ago by wfburton

Description: modified (diff)

comment:2 Changed 3 months ago by wfburton

Description: modified (diff)

comment:3 Changed 3 months ago by wfburton

Description: modified (diff)

comment:4 Changed 3 months ago by wfburton

Description: modified (diff)

comment:5 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: danielluke removed
Description: modified (diff)
Milestone: MacPorts Future
Owner: set to danielluke
Port: bind9 added; BIND9 @9.18.21 removed
Status: newassigned
Summary: BIND9 - Outdated configure compile optionsbind9 @9.18.21: Outdated configure compile options

comment:6 Changed 3 months ago by danielluke (Daniel J. Luke)

  • bind9 port shouldn't overwrite named.conf, it only installs a named.conf.dist file
  • dlopen stuff is only set for old platforms (which I don't actively test on), I rely on people who use those old/unsupported platforms to test and submit changes. If we need to remove those config options, we can.
  • lock file is a config option: https://bind9.readthedocs.io/en/stable/reference.html#namedconf-statement-lock-file (I don't have it set on my install, YMMV).

comment:7 Changed 3 months ago by danielluke (Daniel J. Luke)

oh, also I merged barracuda156's PR (I thought I did it yesterday, but I guess I didn't).

comment:8 Changed 3 months ago by wfburton

I haven't check lately. I haven't tried doing a reinstall to check it out. Also, I tried re-enabling named.pid in the named.conf file. Now, it's working. I did have to change ownership on some of the files root:named. So, that might account for it to be working now.

comment:9 Changed 3 months ago by danielluke (Daniel J. Luke)

Resolution: worksforme
Status: assignedclosed

Ok. Feel free to reopen if you can reproduce a problem or if you have a patch for one of the older systems.

Note: See TracTickets for help on using tickets.