数週間前に、玄箱蹴飛ばさなきゃその日にやってたはずの作業
で、その後…… clog (AFS の klog に相当) で認証しようにも timeout してんですけど……
kuroyagibox# clog codaadmin username: [email protected] Unable to resolve addresses for Coda auth2 servers in realm 'goatland.info' Password: Invalid login (RPC2_FAIL (F)).
そりゃ nameserver 的解決なんかできるわけねーけどさぁ……
mount(2) の引き数の変更に追随するための pkgsrc への修正
--- coda-src/venus/worker.cc.orig 2007-08-02 03:32:29.000000000 +0900 +++ coda-src/venus/worker.cc 2007-11-10 21:27:54.000000000 +0900 @@ -369,9 +369,9 @@ #endif if (error < 0) - error = mount("coda", venusRoot, 0, kernDevice); + error = mount("coda", venusRoot, 0, kernDevice, strlen(kernDevice)+1); if (error < 0) - error = mount("cfs", venusRoot, 0, kernDevice); + error = mount("cfs", venusRoot, 0, kernDevice, strlen(kernDevice)+1); #if defined(__FreeBSD__) && !defined(__FreeBSD_version) #define MOUNT_CFS 19 if (error < 0)
venus.init の改変
--- coda-src/scripts/venus.init.orig 2007-11-11 23:03:41.000000000 +0900 +++ coda-src/scripts/venus.init 2007-11-11 23:03:48.000000000 +0900 @@ -10,10 +10,10 @@ # chkconfig: 345 97 01 # description: The Coda cache manager. -prefix=/usr +prefix=/usr/pkg exec_prefix=${prefix} -PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH +PATH=/sbin:/usr/sbin:/usr/pkg/sbin:$PATH export PATH # defaults @@ -41,11 +41,11 @@ if [ -f $pid_file ]; then echo "$pid_file exists, venus already running?." fi - [ -d /var/lock/subsys ] && touch /var/lock/subsys/venus.init +# [ -d /var/lock/subsys ] && touch /var/lock/subsys/venus.init - echon " kernel" - /sbin/modprobe coda - [ -x /sbin/udevsettle ] && /sbin/udevsettle || sleep 5 +# echon " kernel" +# /sbin/modprobe coda +# [ -x /sbin/udevsettle ] && /sbin/udevsettle || sleep 5 ${exec_prefix}/sbin/vutil --swaplogs echon " venus" @@ -59,7 +59,7 @@ umount $mountpoint fi rm -f $pid_file - [ -d /var/lock/subsys ] && rm -f /var/lock/subsys/venus.init +# [ -d /var/lock/subsys ] && rm -f /var/lock/subsys/venus.init echo "done." ;; hardstop)
[referer: [an error occurred while processing this directive]]