[Bug 959218] Re: [SRU] clvm start error missing /var/run/lvm

Launchpad Bug Tracker 959218 at bugs.launchpad.net
Thu Jun 7 19:12:13 UTC 2012


This bug was fixed in the package lvm2 - 2.02.88-2ubuntu2

---------------
lvm2 (2.02.88-2ubuntu2) quantal-proposed; urgency=low

  [ Ante Karamatic ]
  * debian/{clvmd.ra,clvm.init}:
    - create /var/run/lvm if it doesn't exist (LP: #959218)

  [ Andres Rodriguez ]
  * debian/clvm.init: exit 3 if not running on status action. (LP: #988881)
 -- Andres Rodriguez <andreserl at ubuntu.com>   Tue, 05 Jun 2012 16:30:18 -0400

** Changed in: lvm2 (Ubuntu Quantal)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/959218

Title:
  [SRU] clvm start error missing /var/run/lvm

Status in “lvm2” package in Ubuntu:
  Fix Released
Status in “lvm2” source package in Precise:
  Fix Released
Status in “lvm2” source package in Quantal:
  Fix Released

Bug description:
  [Impact]
  This problem impacts cLVM in every use case. Before starting cLVM doesn't create /var/run/clvm. This is true for cLVM standalone and cLVM resource agent.

  [Development Fix]
  There is not fix in Ubuntu-Q, since it's not open yet.

  [Stable Fix]
  Proposed fix is a minimal change for cLVM init scrit and cLVM RA. In both cases, before starting the daemon, /var/run/lvm is created in case it doesn't exist already.

  [Test Case]
  1. Install Ubuntu 12.04
  2. Install clvm package
  3. Reboot the system
  4. Without the patch, clvmd won't be running

  [Regression Potential]
  Without the patch, clvmd can't start at all. There are no known regressions that might be caused by creating /var/run/lvm directory.

  [Original report]

  ubuntu:                         12.04 precise
  clvm:                              2.02.66-4ubuntu7

  "/etc/init.d/clvm start" fails because clvm is missing "/var/run/lvm"
  directory.

  Possible solution:
  Add "mkdir -p /var/run/lvm" to "do_start()"-Function in "/etc/init.d/clvm"-Script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/959218/+subscriptions



More information about the Ubuntu-sponsors mailing list