[SRU] vblade doesn't create /var/run/vblade

Bug #223387 reported by J. Bruce Fields
26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vblade (Ubuntu)
Fix Released
Undecided
Unassigned
Declined for Jaunty by Mathias Gug
Hardy
Fix Released
Undecided
Chuck Short

Bug Description

Binary package hint: vblade

After apt-get install vblade, /etc/init.d/vblade start fails with

/etc/init.d/vblade: line 30: /var/run/vblade/vnet0-e0.0.pid: No such file or directory

After a 'mkdir /var/run/vblade', the problem is gone.

This is with vblade version 14-1ubuntu1 from Hardy Heron.

Revision history for this message
J. Bruce Fields (bfields-fieldses) wrote :

Also (OK, this could be a separate bug), the init script doesn't echo anything into the /var/run/vblade/* files. I'm not really sure what was intended, but the attached bug is at least one way to fix the problem.

Revision history for this message
J. Bruce Fields (bfields-fieldses) wrote :

I'd assumed the failure to create /var/run/vblade was a failure in the package install scripts, but actually I notice /var/run is a tmpfs, so it's up to /etc/init.d/vblade to create this. The following updated patch does that.

Changed in vblade:
status: New → Confirmed
Arnaud Soyez (weboide)
Changed in vblade:
assignee: nobody → weboide
status: Confirmed → In Progress
Revision history for this message
Arnaud Soyez (weboide) wrote :

Here's the debdiff for hardy.

Changes are only a few lines in debian/vblade.init.

Changelog:

  * Fixed debian/vblade.init: init.d script fails to start because
    pid file not created properly.
    Thanks to J. Bruce Fields. (LP: #223387)
  * debian/control: updated standards version to 3.8.0 (added homepage)
  * debian/control: Added Homepage

Builds fine in hardy!

Changed in vblade:
assignee: weboide → nobody
status: In Progress → Confirmed
Revision history for this message
Imre Gergely (cemc) wrote :

Confirmed this one on Intrepid, here's the debdiff for the package.

Builds ok on Intrepid i386 and amd64.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vblade - 16-1ubuntu3

---------------
vblade (16-1ubuntu3) karmic; urgency=low

  [Arnaud Soyez]
  * Fixed debian/vblade.init: init.d script fails to start because
    pid file not created properly. Thanks to J. Bruce Fields. (LP: #223387)
  * debian/control: updated standards version to 3.8.0 (added homepage)
  * debian/control: Added Homepage

 -- Chuck Short <email address hidden> Mon, 10 Aug 2009 15:01:39 -0400

Changed in vblade (Ubuntu):
status: Confirmed → Fix Released
Chuck Short (zulcss)
Changed in vblade (Ubuntu Hardy):
assignee: nobody → Chuck Short (zulcss)
Revision history for this message
Chuck Short (zulcss) wrote :

Description: Hardy was released with a bug that prevented the vblade daemon to start. The reason for this is that there was no /var/run/vblade directory.

I have attached the debdiff which fixes this issue. It was backported from karmic.

How to reproduce:

1. Install vblade from hardy, run the init script.

There should not be any regression from this fix.

If you have any questions please let me know.

Regards
chuck

summary: - vblade doesn't create /var/run/vblade
+ [SRU] vblade doesn't create /var/run/vblade
Revision history for this message
Chuck Short (zulcss) wrote :
Revision history for this message
Devid Antonio Filoni (d.filoni) wrote :

motu-sru ACK.

Changed in vblade (Ubuntu Hardy):
status: New → Triaged
Revision history for this message
Devid Antonio Filoni (d.filoni) wrote :

Chuck, can you upload your debdiff please? Thanks.

Revision history for this message
Steve Langasek (vorlon) wrote :

Accepted into hardy-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in vblade (Ubuntu Hardy):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote :

Anyone who can test the update in hardy-proposed?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vblade - 14-1ubuntu1.1

---------------
vblade (14-1ubuntu1.1) hardy-proposed; urgency=low

  * debian/vblade.init: init.d script fails to start because
    pid file is not created properly. Thanks to J. Bruce Fields (LP: #223387)
  * Backported fix from vblade-15 for vblade discovery bug. Thanks to J. Bruce
    Fields (LP: #223440)

 -- Chuck Short <email address hidden> Tue, 11 Aug 2009 14:53:36 -0400

Changed in vblade (Ubuntu Hardy):
status: Fix Committed → 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.