** Description changed:

+ [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

** Patch added: "lvm2.patch"
   
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/959218/+attachment/3105414/+files/lvm2.patch

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to