[lvm-devel] [PATCH] Mitigate some warnings if running as non-root user.
Peter Rajnoha
prajnoha at redhat.com
Fri Mar 18 12:10:45 UTC 2011
On 03/18/2011 12:32 PM +0100, Milan Broz wrote:
> 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)
Yes, we need to fix this! The patch is clear, runs fine. Ack.
Peter
More information about the lvm-devel
mailing list