Bug 541389 - cpi initscript lsb compliance
Summary: cpi initscript lsb compliance
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: s390utils
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: InitScriptsProject
TreeView+ depends on / blocked
 
Reported: 2009-11-25 18:32 UTC by Yulia Kopkova
Modified: 2010-01-27 14:08 UTC (History)
2 users (show)

Fixed In Version: s390utils-1.8.2-6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-27 14:08:54 UTC
Type: ---


Attachments (Terms of Use)

Description Yulia Kopkova 2009-11-25 18:32:30 UTC
Description of problem:

According to https://fedoraproject.org/wiki/Packaging/SysVInitScript s390utils
component init script cpi have lsb compliance issues:

Init script should return code "4" if restarting service under
nonprivileged user:
# su testuserqa -c "service cpi restart"; echo $?
Stopping cpi: [  OK  ]
Starting cpi: /etc/init.d/cpi: line 40: /sys/firmware/cpi/system_type: Permission denied
[FAILED]
1
now: 1
expected: 4


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