diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2017-09-21 04:04:42 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-09-22 22:50:48 +0000 |
commit | 82dc6280f4bb6cd00664ee89aa2ab33111da24b6 (patch) | |
tree | c4b533606b16546d618b28f45840aed25725f1a8 /meta-python/recipes-devtools/python/python-pretend.inc | |
parent | 1a1595cbe453bfb37096efd2d953e5d8e8d5a4d3 (diff) | |
download | meta-openembedded-contrib-82dc6280f4bb6cd00664ee89aa2ab33111da24b6.tar.gz |
lvm2: fix start lvm2-monitor.service failed
While systemd based, start lvm2-monitor.service failed.
...
|Sep 21 05:37:34 qemux86-64 lvm[389]: /var/lock: stat failed: No such
file or directory
|Sep 21 05:37:34 qemux86-64 systemd[1]: lvm2-monitor.service: Main
process exited, code=exited, status=5/NOTINSTALLED
...
The failure of lvm2-monitor.service caused reboot hung when disk
partion is lvm thin provision.
While starting lvm2-monitor.service, it reqires the existence of
locking dir "/var/lock" which is a symlink to "../run/lock" in oe-core,
and "/run" is created in "/etc/fstab" which have to be be after the
start of lvm2-monitor.service.
So tweak the locking dir to "/tmp/lock" and make sure the dir existence
(after tmp.mount).
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-pretend.inc')
0 files changed, 0 insertions, 0 deletions