Bug 117556

Summary: Can not rebuild from source RPM with SELinux enabled
Product: [Fedora] Fedora Reporter: vvs <vvs009>
Component: coreutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-05 09:29:29 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description vvs 2004-03-05 06:55:59 EST
Description of problem:

When I tried to rebuild coreutils form source RPM with SELinux enabled
kernel the testsuite fails.

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

coreutils-5.2.0-8
kernel-2.6.3-1.118

How reproducible:

Always

Steps to Reproduce:
1. Make sure to load kernel with enabled SELinux
2. rpmbuild --rebuild coreutils-5.2.0-8.src.rpm
  
Actual results:

The tests/du/deref-args fails

Expected results:

It should succeed

Additional info:

The "du -kD slink-to-64k" expects 68 on ext3, but with SELinux file
security context labels it gets 72
Comment 1 Tim Waugh 2004-03-05 07:18:30 EST
Does this help?

-du -kD slink-to-64k | sed 's/^6[0-9]/64/' >> out
+du -kD slink-to-64k | sed 's/^6[0-9]\|72/64/' >> out
Comment 2 vvs 2004-03-05 09:18:01 EST
Yes, it does, thanks.
Comment 3 Tim Waugh 2004-03-05 09:29:29 EST
Fixed in CVS; next build will pick it up.