Bug 1033896 - amrecover: NAK: amindexd: invalid service, add 'amindexd' as argument to amandad
Summary: amrecover: NAK: amindexd: invalid service, add 'amindexd' as argument to amandad
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: amanda
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Hracek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1299761
TreeView+ depends on / blocked
 
Reported: 2013-11-24 07:30 UTC by Peter Bieringer
Modified: 2016-01-19 09:03 UTC (History)
2 users (show)

Fixed In Version: amanda-3.3.6-5.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1299761 (view as bug list)
Environment:
Last Closed: 2014-11-22 12:35:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Bieringer 2013-11-24 07:30:36 UTC
Description of problem:

I can't run amrecover


Version-Release number of selected component (if applicable):

amanda-3.3.3-4.fc19.x86_64


How reproducible:

Since system was upgrade from older version to one where amanda is started by systemd


Steps to Reproduce:
1.
# amrecover -C host
AMRECOVER Version 3.3.3. Contacting server on host ...


Actual results:

NAK: amindexd: invalid service, add 'amindexd' as argument to amandad


Expected results:

Connection to amindexd


Additional info:

Temporary workaround:

--- amanda@.service	2013-07-16 11:18:14.000000000 +0200
+++ /usr/lib/systemd/system/amanda@.service	2013-11-24 08:28:12.009109233 +0100
@@ -5,5 +5,5 @@
 [Service]
 User=amandabackup
 Group=disk
-ExecStart=/usr/sbin/amandad -auth=bsdtcp amdump 
+ExecStart=/usr/sbin/amandad -auth=bsdtcp amdump amindexd amidxtaped
 StandardInput=socket


Since file in /etc/xinetd.d/ was now replaced by this systemd configuration I think it would make more sense:

either try to use /etc/sysconfig/amanda for adjusting the ExecStart arguments
or use them as default, but then default restriction should be in place somehow

Comment 1 Peter Bieringer 2014-05-03 09:31:37 UTC
Still not fixed in F20 with amanda-3.3.3-9.fc20.x86_64

Comment 2 Jason Tibbitts 2014-08-11 20:41:21 UTC
Of course the workaround isn't something you should actually do; either copy the amanda@.service file to /etc/systemd/system and edit it there, or set up an override.

I wonder if it isn't possible for the amanda-server package to set up its own override; the base amanda package would create /lib/systemd/system/amanda@.service.d and amanda-server would drop in a .conf file containing:

[Service]
ExecStart=
ExecStart=/usr/sbin/amandad -auth=bsdtcp amdump amindexd amidxtaped

I'm not sure if that's just too much magic.

Comment 3 Fedora Update System 2014-11-11 14:25:38 UTC
amanda-3.3.6-4.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/amanda-3.3.6-4.fc21

Comment 4 Petr Hracek 2014-11-11 14:46:16 UTC
scm-commit for F21 (https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20141110/1443077.html)
scm-commit for F20 (http://pkgs.fedoraproject.org/cgit/amanda.git/commit/?h=f20)

amanda-udp.service file contains amindexd amidxtaped too.

Comment 5 Fedora Update System 2014-11-11 15:39:49 UTC
amanda-3.3.6-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/amanda-3.3.6-2.fc20

Comment 6 Fedora Update System 2014-11-13 18:06:12 UTC
Package amanda-3.3.6-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing amanda-3.3.6-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-14797/amanda-3.3.6-2.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-11-22 12:35:25 UTC
amanda-3.3.6-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2014-11-24 08:56:12 UTC
amanda-3.3.6-5.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/amanda-3.3.6-5.fc21

Comment 9 Fedora Update System 2014-12-06 10:56:06 UTC
amanda-3.3.6-5.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.