Bug#469146: binary name errors in init script and vmxnet detection
Package: open-vm-tools Version: 2008.02.13-77928-1 Severity: serious Cause: renders package unusable Tags: patch On /etc/init.d/open-vm-tools script, the program names of vmware-checkvm and vmware-guestd are wrong. Instead of 'vmware-checkvm' there is 'checkvm' (and the path is wrong), and instead of 'vmware-guestd' there is 'guestd'. The init script present in the package always tells that it is not running on a vm, as checkvm binary is not found. In addition, the vmxnet detection code doesn't work, as the function always returns 1. I've attached the patch that fixes the script for both problems. Bye, Emilio Scalise --- open-vm-tools.old 2008-02-24 20:27:52.0 +0100 +++ open-vm-tools 2008-03-03 13:30:30.0 +0100 @@ -12,18 +12,22 @@ . /lib/lsb/init-functions +CHECKVMBIN=vmware-checkvm +CHECKVMPATH=/usr/sbin/ +GUESTD=vmware-guestd + vmxnet_needed () { - HWVERSION=$(checkvm -h | head -1 | cut -f5 -d\ ) + HWVERSION=$($CHECKVMBIN -h | head -1 | cut -f5 -d\ ) for DEVICE in /sys/bus/pci/devices/* do - if grep -q 15ad ${DEVICE} grep -q 0720 ${DEVICE} + if grep -q 15ad ${DEVICE}/vendor grep -q 0720 ${DEVICE}/device then return 0 fi - if [ ${HWVERSION} -ge 4 ] grep -q 1022 ${DEVICE} grep -q 2000 ${DEVICE} + if [ ${HWVERSION} -ge 4 ] grep -q 1022 ${DEVICE}/vendor grep -q 2000 ${DEVICE}/device then return 0 fi @@ -33,7 +37,7 @@ } exit_if_not_in_vm () { - if [ ! -x /usr/bin/checkvm ] || ! /usr/bin/checkvm /dev/null 21 + if [ ! -x $CHECKVMPATH$CHECKVMBIN ] || ! $CHECKVMPATH$CHECKVMBIN /dev/null 21 then echo Not starting as we're not running in a vm. exit 0 @@ -56,8 +60,8 @@ modprobe vmxnet fi - log_daemon_msg Starting open-vm guest daemon guestd - guestd --background /var/run/vmware-guestd.pid + log_daemon_msg Starting open-vm guest daemon $GUESTD + $GUESTD --background /var/run/vmware-guestd.pid log_end_msg 0 ;; @@ -65,7 +69,7 @@ # Check if we're running inside VMWare exit_if_not_in_vm - log_daemon_msg Stopping open-vm guest daemon guestd + log_daemon_msg Stopping open-vm guest daemon $GUESTD if [ -f /var/run/vmware-guestd.pid ] then
Bug#469146: wrong priority..
severity 469146 important sorry.. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#456448: easytag 2.1.4-1 doesn't compile against libflac 1.1.2
Subject: easytag 2.1.4-1 doesn't compile against libflac 1.1.2 Package: easytag Version: 2.1.4-1~bpo40+1 Severity: serious Justification: no longer builds from source *** Please type your report below this line *** I've backported easytag 2.1.4 with pbuilder to Etch. It doesn't build, giving an error related to libflac. I've backported also libflac 1.2.1 and easttag compiles against it. Attached are the pbuilder build logs with libflac 1.1.2 and with libflac 1.2.1. -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.22-6-cd Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Versions of packages easytag depends on: ii libatk1.0-01.18.0-2~bpo1 The ATK accessibility toolkit ii libc6 2.3.6.ds1-13etch2 GNU C Library: Shared libraries ii libcairo2 1.4.10-1~bpo1 The Cairo 2D vector graphics libra ii libflac8 1.2.1-1~bpo40+1 Free Lossless Audio Codec - runtim ii libfontconfig1 2.4.2-1.2 generic font configuration library ii libfreetype6 2.3.5-1~bpo1 FreeType 2 font engine, shared lib ii libgcc11:4.1.1-21GCC support library ii libglib2.0-0 2.14.0-2~bpo1 The GLib library of C routines ii libgtk2.0-02.10.13-1~bpo40+1 The GTK+ graphical user interface ii libid3-3.8.3c2a3.8.3-6etch1 Library for manipulating ID3v1 and ii libid3tag0 0.15.1b-10ID3 tag reading library from the M ii libogg01.1.3-2 Ogg Bitstream Library ii libpango1.0-0 1.18.1-1~bpo1 Layout and rendering of internatio ii libpng12-0 1.2.15~beta5-1PNG library - runtime ii libspeex1 1.1.12-3 The Speex Speech Codec ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3 ii libvorbis0a1.1.2.dfsg-1.2The Vorbis General Audio Compressi ii libvorbisfile3 1.1.2.dfsg-1.2The Vorbis General Audio Compressi ii libwavpack04.32-2an audio codec (lossy and lossless ii libx11-6 2:1.0.3-7 X11 client-side library ii libxcursor11.1.7-4 X cursor management library ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar ii libxfixes3 1:4.0.1-5 X11 miscellaneous 'fixes' extensio ii libxi6 1:1.0.1-4 X11 Input extension library ii libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library ii libxrandr2 2:1.1.0.2-5 X11 RandR extension library ii libxrender11:0.9.1-3 X Rendering Extension client libra ii zlib1g 1:1.2.3-13compression library - runtime easytag recommends no packages. -- no debconf information ~ easytag-2.1.4-libflac-1.1.2-6.txt.bz2 Description: application/bzip easytag-2.1.4-libflac-1.2.1-1.txt.bz2 Description: application/bzip