Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491842 - app-backup/amanda with sys-apps/systemd - amrecover fails: NAK: amindexd: invalid service, add 'amindexd' as argument to amandad
Summary: app-backup/amanda with sys-apps/systemd - amrecover fails: NAK: amindexd: inv...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-21 08:08 UTC by Stefan G. Weichinger
Modified: 2013-11-23 09:09 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan G. Weichinger 2013-11-21 08:08:26 UTC
With current amanda@.service file amrecover from another host fails with:

# amrecover daily
Using index server from environment AMANDA_SERVER (amanda)
AMRECOVER Version 3.3.3. Contacting server on amanda ...
NAK: amindexd: invalid service, add 'amindexd' as argument to amandad



Reproducible: Always

Steps to Reproduce:
1. emerge amanda
2. run box with systemd
3. amrecover from another host


Expected Results:  
correct connection with amrecover

amanda@.service should be edited from

ExecStart=/usr/libexec/amanda/amandad -auth=bsdtcp amdump 

to

ExecStart=/usr/libexec/amanda/amandad -auth=bsdtcp amdump amindexd

It works for me with this change.
Comment 1 Stefan G. Weichinger 2013-11-21 08:29:00 UTC
one option more is needed for actually extracting files then:

ExecStart=/usr/libexec/amanda/amandad -auth=bsdtcp amdump amindexd amidxtaped
Comment 2 Pacho Ramos gentoo-dev 2013-11-23 09:09:02 UTC
+*amanda-3.3.3-r1 (23 Nov 2013)
+
+  23 Nov 2013; Pacho Ramos <pacho@gentoo.org> +amanda-3.3.3-r1.ebuild,
+  +files/amanda.service-r1:
+  Improve systemd unit file (#491842 by Stefan G. Weichinger)
+