Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#39670 - [open-vm-tools] *NetworkManager functions in /etc/vmware-tools/scripts/vmware broken

Attached to Project: Community Packages
Opened by Florian Maunier (fmauNeko) - Saturday, 29 March 2014, 04:24 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 31 March 2014, 12:12 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The tests at line 53 and 126 are broken, because the test utility can't handle pidof outputting 2+ PIDs with spaces in-between. (Usually the system bus and the session bus)
The TranquilizeNetworkManager executes fine even though the test fails, but the WakeNetworkManager part will never wake NM up.

Steps to reproduce:
1. Get a VM with NetworkManager
2. Suspend it
3. Resume it
4. No more network

Output from the script:
~ LANG=C /etc/vmware-tools/scripts/vmware/network suspend-vm
Sat Mar 29 00:18:57 EDT 2014 : Executing '/etc/vmware-tools/scripts/vmware/network'

/etc/vmware-tools/scripts/vmware/network.orig: line 53: [: too many arguments
method return sender=:1.3 -> dest=:1.84 reply_serial=2

~ LANG=C /etc/vmware-tools/scripts/vmware/network resume-vm
Sat Mar 29 00:18:07 EDT 2014 : Executing '/etc/vmware-tools/scripts/vmware/network'

/etc/vmware-tools/scripts/vmware/network.orig: line 126: [: 531: binary operator expected

Quick and dirty fix attached.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 31 March 2014, 12:12 GMT
Reason for closing:  Fixed

Loading...