FS#56144 - [open-vm-tools] Uses old network script (2010) vs upstream (2017), fails with sytemd/networkd

Attached to Project: Community Packages
Opened by Christian Zangl (laktak) - Saturday, 28 October 2017, 13:19 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 31 October 2017, 10:58 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The open-vm-tools package includes an old network script from 2010 that does not work with systemd.

Compare https://github.com/vmware/open-vm-tools/blob/e0a7b4e98bd6d6af06d31212dfdc82610d37e4d3/open-vm-tools/scripts/linux/network
to https://git.archlinux.org/svntogit/community.git/plain/trunk/network-script?h=packages/open-vm-tools

Lone_Wolf (https://bbs.archlinux.org/viewtopic.php?pid=1745433#p1745433) confirmed that this is most likely a bug:

> Looking at the PKGBUILD and the used scripts suggest sometime in the past arch devs customized the upstream network script to work better (added netctl support) on arch linux. After that happened upstream changed https://github.com/vmware/open-vm-tools … ux/network , but arch devs missed that.


Additional info:
* package version(s)
open-vm-tools 6:10.1.10-2
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 31 October 2017, 10:58 GMT
Reason for closing:  Fixed
Comment by Eli Schwartz (eschwartz) - Sunday, 29 October 2017, 03:44 GMT
  • Field changed: Status (Unconfirmed → Assigned)
  • Field changed: Severity (High → Medium)
  • Task assigned to Sergej Pupykin (sergej)
At the top of every page in the bugtracker:

"Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines"

Note the section on severity.
Comment by Christian Zangl (laktak) - Sunday, 29 October 2017, 10:40 GMT
@eschwartz "Severity Medium - A non-essential functionality does not work" - wouldn't loosing network connectivity after resuming the VM qualify as an essential functionality?
Comment by Eli Schwartz (eschwartz) - Sunday, 29 October 2017, 17:36 GMT
systemd-networkd support, for network connectivity, when used with resume, is not absolutely essential functionality for running and managing a VM, no. If you define "the main purpose of the application" as "the features I use", then yes...
Comment by Sergej Pupykin (sergej) - Tuesday, 31 October 2017, 09:21 GMT
Please try open-vm-tools-6:10.1.15-1. I removed all custom files except 2 systemd services.
Comment by Christian Zangl (laktak) - Tuesday, 31 October 2017, 10:20 GMT
Looks good to me! VMware no longer complains about the script and the logs show the network stopping/starting.

Thank you!

Loading...