mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
configure: use configure's --enable-udev-systemd-background-jobs by default
This should be the preferred way of configuring lvm2 for udev/systemd since otherwise one can end up with the processes run from udev (the pvscan we run for lvmetad update on events) to be killed prematurely and this can end up with LVM volumes not activated in the end.
This commit is contained in:
parent
18caa562fe
commit
702180b30c
@ -1,5 +1,6 @@
|
||||
Version 2.02.107 -
|
||||
==================================
|
||||
Configure --enable-udev-systemd-background-jobs if not disabled explicitly.
|
||||
Add lvmdump -s to collect system info and context (currently systemd only).
|
||||
Refactor allocation code to make A_POSITIONAL_FILL explicit.
|
||||
Use thread-safe ctime_r() for clvmd debug logging.
|
||||
|
6
configure
vendored
6
configure
vendored
@ -1599,8 +1599,8 @@ Optional Features:
|
||||
--enable-lvmetad enable the LVM Metadata Daemon
|
||||
--disable-blkid_wiping disable libblkid detection of signatures when wiping
|
||||
and use native code instead
|
||||
--enable-udev-systemd-background-jobs
|
||||
enable udev-systemd protocol to instantiate a
|
||||
--disable-udev-systemd-background-jobs
|
||||
disable udev-systemd protocol to instantiate a
|
||||
service for background job
|
||||
--enable-udev_sync enable synchronisation with udev processing
|
||||
--enable-udev_rules install rule files needed for udev synchronisation
|
||||
@ -9689,7 +9689,7 @@ $as_echo_n "checking whether to use udev-systemd protocol for jobs in background
|
||||
if test "${enable_udev_systemd_background_jobs+set}" = set; then :
|
||||
enableval=$enable_udev_systemd_background_jobs; UDEV_SYSTEMD_BACKGROUND_JOBS=$enableval
|
||||
else
|
||||
UDEV_SYSTEMD_BACKGROUND_JOBS=no
|
||||
UDEV_SYSTEMD_BACKGROUND_JOBS=yes
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $UDEV_SYSTEMD_BACKGROUND_JOBS" >&5
|
||||
|
@ -1048,9 +1048,9 @@ fi
|
||||
dnl -- Enable udev-systemd protocol to instantiate a service for background jobs
|
||||
AC_MSG_CHECKING(whether to use udev-systemd protocol for jobs in background)
|
||||
AC_ARG_ENABLE(udev-systemd-background-jobs,
|
||||
AC_HELP_STRING([--enable-udev-systemd-background-jobs],
|
||||
[enable udev-systemd protocol to instantiate a service for background job]),
|
||||
UDEV_SYSTEMD_BACKGROUND_JOBS=$enableval, UDEV_SYSTEMD_BACKGROUND_JOBS=no)
|
||||
AC_HELP_STRING([--disable-udev-systemd-background-jobs],
|
||||
[disable udev-systemd protocol to instantiate a service for background job]),
|
||||
UDEV_SYSTEMD_BACKGROUND_JOBS=$enableval, UDEV_SYSTEMD_BACKGROUND_JOBS=yes)
|
||||
AC_MSG_RESULT($UDEV_SYSTEMD_BACKGROUND_JOBS)
|
||||
|
||||
################################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user