Bug 128514

Summary: policycoreutils fixfiles -F option broken
Product: [Fedora] Fedora Reporter: Steve Grubb <linux_4ever>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dwalsh, pgraner
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-07-28 23:14:34 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:

Description Steve Grubb 2004-07-23 22:09:32 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4.2)
Gecko/20040308

Description of problem:
'fixfile -F relabel' is broken. It says it cannot find relabelLabels
command.

I think this fixes it:

diff -ur policycoreutils-1.15.2.orig/scripts/fixfiles
policycoreutils-1.15.2/scripts/fixfiles
--- policycoreutils-1.15.2.orig/scripts/fixfiles        2004-07-23
18:06:25.000000000 -0400
+++ policycoreutils-1.15.2/scripts/fixfiles     2004-07-23
18:10:06.000000000 -0400
@@ -169,7 +169,7 @@
 fi
 if [ $relabelFlag = 1 ]; then
     if [ $fullFlag = 1 ]; then
-       relabelLabels $rpmFiles
+       relabel $rpmFiles
     else
        relabelCheck $rpmFiles
     fi


Version-Release number of selected component (if applicable):
policycoreutils-1.15.2

How reproducible:
Always

Steps to Reproduce:
1. fixfile -F relabel

Actual Results:  can't find relabelLabels

Expected Results:  Filesystem to be relabeled.

Additional info:

Comment 1 Daniel Walsh 2004-07-28 15:02:37 UTC
Fixed in policycoreutils-1.15.2-4

Comment 2 Steve Grubb 2004-07-28 23:14:34 UTC
Thanks