Bug 62986 - chkconfig error message
Summary: chkconfig error message
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: chkconfig
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-04-08 21:41 UTC by Joshua Jensen
Modified: 2014-03-17 02:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-06-05 15:20:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Joshua Jensen 2002-04-08 21:41:54 UTC
Description of Problem:

Notice the nasty-looking error message given by chkconfig:

[root@mule root]# chkconfig --del sendmail
[root@mule root]# chkconfig --list sendmail
service sendmail supports chkconfig, but is not registered (run 'chkconfig --add
sendmail')

This is a change in behavior.  Could we tweak the error message slightly to say
somethine like:

service xyz supports chkconfig, but is not {specified,referenced} in any runlevel
    (run 'chkconfig --add sendmail')

This would be, to my way of thinking, more intuitive than "not registered".


Bye the way, I like the new messages chkconfig prints in general:

[root@mule root]# touch /etc/init.d/eer
[root@mule root]# chkconfig --list eer
service eer does not support chkconfig
[root@mule root]#  # Nicely done!


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

Beta 4 stock:
[root@mule root]# rpm -qf `which chkconfig`
chkconfig-1.3.4-1

Thank you.

Comment 1 Bill Nottingham 2002-04-09 05:30:22 UTC
A change at this point would break the translations.

Comment 2 Joshua Jensen 2002-04-10 19:41:24 UTC
The translations, unless there is a *direct* word in the non-english language
that means "not registered", can at best only get at the idea.  The idea really
hasn't changed, its just that the english representation of that idea might be
more accurate.

Comment 3 Joshua Jensen 2002-06-05 15:20:19 UTC
Perhaps in the new Beta cycle, we could make the change before translation again
becomes an issue.

Comment 4 Bill Nottingham 2002-06-12 05:21:31 UTC
fixed in CVS, will be in 1.3.6-1.


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