Bug 152419
Summary: | Too long device name -> No filesystem info. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Björn Augustsson <oggust> |
Component: | logwatch | Assignee: | Ivana Varekova <varekova> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | buchholz, chester.hosey, Christian.Iseli, hjp, joshuadfranklin, marko.asplund, menscher, pcfe, rnb, tao |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www2.list.logwatch.org:81/pipermail/logwatch/2004-November/000592.html | ||
Whiteboard: | |||
Fixed In Version: | RHBA-2005-382 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-10-05 13:31:51 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 156322 |
Description
Björn Augustsson
2005-03-29 11:44:37 UTC
All that needs to be done here is changing 'df -h' to 'df -hP' in scripts/services/zz-disk_space. *** Bug 144012 has been marked as a duplicate of this bug. *** Note that the upstream LogWatch change was rolled back since Solaris df does not support -P. *** Bug 160949 has been marked as a duplicate of this bug. *** This bug was originally reported in January and it's a one-line fix. The upstream 5.2.2 includes a block which specifically identifies Linux, which would be a great place to fix this bug. If "uname -a" on Solaris reports "Linux", then I can understand why upstream wouldn't fix this. However, since default installs of RHEL use long LVM names, even if upstream wouldn't want to take the change, doesn't it make sense for Red Hat to create a one-liner local patch to make this script useful? Why not fix this bug? due to this bug i'm unable to monitor disk space usage from logwatch reports. i'm having problems understanding why it takes more than 4 months to apply a one line fix in RHEL 4. There is a fix in RHEL4 U2 beta--even pretty-printed! In case you can't wait grab the rpm from RHN, or just do this: --- old 2005-09-02 10:41:44.829652856 -0700 +++ /etc/log.d/scripts/services/zz-disk_space 2005-05-12 06:12:59.000000000 -0700 @@ -17,7 +17,8 @@ if [ "$PRINTING" = "y" ] && [ "`uname - echo echo "------------------ Disk Space --------------------" echo - df -h | grep '^/dev/' + df -hP | grep '^/dev/' | \ + sed 's/\([^[:space:]]\{20,\}\)\(.*\)/\1\n \2/' echo elif [ "$PRINTING" = "y" ] ; then echo *** Bug 169918 has been marked as a duplicate of this bug. *** An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-382.html *** Bug 170100 has been marked as a duplicate of this bug. *** |