I had problems running the official DynDNS daemon. In /var/log/dyndnsupdater.log I saw:
DynDNSUpdaterService must be run as root (501).
On a hunch I checked and the owner of the files is not root and the setuid flag is set:
pevaneyn-mac:~ pevaneyn# ls -l /usr/local/dyndns/
total 2184
drwx------@ 3 pevaneyn wheel 102 Feb 9 2010 Accounts
drwxr-xr-x@ 9 pevaneyn wheel 306 Feb 9 2010 Config
-rwsr-xr-x@ 1 pevaneyn wheel 1104528 Jan 7 2010 DynDNSUpdaterService
-rw-r--r--@ 1 pevaneyn wheel 536 Jan 7 2010 dyndnsd.conf
-rwxr-xr-x@ 1 pevaneyn wheel 4760 Jan 7 2010 ig-configurator.sh
So I fixed that:
pevaneyn-mac:~ root# chown -R root /usr/local/dyndns
which fixed the problem. The GUI now works, as does the updater again. I think my failed experiments with brew caused this.
DynDNSUpdaterService must be run as root (501).
On a hunch I checked and the owner of the files is not root and the setuid flag is set:
pevaneyn-mac:~ pevaneyn# ls -l /usr/local/dyndns/
total 2184
drwx------@ 3 pevaneyn wheel 102 Feb 9 2010 Accounts
drwxr-xr-x@ 9 pevaneyn wheel 306 Feb 9 2010 Config
-rwsr-xr-x@ 1 pevaneyn wheel 1104528 Jan 7 2010 DynDNSUpdaterService
-rw-r--r--@ 1 pevaneyn wheel 536 Jan 7 2010 dyndnsd.conf
-rwxr-xr-x@ 1 pevaneyn wheel 4760 Jan 7 2010 ig-configurator.sh
So I fixed that:
pevaneyn-mac:~ root# chown -R root /usr/local/dyndns
which fixed the problem. The GUI now works, as does the updater again. I think my failed experiments with brew caused this.