open-vm-tools install update-rc.d failure

Bug #1270503 reported by cc
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
open-vm-tools (Ubuntu)
Fix Released
High
Unassigned

Bug Description

upgraded from 13.10 to test 14.04 using do-release-upgrade -d

upon upgrade, it seems that the upgrade for open-vm-tools failed with the following message.

Setting up open-vm-tools (2:9.4.0-1280544-5) ...
update-initramfs: deferring update (trigger activated)
update-rc.d: error: expected NN after start
usage: update-rc.d [-n] [-f] <basename> remove
       update-rc.d [-n] <basename> defaults [NN | SS KK]
       update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
       update-rc.d [-n] <basename> disable|enable [S|2|3|4|5]
                -n: not really
                -f: force

The disable|enable API is not stable and might change in the future.
dpkg: error processing package open-vm-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools (0.103ubuntu3) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-4-generic
Errors were encountered while processing:
 open-vm-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

upon googling,

it looks like the installation script needs to be cleaned up so that this installs cleanly.

it looks like the following is the line(s) that need to be fixed.

https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/open-vm-tools/trusty/view/head:/debian/rules#L67

it should be

 dh_installinit --update-rcd-params='start 38 2 3 4 5 . stop 38 0 1 6 .'

see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651031 for a report of a similar bug for a different package.

if this is not fixed, this could lead to issues with running 14.04 VMs properly with VMware.

since this should be a pretty easy fix, i'm requesting that this be fixed prior to 14.04 release especially given 14.04 is LTS. thanks.

cc (codecrumb)
description: updated
cc (codecrumb)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in open-vm-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
satish kushawah (satishkushawah) wrote :

Same issue is occurring on my system also.
So pelase try to fix ASAP.

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

Prepared patched based on report and test. I've confirmed that it works on Ubuntu 14.04 LTS.

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

Pending merge proposal review for upload.

Changed in open-vm-tools (Ubuntu):
assignee: nobody → Ben Howard (utlemming)
importance: Undecided → High
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package open-vm-tools - 2:9.4.0-1280544-5ubuntu1

---------------
open-vm-tools (2:9.4.0-1280544-5ubuntu1) trusty; urgency=low

   * debian/rules: fixed dh_installinit directive (LP: #1270503).
 -- Ben Howard <email address hidden> Tue, 21 Jan 2014 10:56:31 -0700

Changed in open-vm-tools (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.