Bug 48897 - configuration file parse error on comments
configuration file parse error on comments
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: pump (Show other bugs)
6.2
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Eido Inoue
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-07-12 09:27 EDT by Roel van Meer
Modified: 2007-04-18 12:34 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-03-11 18:20:17 EST
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 Roel van Meer 2001-07-12 09:27:20 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.72 [en] (X11; U; Linux 2.2.18 i686)

Description of problem:
If any comments are included in the configuration file (starting with a
hash(#)), pump exits with error code 1 and the following message:

error parsing config file at line 1: unrecognized directive #

How reproducible:
Always

Steps to Reproduce:
1. edit /etc/pump.conf, put in a line starting with a hash (#)
2. execute: pump -i eth0
	

Actual Results:  pump exits with error code 1 and the following message:

error parsing config file at line 1: unrecognized directive #

Expected Results:  No output, interface should have got an ip address from
dhcp server.

Additional info:
Comment 1 Eido Inoue 2001-10-29 11:20:33 EST
That sucks indeed. Pump's config parser should at least be able to grok
comments. Accepting.
Comment 2 Eido Inoue 2003-03-11 18:20:17 EST
feature added in cvs

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