1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-31 05:47:43 +03:00
Milan Broz 52a5cd31c4 Mitigate some warnings if running as non-root user.
LVM doesn't behave correctly if running as non-root user,
there is warning when it detects it.

Despite this, it produces many error messages, saying nothing.
See https://bugzilla.redhat.com/show_bug.cgi?id=620571

This patch fixes two things:
1) Removes eror message from device_is_usable() which has no
information value anyway (real warning is printed inside it).

2) it fixes device-mapper initialization, if we support
core dm module autoload and device node is present, it should
fail early and not try recreate existing and correct node.
(non-root == permission denied here)

N.B. In future code should support user roles, some more
drastic checks in code are probably contraproductive now.
2011-03-18 12:17:57 +00:00
..
2011-03-13 23:01:08 +00:00
2011-03-10 14:51:35 +00:00
2010-12-20 13:19:13 +00:00
2011-03-13 22:52:16 +00:00
2011-02-18 14:47:28 +00:00
2011-03-13 23:05:48 +00:00
2011-03-13 23:05:48 +00:00
2011-02-18 14:16:11 +00:00
2011-02-18 14:16:11 +00:00
2011-02-18 14:29:39 +00:00
2011-03-13 23:18:30 +00:00
2011-03-06 17:52:07 +00:00
2011-03-05 12:14:00 +00:00
2011-02-18 14:29:39 +00:00
2011-02-18 14:47:28 +00:00