[MacPorts] #43549: bind9 @9.10.0_2 fails to start due to file ownership

MacPorts noreply at macports.org
Fri May 2 22:27:13 PDT 2014


#43549: bind9 @9.10.0_2 fails to start due to file ownership
--------------------+---------------------
 Reporter:  jmr@…   |      Owner:  dluke@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.2.1
 Keywords:          |       Port:  bind9
--------------------+---------------------
 After updating from 9.9.5, named failed to start with `port load`. The
 system log says this:
 {{{
 May  3 15:13:26 MiniMac named[71190]: starting BIND 9.10.0 -u named -f
 May  3 15:13:26 MiniMac named[71190]: built with '--prefix=/opt/local' '--
 mandir=/opt/local/share/man' '--with-openssl=/opt/local' '--with-
 libxml2=/opt/local' '--enable-threads' '--enable-ipv6'
 'CC=/usr/bin/gcc-4.2' 'CFLAGS=-pipe -Os -arch x86_64'
 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
 'CPPFLAGS=-I/opt/local/include'
 May  3 15:13:26 MiniMac named[71190]:
 ----------------------------------------------------
 May  3 15:13:26 MiniMac named[71190]: BIND 9 is maintained by Internet
 Systems Consortium,
 May  3 15:13:26 MiniMac named[71190]: Inc. (ISC), a non-profit 501(c)(3)
 public-benefit
 May  3 15:13:26 MiniMac named[71190]: corporation.  Support and training
 for BIND 9 are
 May  3 15:13:26 MiniMac named[71190]: available at
 https://www.isc.org/support
 May  3 15:13:26 MiniMac named[71190]:
 ----------------------------------------------------
 May  3 15:13:26 MiniMac named[71190]: Required root permissions to open
 '/opt/local/var/run/named.pid'.
 May  3 15:13:26 MiniMac named[71190]: Please check file and directory
 permissions or reconfigure the filename.
 May  3 15:13:26 MiniMac named[71190]: Required root permissions to open
 '/opt/local/var/run/named/session.key'.
 May  3 15:13:26 MiniMac named[71190]: Please check file and directory
 permissions or reconfigure the filename.
 May  3 15:13:26 MiniMac named[71190]: command channel listening on
 127.0.0.1#54
 May  3 15:13:26 MiniMac named[71190]: command channel listening on
 /var/run/ndc
 May  3 15:13:26 MiniMac named[71190]: the working directory is not
 writable
 May  3 15:13:26 MiniMac named[71190]: isc_stdio_open
 '/opt/local/var/log/named.log' failed: permission denied
 May  3 15:13:26 MiniMac named[71190]: configuring logging: permission
 denied
 May  3 15:13:26 MiniMac named[71190]: loading configuration: permission
 denied
 May  3 15:13:26 MiniMac named[71190]: exiting (due to fatal error)
 May  3 15:13:26 MiniMac org.macports.bind9[71189]: isc_stdio_open
 '/opt/local/var/log/named.log' failed: permission denied
 May  3 15:13:26 MiniMac com.apple.launchd[1] (org.macports.bind9):
 Throttling respawn: Will start in 10 seconds
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/43549>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list