kvp_daemon_init incorrectly identifies kernel

Bug #1089967 reported by Ben Howard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hv-kvp-daemon-init (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

The awk test:
 awk '{ sub(/\.([0-9]*)-[a-z].*/, "" ); print$3 }' /proc/version_signature

does not properly identify the name of the KVP daemon correctly.

Related branches

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

The fix here, is to use a different awk line:
KVP="/usr/sbin/hv_kvp_daemon_$(awk '{ sub(/\.([0-9]*)-[a-z].*/, "" ); sub(/-[a-z].*/, ""); print$3 }' /proc/version)"

Which works on 12.04+

Changed in hv-kvp-daemon-init (Ubuntu):
importance: Undecided → Medium
Joshua R. Poulson (jrp)
no longer affects: lansing
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hv-kvp-daemon-init - 0.3ubuntu1

---------------
hv-kvp-daemon-init (0.3ubuntu1) raring; urgency=low

  * Fixed issue where kernel version detection was wrong (LP: #1089967).
  * Made upstart job aware of linux-backports-module provided
    kvp daemon (LP: #1089970, #1089973).
 -- Ben Howard <email address hidden> Thu, 13 Dec 2012 08:12:47 -0700

Changed in hv-kvp-daemon-init (Ubuntu):
status: New → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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