[Bug 959218] Re: [SRU] clvm start error missing /var/run/lvm
Launchpad Bug Tracker
959218 at bugs.launchpad.net
Wed May 2 03:39:18 UTC 2012
** Branch linked: lp:ubuntu/precise-proposed/lvm2
--
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:
Confirmed
Status in “lvm2” source package in Precise:
Fix Committed
Status in “lvm2” source package in Quantal:
Confirmed
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