Bug 217591 - smartd service has no description
Summary: smartd service has no description
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-services
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-28 21:33 UTC by vfiend
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-01-31 17:10:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to stop parsing initscripts at first non-blank, non-comment line (423 bytes, patch)
2006-12-01 18:12 UTC, Will Woods
no flags Details | Diff

Description vfiend 2006-11-28 21:33:54 UTC
Description of problem: The smard service should have a description in
system-config-services, like every other service seems to.


Version-Release number of selected component (if applicable): smartmontools-1:5.36-3


Steps to Reproduce:
1. Open system-config-services
2. Click 'smartd'
  
Actual results: Description box is empty


Expected results: Description box should contain a description


Additional info:

Comment 1 Tomas Mraz 2006-11-28 21:48:47 UTC
The /etc/init.d/smartd contains:

# chkconfig: 2345 99 01
# description: Self Monitoring and Reporting Technology (SMART) Daemon
# processname: smartd 

I don't know why system-config-services doesn't read this description.


Comment 2 Will Woods 2006-12-01 18:12:20 UTC
Created attachment 142596 [details]
patch to stop parsing initscripts at first non-blank, non-comment line

system-config-services stops reading initscripts at the first non-comment line
it sees. /etc/init.d/smartd has some blank lines before the description: line.
If you remove those, the description shows up in system-config-services.

One possible fix would be to have s-c-services stop parsing at the first
*non-blank* non-comment line.

This simple patch against system-config-services-0.9.1-1.fc6 should implement
that.

Comment 3 Nils Philippsen 2007-01-31 17:10:28 UTC
system-config-services-0.9.6 is building right now which has a fix for this,
albeit a different one (your regex would only have matched lines consisting of
only "word" characters).


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