Bug 143280
Summary: | label printing broke in 2.4.4p3-1.21as | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 2.1 | Reporter: | Patrick C. F. Ernzer <pcfe> | ||||||
Component: | amanda | Assignee: | Jay Fenlason <fenlason> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Jay Turner <jturner> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 2.1 | CC: | jfeeney, srevivo | ||||||
Target Milestone: | --- | Keywords: | Regression | ||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-04-28 15:38:35 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
Patrick C. F. Ernzer
2004-12-17 23:50:19 UTC
Please attach your amanda config. (/etc/amanda/*/amanda.conf) Created attachment 108842 [details]
amanda.conf as requested
as lbl-templ points to a file that is not part of the amanda-server RPM, I will
attach that as well
Created attachment 108843 [details]
my lbl-templ
using /usr/share/doc/amanda-server-2.4.4p3/examples/HP-DAT.ps (from amanda-server-2.4.4p3-1.21as) as a lbl-templ does not make a difference One more thing that just crossed my mind, this AS 2.1 machine has cups installed (self-built, my whole network here uses cups) bash-2.05$ which lpr /usr/bin/lpr bash-2.05$ rpm -qf `which lpr` cups-1.1.17-13pcfe But if this was part of the problem, I would expect something along the lines of "amreport: ERROR printer command failed" and not "amreport: ERROR no printer command defined" in the e-mail reports. Plus, LPRng-3.7.4-28.2 (what we currenly have for AS 2.1) has it's lpr command in exactly the same spot (according to https://rhn.redhat.com/network/software/packages/file_list.pxt?pid=88873) FWIW: rebuilding amanda-2.4.4p3-1.21as.src.rpm on the affected box solved the problem. I can now do /usr/sbin/amreport MYBACKUPSET -l /var/lib/amanda/MYBACKUPSET/log/log.20050103.1 And it will print the label as expected. It looks like the buildroots don't have LPRng installed in them, so Amanda's configure didn't find the lpr command and disabled banner printing. If you rebuild on a machine with LPRng or cups installed, it'll work. I'm adding BuildRequires LPRng to the spec file and will try rebuilding through beehive. Can you try the amanda-2.4.4p3-1.21as.1 rpms from dist-2.1AS-errata-candidate? If they work, I can try to squeeze in a bugfix erratum for the next RHEL-2.1 update. confirm amanda-2.4.4p3-1.21as.1 from dist-2.1AS-errata-candidate allows me to print a report just fine with /usr/sbin/amreport MYBACKUPSET -l /var/lib/amanda/MYBACKUPSET/log/log.20050105.0 I'll nag tomorrow if (against all expectations) there should be a failure with the automatic post-backup printing. If you have not heard bacjk within 48 hours the bug can be closed and the errata pushed nightly reported printed as expected. please push the errata An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-055.html |