Files
meta-openembedded/meta-oe/recipes-support
Hongxu Jia 82dc6280f4 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>
2017-09-22 22:50:48 +00:00
..
2016-11-23 15:24:44 +01:00
2017-03-31 13:26:03 +02:00
2016-11-23 15:24:41 +01:00
2017-04-24 11:00:51 +02:00
2017-06-22 16:04:13 +02:00
2017-09-18 10:18:11 +02:00
2017-04-24 11:00:50 +02:00
2017-05-04 09:18:33 +02:00
2017-09-18 10:17:56 +02:00
2017-06-14 14:51:16 +02:00
2017-08-31 10:18:33 +02:00
2017-04-18 14:21:42 +02:00
2017-07-14 23:43:20 +02:00
2017-08-28 11:06:02 +02:00
2017-08-28 11:06:04 +02:00
2017-03-31 13:25:57 +02:00
2017-09-07 10:56:39 +02:00
2017-04-24 10:59:27 +02:00
2017-04-27 11:14:58 +02:00
2017-07-01 09:59:27 +02:00
2017-08-13 13:19:00 +02:00
2017-08-13 13:20:58 +02:00
2017-08-13 13:20:58 +02:00
2016-11-26 01:07:03 +01:00
2017-09-18 10:17:56 +02:00
2017-01-25 15:59:57 +01:00
2016-12-26 08:23:23 +01:00
2017-09-18 10:18:12 +02:00
2017-03-31 13:25:59 +02:00
2017-05-23 15:49:39 +02:00
2017-07-24 18:58:54 +02:00
2017-07-24 18:57:33 +02:00
2017-07-14 23:44:31 +02:00
2017-07-24 18:58:51 +02:00
2016-11-23 15:24:42 +01:00
2017-03-31 13:26:01 +02:00
2017-04-24 11:00:53 +02:00
2017-07-24 18:57:36 +02:00
2017-09-22 22:50:47 +00:00
2017-08-28 11:06:02 +02:00
2017-04-05 19:28:29 +02:00
2017-09-18 10:18:12 +02:00
2017-09-18 10:18:12 +02:00
2017-08-13 13:21:01 +02:00
2017-08-28 11:06:03 +02:00
2017-09-07 10:57:38 +02:00
2017-01-25 15:58:54 +01:00
2017-07-24 18:58:54 +02:00
2017-07-24 18:58:52 +02:00
2017-07-24 18:58:52 +02:00
2017-04-24 11:00:51 +02:00
2017-07-14 23:43:21 +02:00
2017-06-12 06:56:45 +02:00
2017-08-28 11:04:11 +02:00
2017-04-05 19:28:28 +02:00
2017-08-28 11:06:04 +02:00
2017-06-22 16:04:14 +02:00
2017-03-31 13:26:05 +02:00