Bug 219665 - misc/amanda-server /usr/local/etc/amanda/amanda-security.conf is really /usr/local/etc/amanda/security.conf
Summary: misc/amanda-server /usr/local/etc/amanda/amanda-security.conf is really /usr/...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: FreeBSD Ports Bugs (Mailing List)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-30 20:56 UTC by Trond.Endrestol
Modified: 2017-06-09 20:45 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trond.Endrestol 2017-05-30 20:56:54 UTC
pkg-plist claims:

%%SERVER_ONLY%%%%ETCDIR%%/amanda-security.conf

while Makefile via CONFIGURE_ARGS claims:

--with-security-file=${ETCDIR}/security.conf

So, which one is it? It's the latter.

Make it so. Engage! Energize!
Comment 1 Gert Doering 2017-06-09 17:42:22 UTC
the amanda-client-3.3.9,1 bin package is compiled to require /usr/local/etc/amanda/security.conf but does not install it(!) - so, after an upgrade of a client-only (no amanda-server installed), all backups fail.
Comment 2 Trond.Endrestol 2017-06-09 20:45:40 UTC
(In reply to Gert Doering from comment #1)
Short term remedy is to do this on each client:

mkdir -p /usr/local/etc/amanda
touch /usr/local/etc/amanda/security.conf

I hope the maintainer decides on whether this files should be named amanda-security.conf or security.conf, and arranges for this file to be created iff(!) it doesn't exist on the clients.