Public bug reported:

Binary package hint: h264enc

Whenever df wraps a line, check_diskspace_func will grab the wrong
output

+ check_diskspace_func
++ tail -n 1
++ awk '{print $4}'
+++ dirname /opt/data03/test/Sintel_DivXPlusHD_2Titles_6500kbps.mkv
++ df -m /opt/data03/media01/test
+ HDOUT=71%
++ df -m /root/.h264enc/job32451
++ tail -n 1
++ awk '{print $4}'
+ HDCONF=64932
+ '[' 71% -le 4096 -o 64932 -le 4096 ']'
/usr/bin/h264enc: line 3093: [: 71%: integer expression expected


df -m "$(dirname 
/opt/data03/media01/test/Sintel_DivXPlusHD_2Titles_6500kbps.mkv )"
Filesystem           1M-blocks      Used Available Use% Mounted on
/dev/mapper/smd1_DATASTOR01
                       5721314   3980704   1683390  71% /opt/data03

echo $(df -m "$(dirname 
/opt/data03/media01/test/Sintel_DivXPlusHD_2Titles_6500kbps.mkv )" | tail -n 1 
| awk '{print $4}')
71%

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: h264enc 9.2.8~dfsg-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.37-7.19-generic 2.6.37-rc3
Uname: Linux 2.6.37-7-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sun Dec  5 10:57:40 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: h264enc

** Affects: h264enc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug natty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/685443

Title:
  check_diskspace_func fails on df output wrap

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to