Bug 441813 - fails to parse Short-Description in LSB header
Summary: fails to parse Short-Description in LSB header
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: chkconfig
Version: 9
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-10 10:33 UTC by Peter Eisentraut
Modified: 2014-03-17 03:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-04 20:55:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to fix the problem (830 bytes, patch)
2008-04-10 10:34 UTC, Peter Eisentraut
no flags Details | Diff

Description Peter Eisentraut 2008-04-10 10:33:46 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux; de) KHTML/3.5.9 (like Gecko) (Debian)

Description of problem:
When calling chkconfig with an init script that only contains 
Short-Description but no Description in the LSB header, chkconfig complains 
that the script does not support chkconfig.  This is because chkconfig fails 
to parse the Short-Description header due to an obvious programming error; see 
my attached patch.

Version-Release number of selected component (if applicable):
chkconfig-1.3.37-2

How reproducible:
Always


Steps to Reproduce:
1. Install an init script with Short-Description but without Description
2. Call chkconfig


Actual Results:
The affected init scripts are missing from the list.

Expected Results:
The affected init scripts should be included in the list.

Additional info:

Comment 1 Peter Eisentraut 2008-04-10 10:34:34 UTC
Created attachment 301961 [details]
Patch to fix the problem

Comment 2 Bug Zapper 2008-05-14 09:14:11 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Bill Nottingham 2008-12-04 20:55:09 UTC
Added in git, will be in 1.3.40-1.

http://git.fedorahosted.org/git/?p=chkconfig.git;a=commitdiff;h=877998e21d8d8201e6b2bbdbed6095004d903a84


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