Bug 474223
Summary: | chkconfig fails LSB init.d tests | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stew Benedict <stewb> | ||||
Component: | chkconfig | Assignee: | Bill Nottingham <notting> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 10 | CC: | herrold, notting, rh-bugzilla, rvokal | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-03-09 20:04:46 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: | |||||||
Attachments: |
|
Description
Stew Benedict
2008-12-02 21:03:38 UTC
Fixed in 1.3.39-1. You can follow the commits at http://git.fedorahosted.org/git/?p=chkconfig.git ; some of the code may be cleaned up later. This is enabled *only* if it's called as install_initd/remove_initd; it's really bad behavior to do this in the general case. Grabbed a git snapshot of 1.3.40 and built it to test on F10/x86_64, now test 3,4 fail: /tset/initd/misc/install/general-tc 3 FAIL /tset/initd/misc/install/general-tc 4 FAIL ref: http://git.fedorahosted.org/git/?p=chkconfig.git;a=snapshot;h=74ab891968c5ba0e5d43ab16c5edba578c425f62;sf=tgz Current git (as of 4ed064e287e2dd04290c7cc503b38e2f43693118) should solve both failures. FYI - test #2 in the test suite is not really correct - an implementation could do all dependency resolution at runtime and ignore lexical sorting entirely. (Of course, I'm not sure there are any implementations that actually *do* this.) I'm still seeing issues using http://git.fedorahosted.org/git/?p=chkconfig.git;a=snapshot;h=bdef046f4feb0340e15bd02fbe45d7d1e3050405;sf=tgz Built chkconfig on F10, x86_64 and ran just the init.d tests (I'll attach a patch to re-enable tests 3,5, which we've disabled due to this issue): /tset/initd/misc/install/general-tc 2 FAIL /tset/initd/misc/install/general-tc 5 FAIL [root@fc10-64 test_sets]# /sbin/chkconfig --version chkconfig version 1.3.42 [root@fc10-64 test_sets]# cat /etc/redhat-release Fedora release 10 (Cambridge) [root@fc10-64 test_sets]# pwd /opt/lsb/test/core/tet/test_sets [root@fc10-64 test_sets]# cat scen.exec all "total tests in LSBinitd 15" /tset/initd/misc/utils/utils-tc /tset/initd/misc/init-functions/init-functions-tc /tset/initd/misc/install/general-tc Created attachment 334515 [details]
re-enable initd tests 3,5, apply from /opt/lsb/test/core
Fixed. All the tests (run individually, setting up the test suite was too painful) pass for me. http://git.fedorahosted.org/git/?p=chkconfig.git;a=commitdiff;h=fa16d756ce801b2dfbff25972f43989398ad5317 Thanks, current git build also passed here. *** Bug 522053 has been marked as a duplicate of this bug. *** |