Bug 522770

Summary: microcode_ctl init script is not completely LSB compliant
Product: [Fedora] Fedora Reporter: Yulia Kopkova <ykopkova>
Component: microcode_ctlAssignee: Anton Arapov <anton>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: anton, dkovalsk, kmcmartin, nobody
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 576531 (view as bug list) Environment:
Last Closed: 2010-03-24 11:40:30 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: 521669, 576531    

Description Yulia Kopkova 2009-09-11 11:11:05 UTC
Description of problem:
According to https://fedoraproject.org/wiki/Packaging/SysVInitScript
microcode_ctl init script should:

1. have LSB header
2. support "condrestart" and "try-restart" actions

The reason of filling this is "InitScripts LSB compliance project"

Version-Release number of selected component (if applicable):
microcode_ctl-1.17-1.53.fc12.1.x86_64

Comment 1 Yulia Kopkova 2009-09-11 14:17:26 UTC
3. The third thing, is that microcode_ctl exit code may return "19". According to LSB:
 8-99:	reserved for future LSB use

Comment 2 Yulia Kopkova 2009-09-15 12:57:29 UTC
4. Init script Should return usage and exit code "3" for unknown action.

Comment 3 Yulia Kopkova 2009-09-15 14:17:19 UTC
5. "status" action for stopped service should return exit code "3"

Comment 4 Yulia Kopkova 2009-09-17 09:27:29 UTC
6. insufficient rights
init script should also return code "4" if restarting service under
nonprivileged user:

su testuserqa -c "service $SERVICE restart"; echo $?
now: 0 
expected: 4

Comment 5 Yulia Kopkova 2009-09-24 13:05:44 UTC
(In reply to comment #2)
> 4. Init script Should return usage and exit code "3" for unknown action.  

Update:

4. Init script Should return usage and exit code "2" for unknown action.

Comment 6 Bug Zapper 2009-11-16 12:15:27 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 8 Anton Arapov 2010-03-24 11:40:30 UTC
"fixed" within bug 479898... does not have init script anymore.