Bug 788309

Summary: kde-runtime - broken package script
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: kde-runtimeAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jreznik, kevin, ltinkl, rdieter, rnovacek, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kde-runtime-4.8.0-4.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-08 05:51: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:

Description Michal Jaegermann 2012-02-08 01:41:18 UTC
Description of problem:

kde-runtime-4.8.0-2.fc17 has the following line in its package script:

if [ `getsebool deny_ptrace 2>/dev/null` == 'deny_ptrace --> on' ] ; then

This is broken becaus if 'getsebool' invocation will result in an empty string then you will see:

... line 7: [: ==: unary operator expected

A correct test looks like:

[ "`getsebool deny_ptrace 2>/dev/null`" == 'deny_ptrace --> on' ]


Version-Release number of selected component (if applicable):
kde-runtime-4.8.0-2.fc17

How reproducible:
always is selinux is not active

Comment 1 Kevin Kofler 2012-02-08 05:51:05 UTC
Fixed in kde-runtime-4.8.0-4.fc17 and kde-runtime-4.8.0-4.fc18.

(Branching is not complete yet, so we don't have to go through the update system yet, it seems.)

Thanks for the report and sorry for the screwup.