View Issue Details

IDProjectCategoryView StatusLast Update
0000101bareos-coreinstaller / packagespublic2015-03-25 19:18
Reporteruser12Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformUbuntu 12.04 
Product Version13.1.0 
Fixed in Version13.1.0 
Summary0000101: bugfix 92 generated a new bug. btape can't find the mtx-changer script
DescriptionAttempts to fix bug 92 a new bug was generated
Steps To Reproducecat /etc/apt/sources.list.d/bareos.list
deb http://obs.dass-it/bareos:/master/xUbuntu_12.04/ [^] /

apt-get install --allow-unauthenticated bareos-director bareos-database-postgresql bareos-storage bareos-filedaemon bareos-devel bareos-tools bareos-bconsole

btape LTO
Tape block granularity is 1024 bytes.
btape: butil.c:285-0 Using device: "LTO" for writing.
26-Feb 15:27 btape JobId 0: 3991 Bad autochanger "loaded? drive 0" command: ERR=Child exited with code 127.
Results=/usr/lib/bareos/scripts/mtx-changer: 277: /usr/lib/bareos/scripts/mtx-changer: -f: not found

26-Feb 15:27 btape JobId 0: 3991 Bad autochanger "loaded? drive 0" command: ERR=Child exited with code 127.
Results=/usr/lib/bareos/scripts/mtx-changer: 277: /usr/lib/bareos/scripts/mtx-changer: -f: not found

btape: btape.c:499-0 open device "LTO" (/dev/nst0): OK
TagsNo tags attached.

Activities

mvwieringen

mvwieringen

2013-02-26 15:50

developer   ~0000187

Set MTX to something on line 58 of the script. It seems that mtx was not
in the PATH on the build environment and as such the MTX program was not
detected. The old default also sucked which set all kind of programs as
being installed while they are not available on the platform (e.g. Solaris
vs Linux vs *BSD vs ...)

user12

2013-02-26 15:52

  ~0000188

Hint fronm Philipp

/usr/lib/bareos/scripts/mtx-changer

Value for variable MTX is missing

root@cardtech02:/etc/bareos# grep -n ^MTX /usr/lib/bareos/scripts/mtx-changer
58:MTX=

user12

2013-02-26 15:53

  ~0000189

I had previously bareos12.4 installed. I deinstalled it and installed Bareos 13.01.

user12

2013-02-26 16:32

  ~0000191

This works - this bug report can be closed or resolved?
But further bugs are eminent: id=102

user12

2013-02-27 17:39

  ~0000200

Problem fixed
joergs

joergs

2013-02-27 17:44

developer   ~0000201

problem has only been fixed manually.
A patch has been created and is waiting to be integrated.
mvwieringen adm

mvwieringen adm

2013-08-13 03:12

administrator   ~0000612

Fix committed to bareos bareos-12.4 branch with changesetid 995.
mvwieringen

mvwieringen

2015-03-25 16:51

developer   ~0001393

Fix committed to bareos2015 bareos-13.2 branch with changesetid 4320.
joergs

joergs

2015-03-25 19:18

developer   ~0001546

Due to the reimport of the Github repository to bugs.bareos.org, the status of some tickets have been changed. These tickets will be closed again.
Sorry for the noise.

Related Changesets

bareos: bareos-12.4 5c6b2cb2

2013-05-04 13:14

joergs


Committer: mvwieringen adm

Ported: N/A

Details Diff
configure finds mtx also at /usr/sbin/mtx

some distribution store mtx under /usr/sbin/mtx.
As configure runs as normal user, this path is not set.
This patch let configure also look at sbin paths.

fixes 0000101: variable MTX is not defined

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000101
mod - autoconf/configure.in Diff File

bareos2015: bareos-12.4 6ee33be6

2013-05-04 15:14

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
configure finds mtx also at /usr/sbin/mtx

some distribution store mtx under /usr/sbin/mtx.
As configure runs as normal user, this path is not set.
This patch let configure also look at sbin paths.

fixes 0000101: variable MTX is not defined

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000101
mod - autoconf/configure.in Diff File

bareos: master 8234b4c1

2013-05-04 21:08

joergs


Committer: mvwieringen adm

Ported: N/A

Details Diff
configure finds mtx also at /usr/sbin/mtx

some distribution store mtx under /usr/sbin/mtx.
As configure runs as normal user, this path is not set.
This patch let configure also look at sbin paths.

fixes 0000101: variable MTX is not defined

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000101
mod - autoconf/configure.in Diff File

bareos2015: bareos-13.2 82b14279

2013-05-04 23:08

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
configure finds mtx also at /usr/sbin/mtx

some distribution store mtx under /usr/sbin/mtx.
As configure runs as normal user, this path is not set.
This patch let configure also look at sbin paths.

fixes 0000101: variable MTX is not defined

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000101
mod - autoconf/configure.in Diff File

Issue History

Date Modified Username Field Change
2013-02-26 15:40 user12 New Issue
2013-02-26 15:40 user12 Status new => assigned
2013-02-26 15:40 user12 Assigned To => joergs
2013-02-26 15:50 mvwieringen Note Added: 0000187
2013-02-26 15:52 user12 Note Added: 0000188
2013-02-26 15:53 user12 Note Added: 0000189
2013-02-26 16:32 user12 Note Added: 0000191
2013-02-27 17:39 user12 Target Version 12.4.1 => 13.1.0
2013-02-27 17:39 user12 Fixed in Version 12.4.1 => 13.1.0
2013-02-27 17:39 user12 Note Added: 0000200
2013-02-27 17:39 user12 Status assigned => closed
2013-02-27 17:39 user12 Resolution open => fixed
2013-02-27 17:44 joergs Note Added: 0000201
2013-02-27 17:45 joergs Status closed => assigned
2013-02-27 20:59 mvwieringen Changeset attached => bareos master 3de3b623
2013-02-27 20:59 mvwieringen Assigned To joergs => mvwieringen
2013-02-27 20:59 mvwieringen Status assigned => closed
2013-02-27 21:19 mvwieringen Assigned To mvwieringen =>
2013-02-28 10:16 mvwieringen Changeset attached => bareos Branch-12.4 558f2b57
2013-02-28 10:16 mvwieringen Assigned To => mvwieringen
2013-03-04 10:07 mvwieringen Product Version 13.1.0 => 12.4.2
2013-03-04 10:07 mvwieringen Target Version 13.1.0 => 12.4.2
2013-03-04 10:07 mvwieringen Fixed in Version 13.1.0 => 12.4.2
2013-03-04 10:07 mvwieringen Assigned To mvwieringen =>
2013-03-04 10:07 mvwieringen Fixed in Version => 13.1.0
2013-08-13 03:12 mvwieringen adm Changeset attached => bareos master 8234b4c1
2013-08-13 03:12 mvwieringen adm Changeset attached => bareos bareos-12.4 5c6b2cb2
2013-08-13 03:12 mvwieringen adm Note Added: 0000612
2013-08-13 03:12 mvwieringen adm Assigned To => mvwieringen adm
2013-08-13 03:12 mvwieringen adm Status closed => resolved
2013-08-13 09:04 mvwieringen adm Assigned To mvwieringen adm =>
2013-08-13 09:04 mvwieringen adm Status resolved => closed
2015-03-25 16:51 mvwieringen Changeset attached => bareos2015 bareos-12.4 6ee33be6
2015-03-25 16:51 mvwieringen Changeset attached => bareos2015 bareos-13.2 82b14279
2015-03-25 16:51 mvwieringen Note Added: 0001393
2015-03-25 16:51 mvwieringen Status closed => resolved
2015-03-25 19:18 joergs Note Added: 0001546
2015-03-25 19:18 joergs Status resolved => closed