Bug 788309 - kde-runtime - broken package script
Summary: kde-runtime - broken package script
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kde-runtime
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-08 01:41 UTC by Michal Jaegermann
Modified: 2012-02-08 05:51 UTC (History)
6 users (show)

Fixed In Version: kde-runtime-4.8.0-4.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-08 05:51:05 UTC
Type: ---


Attachments (Terms of Use)

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.


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