pvaneynd: (Default)
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.
pvaneynd: (Default)
I'm experimenting with zfs at home, for the moment on top of my md/lvm setup, and I ran out of disk space. Growing the lv is pretty easy:

frost:~# lvextend --size +110G /dev/new-vg/zfs-test
  Extending logical volume zfs-test to 120.00 GiB
  Logical volume zfs-test successfully resized
frost:~# zpool list
NAME       SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
zfs-pool  9.94G  9.78G   161M    98%  1.00x  ONLINE  -


Hmm it did not notice the 110GB extra, so I did:

frost:~# zpool export zfs-pool
frost:~# zpool import zfs-pool
frost:~# zpool list
NAME       SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
zfs-pool   120G  9.78G   110G     8%  1.00x  ONLINE  -


so simply doing an import/export is enough.

I'm looking at zfs to have a better idea of what btrfs will mean in the future for us.

Profile

pvaneynd: (Default)
pvaneynd

October 2015

S M T W T F S
    123
45678910
11121314151617
1819202122 2324
25262728293031

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 28th, 2017 09:57 am
Powered by Dreamwidth Studios