Bug 117556 - Can not rebuild from source RPM with SELinux enabled
Can not rebuild from source RPM with SELinux enabled
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: coreutils (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-03-05 06:55 EST by vvs
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
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: ---


Attachments (Terms of Use)

  None (edit)
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.

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