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:
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.
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.