Bug 241633 - Configuration files not read correctly
Configuration files not read correctly
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: pm-utils (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Phil Knirsch
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-29 02:06 EDT by Bojan Smojver
Modified: 2015-03-04 20:18 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-05-29 09:43:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bojan Smojver 2007-05-29 02:06:04 EDT
Description of problem:
/usr/lib/pm-utils/functions reads configuration files in /etc/pm/config.d
incorrectly. Line 27 should be:

[ -f $cfg ] || continue

Instead of:

[ -f $cfgs ] || continue


Version-Release number of selected component (if applicable):
0.99.3-6.fc7

How reproducible:
Always.

Steps to Reproduce:
1. Put more than one file in /etc/pm/config.d
2. Run pm-hibernate/pm-suspend
  
Actual results:
Syntax errors reported.
Comment 1 Phil Knirsch 2007-05-29 09:43:51 EDT
Fixed in next rawhide build.

Read ya, Phil

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