Bug 447692 - Wrong changer command: mtx vs mtx-changer
Summary: Wrong changer command: mtx vs mtx-changer
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: bacula
Version: el5
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Andreas Thienemann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: ActualBug
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-21 07:08 UTC by Juha Tuomala
Modified: 2012-07-19 15:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-19 12:44:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Juha Tuomala 2008-05-21 07:08:47 UTC
Description of problem:

File /etc/bacula/bacula-sd.conf has:

Autochanger {
  Name = Autochanger
  Device = Drive-1
  Changer Command = "/usr/sbin/mtx %c %o %S %a %d"
  Changer Device = /dev/sg1
}

While the 'Changer Command' as such doesn't work in most 
installations and should be bacula's own:

  Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"

Once I changed to this with HP MSL2024 library, things started
working.

If the plain mtx is still preferred for some reason, bacula's
own script should be there at least as commented option to easy
switch. Now I had to spend some time googling and studying the
problem.


Version-Release number of selected component (if applicable):
bacula-client-2.0.3-10.el5
bacula-common-2.0.3-10.el5
bacula-director-common-2.0.3-10.el5
bacula-storage-common-2.0.3-10.el5
bacula-console-2.0.3-10.el5
bacula-director-postgresql-2.0.3-10.el5
bacula-storage-postgresql-2.0.3-10.el5


How reproducible:

Always.

Steps to Reproduce:
1. Buy a HP MSL2024
2. Hook it into system and configure it
3. Default configuration doesn't work.
  
Actual results:
Give console command: 

  label barcode 

and it fails to 'slots' mtx command. (it's the first command run,
returns number of library slots).


Expected results:
Autolabeling should work with default configs.

Additional info:

I'm not sure where that plain mtx came from, docs claim to this
script too and everybody seems to use the script, not the binary directly.

Comment 1 Juha Tuomala 2009-10-01 14:46:18 UTC
ping?

Comment 2 Simone Caronni 2012-07-19 12:44:04 UTC
Hello,

EPEL contains 2.4.4-2.el5 and I'm about to push 2.4.4-5.el5. I'm doing some housekeeping in Bacula bugs, please reopen this bug if it's still present in Bacula for RHEL 5 with the new update.

Thanks,
--Simone

Comment 3 Juha Tuomala 2012-07-19 14:54:07 UTC
You're too dumb or lazy to maintain packages if you can't make that check yourself. Too arrogant if you *close* bugs if you're that lazy.

Thanks, I'm not going to report any more bugs for bacula, do it yourself.

Comment 4 Simone Caronni 2012-07-19 15:02:23 UTC
I've done the check myself, and I'm not able to reproduce the bug.

You might notice that the Bacula version the bug is opened on has been updated many times already, the default configuration uses mtx-changer and works fine as is without touching anything.

Do you prefer having the bug opened and left to rot?

> Steps to Reproduce:
> 1. Buy a HP MSL2024
> 2. Hook it into system and configure it

What's more I'm using a few different libraries; so if you don't want be lazy yourself, check if the bug is still present, otherwise go out, buy the library for me and send me one along with a supported system.

Comment 5 Juha Tuomala 2012-07-19 15:06:34 UTC
It's the absolute location of that script that is wrong in default configuration file. You're too dumb indeed. No, I don't care what you do with that report, reporting it was just waste of time anyway.


Note You need to log in before you can comment on or make changes to this bug.