1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
LVM2 mirror repository https://sourceware.org/lvm2/
Go to file
Peter Rajnoha a6a66e7c83 Fix udev rules to support udev database content generated by older rules.
This can happen with older rules (without support for synthesized events)
that are still part of initrd while using new udev rules in the system itself.

The consequence was that new udev rules incorrectly assumed that not having
DM_UDEV_PRIMARY_SOURCE_FLAG set always means the uevent is synthesized and
inappropriate (device is still not properly activated) and so it should be
ignored. However, initrd is not updated automatically while updating the
libdevmapper/udev rules in the system and so we end up with the rules not
detecting and setting crucial parts in the initrd environment and the rules
in the system that rely on the information that should have been stored in
udev db (which is incorrect in this configuration, of course).

The overall consequence is that the update of libdevmapper/lvm2 without
regenerating the initrd could end up with a boot failure! Ignoring the event
means removing any existing symlinks in /dev!

To fix this, increase udev rules version to make a difference. So from now on,
mark rules without proper support for synthesized events as
DM_UDEV_RULES_VSN="1" and 2 (or higher) if that support is included.
2010-08-12 13:41:18 +00:00
autoconf extended configure with --enable-profiling for compiling code with gcov info 2008-06-27 15:35:09 +00:00
daemons A misunderstanding of the return value of 'dm_bit' has been causing a data 2010-08-04 18:18:18 +00:00
doc Change default alignment of pe_start to 1MB. 2010-08-12 04:11:48 +00:00
include Do not use VPATH in include/Makefile 2010-08-02 13:17:03 +00:00
lib Change default alignment of pe_start to 1MB. 2010-08-12 04:11:48 +00:00
libdm [REGEX] fix a long standing off-by-one error (found by valgrind-pool) 2010-08-09 10:58:27 +00:00
liblvm Clean generated files .exported_symbols_generated, example.conf for distclean. 2010-08-03 13:00:45 +00:00
man Require --restorefile when using pvcreate --uuid. 2010-08-12 04:08:59 +00:00
old-tests Move tests from old-tests/regex to unit-tests/regex. unit-tests will 2010-07-20 15:18:57 +00:00
po INSTALL rules updates 2010-04-09 21:42:48 +00:00
report-generators add copyright notices to new files 2010-07-28 12:20:38 +00:00
reports [REPORT-GENERATORS] cut down stylsheet.css to what we actually use 2010-07-21 10:00:38 +00:00
scripts Fix clvmd init script return code when executed as non-root user. 2010-08-12 09:14:59 +00:00
test fix t-pvcreate-operation-md.sh to require kernel.org Linux >= 2.6.33 for 2010-08-12 04:56:05 +00:00
tools Require --restorefile when using pvcreate --uuid. 2010-08-12 04:08:59 +00:00
udev Fix udev rules to support udev database content generated by older rules. 2010-08-12 13:41:18 +00:00
unit-tests [MM] Make valgrind aware of the pool allocators 2010-08-09 10:56:01 +00:00
configure Fix configure to supply DEFAULT_RUN_DIR to Makefiles. 2010-07-31 00:43:41 +00:00
configure.in [MM] Make valgrind aware of the pool allocators 2010-08-09 10:56:01 +00:00
COPYING Outline docs 2001-12-31 16:12:40 +00:00
COPYING.LIB Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
INSTALL quick review of docs 2008-11-04 17:49:22 +00:00
make.tmpl.in revert the 'Base' change - that wasn't the cause of the problem 2010-08-02 12:57:04 +00:00
Makefile.in [MM] Make valgrind aware of the pool allocators 2010-08-09 10:56:01 +00:00
README quick review of docs 2008-11-04 17:49:22 +00:00
VERSION post-release 2010-07-28 21:58:08 +00:00
VERSION_DM post-release 2010-07-28 21:58:08 +00:00
WHATS_NEW Fix clvmd init script return code when executed as non-root user. 2010-08-12 09:14:59 +00:00
WHATS_NEW_DM Fix udev rules to support udev database content generated by older rules. 2010-08-12 13:41:18 +00:00

This tree contains the LVM2 and device-mapper tools and libraries.

For more information about LVM2 read the changelog in the WHATS_NEW file.
Installation instructions are in INSTALL.

There is no warranty - see COPYING and COPYING.LIB.

Tarballs are available from:
  ftp://sources.redhat.com/pub/lvm2/

To access the CVS tree use:
  cvs -d :pserver:cvs@sources.redhat.com:/cvs/lvm2 login
  CVS password: cvs
  cvs -d :pserver:cvs@sources.redhat.com:/cvs/lvm2 co LVM2

Mailing list for general discussion related to LVM2:
  linux-lvm@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm

Mailing list for LVM2 development, patches and commits:
  lvm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm

Mailing list for device-mapper development, including kernel patches
and multipath-tools:
  dm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/dm-devel