Bug 967098 - RHEL 5 du (coreutils-5.97) -D flag handling bug causes -x to be ignored
Summary: RHEL 5 du (coreutils-5.97) -D flag handling bug causes -x to be ignored
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: coreutils
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Ondrej Vasik
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 1002709
TreeView+ depends on / blocked
 
Reported: 2013-05-24 17:31 UTC by Dave Sullivan
Modified: 2018-12-03 18:55 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-07 01:43:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dave Sullivan 2013-05-24 17:31:13 UTC
Description of problem:

RHEL 5 du (coreutils-5.97) -D flag handling bug causes -x to be ignored

On a RHEL 5.8 system(appears to apply to all 5.x) du version 5.97, from coreutils-5.97-34.el5_8.1, ignores the '-x' (--one-file-system) flag if the '-D' (--dereference-args) flag is specified after it on the command-line.

This bug appears to be due to incorrect bitfield handling in the du argument parsing and identified in 2006:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=367691

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

coreutils-5.97


How reproducible:

See above description

Actual results:


Expected results:


Additional info:

Comment 1 Ondrej Vasik 2013-05-25 05:42:29 UTC
Thanks for report, you are right and the mentioned mail thread fixes the issue. However - as RHEL-5 it is already in production phase 2 and the number of planned minor release updates is not very high, this fix might not get into the capacity. As workaround, you may use dereference flags before the -x flag (having -x as the last argument), however, this still disables ftstightcyclecheck flag, which should be enabled by default.

Comment 3 Andrius Benokraitis 2013-10-07 01:43:39 UTC
This Bugzilla has been reviewed by Red Hat and is not planned on being addressed in Red Hat Enterprise Linux 5, and therefore will be closed. If this bug is critical to production systems, please contact your Red Hat support representative and provide sufficient business justification.


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