Make sure you have no uncommitted changes in your openafs git work directory (or git clone to a separate directory) then,
git checkout openafs-stable-1_6_18 && git clean -q -f -d -x && ./regen.sh && ./configure --enable-debug --enable-transarc-paths && make -j6 aklog
sudo cp ./src/aklog/aklog /usr/local/bin/aklog-1.6.18
afs-robotest config set variables aklog /usr/local/bin/aklog-1.6.18
This sets the "aklog" option in the "variables" section of the config file.
For example, https://gerrit.openafs.org/#/c/12297/3 Under Download,
git fetch https://gerrit.openafs.org/openafs refs/changes/97/12297/3 && git checkout FETCH_HEAD
add your non-loopback ip address (ip addr
or ifconfig
):
127.0.0.1 localhost
172.16.82.152 debianvm.local debianvm
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
be really secure, add NOPASSWD: to the account running the afs-robotest
$ sudo visudo
... add this for sudo group:
%sudo ALL=(ALL:ALL) NOPASSWD: ALL
... or one for your account specifically
username ALL=(ALL:ALL) NOPASSWD: ALL
Note aklog = , dest = Note also this assumes openafs was configured with transarc paths and was built with "make dest"
[paths]
root = /home/jhg/openafs-robotest
tests = %(root)s/tests
libraries = %(root)s/libraries
resources = %(root)s/resources
html = %(root)s/html
doc = %(root)s/html/doc
log = %(root)s/html/log
output = %(root)s/html/output
dist = %(root)s/html/dist
[ssh]
keyfile = /home/jhg/.ssh/afs-robotest
[run]
exclude_tags = todo,crash,slow
log_level = INFO
auto_setup = no
auto_teardown = no
[variables]
afs_dist = transarc
aklog = /usr/bin/aklog-1.6.18
[cell]
name = robotest
user = robotest
admin = robotest.admin
secret = xyzzy
[kerberos]
realm = ROBOTEST
keytab = /tmp/afs.keytab
akimpersonate = yes
[web]
port = 8000
foreground = no
pidfile = /tmp/afs-robotest-web.pid
[servers]
dafileserver = -d 1 -L
davolserver = -d 1
[host:localhost]
installer = transarc
isfileserver = yes
isdbserver = yes
isclient = yes
setclock = no
nuke = no
dest = /home/jhg/openafs/amd64_linux26/dest
build = no
builddir = /home/jhg/openafs