Bug 226804
Summary: | chkconfig behavior returns an error that looks like a syntax problem when it should not | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Red Hat Production Operations <soc> | ||||
Component: | chkconfig | Assignee: | Bill Nottingham <notting> | ||||
Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.0 | CC: | bugzilla, rvokal | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHBA-2008-0456 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-05-21 15:27:05 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 234547 | ||||||
Attachments: |
|
Description
Red Hat Production Operations
2007-02-01 18:00:53 UTC
So, this is the result of two fixes: - enable 'chkconfig <foo>' to work for xinetd services (bug 63123) - reporting errors when passed invalid commandline arguments (bug 147393) These went into chkconfig-1.3.15, which was in FC4+. We could change this, although it would essentially revert bug 147393. Created attachment 147126 [details]
potential patch
Bill-- That's cool. But how is what I've shown in my example an incorrect command line argument? CMS It's really not. I suppose someone might want more feedback about the service not existing, as opposed to just not being enabled. But that would be a bigger change. Putting on the 5.1 radar. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Since this bugzilla is in a component that is not approved for the current release, it has been closed with resolution deferred. You may reopen this bugzilla for consideration in the next release. Fixed in 1.3.30.1-2. The "fix" is to swallow the fact that something is wrong. If a user does chkconfig --list foo You get: error reading information on service foo: No such file or directory Why not give the same message for chkconfig foo Because changing it breaks past historical usage. *** Bug 439361 has been marked as a duplicate of this bug. *** An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0456.html |