Opened 2 years ago

Closed 7 weeks ago

#56297 closed defect (invalid)

bind9 @9.12.1_0 does not work on my High Sierra

Reported by: inquil (Carlos Canchaya) Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: bind9

Description (last modified by ryandesign (Ryan Schmidt))

bind9 @9.12.1_0 does not work on my High Sierra, log message is:

network: error: could not listen on UDP socket: permission denied

I rolled back to bind9 @9.12.0_0 and it works with no problem

Change History (7)

comment:1 Changed 2 years ago by raimue (Rainer Müller)

Owner: set to danielluke
Port: bind9 added
Status: newassigned

comment:2 Changed 2 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)

comment:3 Changed 2 years ago by danielluke (Daniel J. Luke)

How are you starting bind9? That sounds like your 9.12.1 is not being started as root, but 9.12.0 is. Additionally what does your listen-on (and/or listen-on-v6) directive look like in your named.conf file?

comment:4 Changed 2 years ago by inquil (Carlos Canchaya)

Hi,

a) my script for launching it

cat /Library/LaunchDaemons/org.isc.named.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Disabled</key>
        <false/>
        <key>EnableTransactions</key>
        <true/>
        <key>Label</key>
        <string>org.isc.named</string>
        <key>OnDemand</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
                <string>/usr/local/sbin/named</string>
                <string>-f</string>
        </array>
        <key>ServiceIPC</key>
        <false/>
</dict>
</plist>

b) Only this one set

listen-on { any; };

Regards,

Carlos

Last edited 2 years ago by inquil (Carlos Canchaya) (previous) (diff)

comment:5 Changed 2 years ago by danielluke (Daniel J. Luke)

Is your macports prefix set to /usr/local? The default macports prefix is /opt/local but that startup script is trying to run /usr/local/sbin/named. You may also want to verify that when you've stopped bind9 @9.12.0 that nothing has port 53 open (sudo lsof -i :53).

comment:6 Changed 8 weeks ago by ryandesign (Ryan Schmidt)

As far as I can tell, the bind9 port does not install a file named org.isc.named.plist; instead, it installs a file named org.macports.bind9.plist. So the plist you're looking at and the /usr/local/sbin/named program it's launching don't sound like they came from MacPorts, in which case this ticket should be closed as invalid.

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

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.