Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#41647 closed defect (worksforme)

Unbound doesn't want to start after install

Reported by: ludovic@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: deric@…
Port: unbound

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

The install script for unbound says :

# and to cause it to launch at startup:
#
# sudo port load unbound
oulan:~ ludo$ sudo port load unbound
launchctl: Dubious ownership on file (skipping): /Library/LaunchDaemons/org.macports.unbound.plist
nothing found to load
Error: org.macports.load for port unbound returned: child process exited abnormally
Please see the log file for port unbound for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_unbound/unbound/main.log

Attaching the log.

This is on a clean install of macports after I upgraded my machine to Maverick.

oulan:unbound ludo$ sw_vers 
ProductName:	Mac OS X
ProductVersion:	10.9
BuildVersion:	13A603

Attachments (1)

main.log (798 bytes) - added by ludovic@… 11 years ago.
unbound's main log file

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by ludovic@…

Attachment: main.log added

unbound's main log file

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: deric@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to snc@…
Port: @1.4.21_0 removed

What is the ownership of the file /Library/LaunchDaemons/org.macports.unbound.plist? Find out by running:

ls -l /Library/LaunchDaemons/org.macports.unbound.plist

It should be owned by root.

comment:2 Changed 11 years ago by ludovic@…

oulan:unbound ludo$ ls -l /Library/LaunchDaemons/org.macports.unbound.plist
lrwxr-xr-x  1 unbound  admin  76  1 déc 21:44 /Library/LaunchDaemons/org.macports.unbound.plist -> /opt/local/etc/LaunchDaemons/org.macports.unbound/org.macports.unbound.plist

comment:3 Changed 11 years ago by nerdling (Jeremy Lavergne)

Status: newassigned

comment:4 Changed 11 years ago by nerdling (Jeremy Lavergne)

Resolution: worksforme
Status: assignedclosed

I have rebuilt and reinstalled unbound and the symlink is owned by root. Could you uninstall unbound, then tell MacPorts to keep the log while rebuilding and reinstalling? Then, of course, checking ownership again along the way?

  1. sudo port uninstall unbound
  2. ls -la /Library/LaunchDaemons/ && ls -la /opt/local/etc/LaunchDaemons/org.macports.unbound/
  3. sudo port -k install unbound
  4. ls -la /Library/LaunchDaemons/ && ls -la /opt/local/etc/LaunchDaemons/org.macports.unbound/
Last edited 11 years ago by nerdling (Jeremy Lavergne) (previous) (diff)
Note: See TracTickets for help on using tickets.