Bug 185659

Summary: amanda 2.5.0
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: amandaAssignee: Jay Fenlason <fenlason>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jfeeney, j, mjs
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-09 20:18:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
amanda 2.5.0 spec file
none
Updated amanda spec
none
Patch to fix amcheck behavior when no good tape is found in the changer. none

Description Orion Poplawski 2006-03-16 19:05:11 UTC
Jay -

  Don't know if you are tracking amanda 2.5.0, but I thought I'd post my spec
for the latest snapshot in case it is useful.   I haven't done much testing yet,
but it basically builds and runs.
  The krb stuff doesn't compile on FC5 because of amanda's use of depecrated
interfaces.  I reported upstream, but I don't know anything about kerberos to
port the calls forward.

Comment 1 Orion Poplawski 2006-03-16 19:05:12 UTC
Created attachment 126242 [details]
amanda 2.5.0 spec file

Comment 2 Jay Fenlason 2006-03-16 19:12:03 UTC
I'm planning on building it into dist-fc6 shortly after the official 2.5.0 
tarball is released.  That should be Real Soon Now.  I haven't decided about 
backporting it to FC5 or FC4.  I'll have to experiment and see how backward 
compatable it is. 

Comment 3 Orion Poplawski 2006-03-27 18:06:42 UTC
Created attachment 126838 [details]
Updated amanda spec

The final 2.5.0 release, just in case it's useful.  Fixes some permissions and
sub-package locations.

What I still don't understand is why almost all of the files are installed with
amandauser/amandagroup ownership.  A straight amanada 2.5.0 doesn't do this,
don't know if 2.4.5 used to.  Certainly some files probably need to be, but not
all.

Comment 4 Orion Poplawski 2006-04-12 14:56:54 UTC
I'll be testing your amanda-2.5.0-2 package on FC5 shortly.  Just an FYI, I
dropped the following:

> libtoolize --copy --force
> aclocal
> automake
> autoconf

without any apparent difficulty from the spec I was previously using.

Also, /usr/bin/Mail should be left as a BuildRequires as well (fails to build in
mock).  Alternatively, you can set:

export MAILER=/usr/bin/Mail  (or mail)

before running configure.


Comment 5 Orion Poplawski 2006-04-12 15:40:08 UTC
In case it's useful.

--- amanda.spec 10 Apr 2006 19:52:13 -0000      1.29
+++ amanda.spec 12 Apr 2006 15:20:47 -0000
@@ -29,7 +29,7 @@
 Prereq: fileutils grep initscripts
 BuildRequires: dump gnuplot cups samba-client tar grep fileutils
 BuildRequires: libtool automake autoconf gcc-c++ readline-devel
-Requires: tar /usr/bin/Mail
+Requires: tar /bin/mail
 BuildRoot: %{_tmppath}/%{name}-%{version}-root

 %description
@@ -85,15 +85,11 @@
 %patch0 -p1 -b .bug18322
 %patch1 -p1 -b .pie
 %patch2 -p1 -b .overflow
-libtoolize --copy --force
-aclocal
-automake
-autoconf

 %build
 export CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE"
 export SED=sed
-
+export MAILER=/bin/mail
 %configure --enable-shared \
        --disable-static \
        --disable-dependency-tracking \


Comment 6 Orion Poplawski 2006-05-16 17:16:12 UTC
Looks like 2.5.0p2 is out with an important bug fix.  It also has the overflow
patch applied.  The above patch continues to work for me too, although you
should also be able to drop the BR on libtool, automake, and autoconf.

Comment 7 Jason Tibbitts 2006-05-16 17:53:02 UTC
There's another important (for me at least) patch that needs to be added to even
2.5.0p2, which I'll attach.  Without the patch, amcheck will go through a
changer, not find an acceptable tape for the next run, and fail to complain
about it.

Comment 8 Jason Tibbitts 2006-05-16 18:10:58 UTC
Created attachment 129251 [details]
Patch to fix amcheck behavior when no good tape is found in the changer.