Bug 1261640

Summary: amreport errors
Product: [Fedora] Fedora Reporter: Trever Adams <trever>
Component: amandaAssignee: Petr Hracek <phracek>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 23CC: fedora, phracek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-12 23:11:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Trever Adams 2015-09-09 20:10:28 UTC
Description of problem:
/usr/sbin/amreport: line 21: use: command not found
/usr/sbin/amreport: line 22: use: command not found
/usr/sbin/amreport: line 23: use: command not found
/usr/sbin/amreport: line 25: use: command not found
/usr/sbin/amreport: line 26: use: command not found
/usr/sbin/amreport: amreport: line 27: syntax error near unexpected token `('
/usr/sbin/amreport: amreport: line 27: `use Cwd qw( abs_path );'

The above is what happens when I do runuser -l amandabackup amreport

Version-Release number of selected component (if applicable):
amanda-3.3.7p1-1.fc23.x86_64
amanda-client-3.3.7p1-1.fc23.x86_64
amanda-libs-3.3.7p1-1.fc23.x86_64
amanda-server-3.3.7p1-1.fc23.x86_64

Comment 1 Trever Adams 2015-09-12 23:11:55 UTC
-c is needed to runuser.