Description of problem: Scripts in /etc/vmware-tools/scripts/ make use of which but there's no RPM dependency on it. Version-Release number of selected component (if applicable): open-vm-tools-9.4.0-1.fc20.x86_64 How reproducible: Reproducible every time. Steps to Reproduce: 1. Download the Fedora 20 cloud image. 2. Use qemu-img to convert the image to a vmdk qemu-img convert -O vmdk -o adapter_type=lsilogic Fedora-x86_64-20-20131211.1-sda.raw Fedora-x86_64-20-20131211.1-sda.vmdk 3. Attach the vmdk to a VM and boot it. 4. Set init to boot to bash, re-enable root and schedule an selinux relabel. 5. Run yum install open-vm-tools . 6. Run systemctl enable vmtoolsd.service and reboot the machine. 7. Look in the journal for errors. Actual results: Error messages about which not being available. Expected results: which to have been installed before open-vm-tools was installed. Additional info: Thanks for making open-vm-tools - it lets the system start so much faster than the regular VMWare tools and also doesn't break on kernel updates!
Forgot to say: $ grep -r which /etc/vmware-tools/scripts/ /etc/vmware-tools/scripts/vmware/network:# runs it with the given argument (which should be one of the usual SysV /etc/vmware-tools/scripts/vmware/network: service=`which service 2>/dev/null` /etc/vmware-tools/scripts/vmware/network: # `which' may be a bit noisy, so we'll shush it. /etc/vmware-tools/scripts/vmware/network: dbusSend=`which dbus-send 2>/dev/null` /etc/vmware-tools/scripts/vmware/network: # `which' may be a bit noisy, so we'll shush it. /etc/vmware-tools/scripts/vmware/network: dbusSend=`which dbus-send 2>/dev/null` /etc/vmware-tools/scripts/vmware/network: which ifup >/dev/null 2>&1 || Panic "ifup not in search path." /etc/vmware-tools/scripts/vmware/network: which ifconfig >/dev/null 2>&1 || Panic "ifconfig not in search path."
There is also a dependency on coreutils because of 'date' and 'dirname' commands. I will add a dependency to 'which' and 'coreutils'.
(In reply to Ravindra Kumar from comment #2) > There is also a dependency on coreutils because of 'date' and 'dirname' > commands. I will add a dependency to 'which' and 'coreutils'. Here is the complete list of dependencies for the scripts included in the package: - 'ifup' from 'initscripts' package - 'ifconfig' from 'net-tools' package - 'dbus-send' from 'dbus' package - 'egrep' from 'grep' package - 'expr/date/dirname' from 'coreutils' package - 'sed' from 'sed' package - 'printf/basename' from 'coreutils' package - 'tar' from 'tar' package
open-vm-tools-9.4.0-7.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/open-vm-tools-9.4.0-7.fc20
open-vm-tools-9.4.0-7.fc20 works
open-vm-tools-9.4.0-7.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/open-vm-tools-9.4.0-7.fc19
open-vm-tools-9.4.0-7.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/open-vm-tools-9.4.0-7.el6
Package open-vm-tools-9.4.0-7.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing open-vm-tools-9.4.0-7.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-0967/open-vm-tools-9.4.0-7.el6 then log in and leave karma (feedback).
There's no dependency on which with open-vm-tools-9.4.0-7.fc20 so suspend breaks...
Sigh.. not sure how I missed it. I will fix it. Thanks for reporting.
open-vm-tools-9.4.0-8.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/open-vm-tools-9.4.0-8.fc20
Doing yum install http://kojipkgs.fedoraproject.org//packages/open-vm-tools/9.4.0/8.fc20/x86_64/open-vm-tools-9.4.0-8.fc20.x86_64.rpm pulls down the missing dependencies (including which) and suspend now works. Resolved?
(In reply to Sitsofe Wheeler from comment #12) > Doing > yum install > http://kojipkgs.fedoraproject.org//packages/open-vm-tools/9.4.0/8.fc20/ > x86_64/open-vm-tools-9.4.0-8.fc20.x86_64.rpm > pulls down the missing dependencies (including which) and suspend now works. > Resolved? I would think so. My understanding is Bodhi will resolve the bug automatically once update gets +3 karma.
Thanks for testing this Sitsofe!
Sitsofe, could you please provide +1 karma to the package as you have tested it?
I thought I had on 2014-04-03 - I'm the first Anonymous Tester on https://admin.fedoraproject.org/updates/open-vm-tools-9.4.0-8.fc20 . Perhaps because I don't have a Fedora login it doesn't count?
The rules are complex -- not even I'm fully aware of them -- and they could include that anonymous votes don't count. Anyhow the good news is that after ~ 7 days in testing, the update will get automatically pushed to stable (provided it doesn't attract any negative votes), so all you have to do is wait.
Actually it may not happen automatically. However Ravindra should get an email about it with a link that will allow him to push the update to stable.
Thanks Sitsofe. I saw one vote and I was guessing it to be from you. I tried to vote with my testing but that also does not count. Like Richard suggested, I will wait and push it to stable when I get a notification from Bodhi. Thanks for testing!
open-vm-tools-9.4.0-8.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
open-vm-tools-9.4.0-8.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
open-vm-tools-9.4.0-8.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.