Bug 5049

Summary: $config_file is not loaded into environment in script correctly
Product: [Retired] Red Hat Linux Reporter: kevin
Component: rhs-printfiltersAssignee: David Lawrence <dkl>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-09-10 17:05:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description kevin 1999-09-10 16:26:47 UTC
the file:
/usr/lib/rhs/rhs-printfilters/smbprint

has a line that reads:
eval `cat $config_file`

it should read:
eval "`cat $config_file`"

in order to load the environment variables from
$config_file into the 'smbprint' script.

I have not checked where else this error occurs.

Kevin

Comment 1 Bill Nottingham 1999-09-10 17:05:59 UTC
I can't reproduce this; this works
fine here without the quotes.