AMANDA 3.3.9 as of r441897
misc/amanda-{client,server}
as of r441897 fails to create the directory /usr/local/etc/amanda
and an empty file named /usr/local/etc/amanda/security.conf
. The client will fail during client checks and backup runs claiming:
failed: planner: [Can't get realpath of the security file '/usr/local/etc/amanda/security.conf': No such file or directory]
Here’s the remedy in the short run:
1 2 | mkdir -p /usr/local/etc/amanda touch /usr/local/etc/amanda/security .conf |
There is one additional issue, pkg-plist
claims:
6 | %%SERVER_ONLY%%%%ETCDIR%%/amanda-security.conf |
while Makefile
says:
34 | --with-security-file=${ETCDIR}/security.conf |
This file is needed on each client and the filenames must match.
Due to historical reasons, or is that hysterical raisins(?), /usr/ports/misc/amanda-server/Makefile.local
contains
1 | CONFIGURE_ARGS+= --sysconfdir=/home |
Watch PRs 219665 and 219850 for more development on this issue.