Timestamp:
04/07/2022 09:48:45 PM (2 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/soup3, xry111/xf86-video-removal
Children:
8bbf8a2
Parents:
5afdfaad
Message:

systemd: prevent a dead lock at boot

The default configuration uses /var/lock/lvm as the locking directory
but on BLFS, /var/lock is a symlink to /run/lock. This create a race
condition at boot when some lvm volumes from /etc/fstab are mounted:
The system tries to use /var/lock while /run/lock is not yet mounted.
If /var/lock/lvm is changed to /run/lock/lvm in /etc/lvm/lvm.conf,
/run/lock is created first, and there is no race.

(No files)

Note: See TracChangeset for help on using the changeset viewer.