Description of problem: According to https://fedoraproject.org/wiki/FCNewInit/Initscripts there are several issues with netlabel_tools initscript: PROBLEM 1: Mandatory parameter force-reload not implemented PROBLEM 2: Status after succesfully started (or condrestart) netlabel service returns 1, expected 0 PROBLEM 3: Status after stopping netlabel service is 7, expected 3 PROBLEM 4: Status after lock file exists is 1, expected 2 Version-Release number of selected component (if applicable): netlabel_tools-0.19-3.fc12 How reproducible: always Steps to Reproduce: PROBLEM 1: 1. service netlabel force-reload Actual results: no implemented Expected result: Forced reload of service PROBLEM 2: 1. configure /etc/netlabel.rules 2. service netlabel start (or condrestart) 3. service netlabel status; echo $? Actual results: 1 Expected results: 0 PROBLEM 3: 1. service netlabel stop 2. service netlabel status; echo $? Actual results: 7 Expected results: 3 PROBLEM 4: 1. touch /var/lock/subsys/netlabel 2. service netlabel status; echo $? Actual results: 1 Expected results: 2
CORRECTION: PROBLEM 1 is not an issue since netlabel doesn't start any daemon. PROBLEM 2 expected resutl should be I think 3, as no deamon is run by the initscript
PROBLEM 2 - can't reproduce, 0 is OK imho # service netlabel start wrabco:/etc/init.d # echo $? 0 PROBLEM 3 - can't reproduce, 0 is ok see https://fedoraproject.org/wiki/Packaging/SysVInitScript # service netlabel stop wrabco:/etc/init.d # echo $? 0 PROBLEM 4: - fixed netlabel_tools >= 0_19-6_fc12
Peter, this package was never build .. why is this bug closed?
This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle. Changing version to '13'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
netlabel_tools-0.19-7.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/netlabel_tools-0.19-7.fc13
netlabel_tools-0.19-7.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update netlabel_tools'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/netlabel_tools-0.19-7.fc13
I would like to note that the wiki link here is NOT AN OFFICIAL GUIDELINE. ;) The real guideline is: https://fedoraproject.org/wiki/Packaging/SysVInitScript
VERIFIED as fixed in netlabel_tools-0.19-7.fc13
netlabel_tools-0.19-7.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.