Package: amanda-server
Version: 1:2.5.2p1-4
Tags: patch
Followup-For: Bug #500889


The attached patch solves this problem by setting the number of virtual slots 
to be equal to the number of tapes in the tape run.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages amanda-server depends on:
ii  amanda-common      1:2.5.2p1-4           Advanced Maryland Automatic Networ
ii  bsd-mailx [mailx]  8.1.2-0.20071201cvs-3 A simple mail user agent
ii  libc6              2.7-16                GNU C Library: Shared libraries
ii  libncurses5        5.6+20080830-1        shared libraries for terminal hand
ii  libreadline5       5.2-3                 GNU readline and history libraries

amanda-server recommends no packages.

Versions of packages amanda-server suggests:
ii  amanda-client                1:2.5.2p1-4 Advanced Maryland Automatic Networ
ii  cpio                         2.9-13      GNU cpio -- a program to manage ar
pn  gnuplot                      <none>      (no description available)
ii  mt-st                        1.1-2       Linux SCSI tape driver aware magne
ii  perl [perl5]                 5.10.0-17   Larry Wall's Practical Extraction 

-- no debconf information
89c89
< lastslot=99
---
> lastslot=`amgetconf$SUF runtapes`
317c317,319
< #
---
> # Tell Amanda we are able to go backwards (1)
> # Set to 0 to pretend to be a gravity stacker
> backward=1
326c328
<               answer="0 $lastslot 1"
---
>               answer="0 $lastslot $backward"
328c330
<               answer="$slot $lastslot 1"
---
>               answer="$slot $lastslot $backward"

Reply via email to