Bug 117556 - Can not rebuild from source RPM with SELinux enabled
Summary: Can not rebuild from source RPM with SELinux enabled
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils   
(Show other bugs)
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-03-05 11:55 UTC by vvs
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-03-05 14:29:29 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description vvs 2004-03-05 11:55:59 UTC
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 12:18:30 UTC
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 14:18:01 UTC
Yes, it does, thanks.


Comment 3 Tim Waugh 2004-03-05 14:29:29 UTC
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.