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
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.
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
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).