commands fail due to wrong paths set up.

Bug #657044 reported by scott lorberbaum
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
amanda (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu Lucid 10.04.1 LTS.. amanda version : 1:2.6.1p1-2

For right now. amserverconfig and amaddclient both fail because the paths that are looked for are not the correct ones. The directory structure that is created by the package is different than the included perl file Amanda: Paths and so running any of these commands leads to a nu such file or directory on many of the included files that do exist, but were put in new places.

amaddclient doesn't even take the proper paths from the Amanda: Paths file as they are set inside of the amaddclient program, unlike the amserverconfig that loads in the paths from the said perl file.

One of the main issues is the redundent use of the lib folder... in the amaddclient file,
 $localstatedir="/var/lib";
$amandahomedir="$localstatedir/lib/amanda";
obviously this comes out to /var/lib/lib/amanda... the directory that actually exists is /var/lib/amanda.

farther down inside amaddclient where .amandahosts is being redone-it fails and can't find the file...because the symbolic link is actually found in /var/backup..., but the setting for $amandahomedir is set to /var/lib/amanda...

amandates and the gnutar-lists are set in /var/lib/amanda and not in /var/backup

there are similar errors in the amserver config file with $localstatedir set wrong, and $amdata set wrong, as for me dir was installed to /usr/share/doc/amanda-common/examples/
..

anyways you get the point...am I the only one this is happening to?

i've been editing the command files myself but I assume when I update my amanda to a new version,(if these bugs aren't fixed) then my programs will break and thus my backup will stop...

Thanks for the hlep.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in amanda (Ubuntu):
status: New → Confirmed
Revision history for this message
Adam-hardy (adam-hardy) wrote :

Is this just a bug with the Ubuntu packaging then?

Is the best work-around to remove the amanda packages and to use the ones from zmanda's download page?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.