View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000101 | bareos-core | installer / packages | public | 2013-02-26 15:40 | 2015-03-25 19:18 |
Reporter | Assigned To | ||||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Ubuntu 12.04 | ||||
Product Version | 13.1.0 | ||||
Fixed in Version | 13.1.0 | ||||
Summary | 0000101: bugfix 92 generated a new bug. btape can't find the mtx-changer script | ||||
Description | Attempts to fix bug 92 a new bug was generated | ||||
Steps To Reproduce | cat /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 | ||||
Tags | No tags attached. | ||||
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 ...) |
|
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= |
|
I had previously bareos12.4 installed. I deinstalled it and installed Bareos 13.01. | |
This works - this bug report can be closed or resolved? But further bugs are eminent: id=102 |
|
Problem fixed | |
problem has only been fixed manually. A patch has been created and is waiting to be integrated. |
|
Fix committed to bareos bareos-12.4 branch with changesetid 995. | |
Fix committed to bareos2015 bareos-13.2 branch with changesetid 4320. | |
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. |
|
bareos: bareos-12.4 5c6b2cb2 2013-05-04 13:14 Committer: 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 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 Committer: 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 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 |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-02-26 15:40 |
|
New Issue | |
2013-02-26 15:40 |
|
Status | new => assigned |
2013-02-26 15:40 |
|
Assigned To | => joergs |
2013-02-26 15:50 | mvwieringen | Note Added: 0000187 | |
2013-02-26 15:52 |
|
Note Added: 0000188 | |
2013-02-26 15:53 |
|
Note Added: 0000189 | |
2013-02-26 16:32 |
|
Note Added: 0000191 | |
2013-02-27 17:39 |
|
Target Version | 12.4.1 => 13.1.0 |
2013-02-27 17:39 |
|
Fixed in Version | 12.4.1 => 13.1.0 |
2013-02-27 17:39 |
|
Note Added: 0000200 | |
2013-02-27 17:39 |
|
Status | assigned => closed |
2013-02-27 17:39 |
|
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 |
|
Changeset attached | => bareos master 8234b4c1 |
2013-08-13 03:12 |
|
Changeset attached | => bareos bareos-12.4 5c6b2cb2 |
2013-08-13 03:12 |
|
Note Added: 0000612 | |
2013-08-13 03:12 |
|
Assigned To | => mvwieringen adm |
2013-08-13 03:12 |
|
Status | closed => resolved |
2013-08-13 09:04 |
|
Assigned To | mvwieringen adm => |
2013-08-13 09:04 |
|
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 |