Bug#751392: lvm2-activation-early breaks because of run-lock.mount

Michael Biebl biebl at debian.org
Fri Aug 29 23:56:05 BST 2014


reassign 751392 systemd
found 751392 208-8
thanks
On Thu, Jun 12, 2014 at 02:06:54PM +0200, Petr Čech wrote:
> I've noticed that lvm2-activation-early.service fails to start with following message:
> 
> Jun 12 09:38:24 flora lvm[403]: /run/lock/lvm/V_flora_md0:aux: open failed: No such file or directory
> Jun 12 09:38:24 flora lvm[403]: Can't get lock for flora_md0
> Jun 12 09:38:24 flora lvm[403]: Skipping volume group flora_md0
> Jun 12 09:38:24 flora systemd[1]: lvm2-activation-early.service: main process exited, code=exited, status=5/NOTINSSTALLED
> 
> The reason seems to be, that run-lock.mount runs after lvm2-activation-early.service
> and the file and directory disappear.

Hi Petr,
thanks for your bug report.
We will deal with that in systemd by promoting the /run/lock tmpfs to an
API fs, which means it will be setup by systemd before any services are
started. So invididual services, like lvm2, doesn't need to declare any
dependencies/orderings.

I'll upload a fix in 215-1 which will hit experimental in a couple of
days.

Re-assigning to systemd accordingly.

Regards,
Michael



More information about the Pkg-systemd-maintainers mailing list