[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46630: GNU Parted bug: Unable to determine the dm type of /dev/mappe
From: |
Brian C. Lane |
Subject: |
bug#46630: GNU Parted bug: Unable to determine the dm type of /dev/mapper/name |
Date: |
Fri, 19 Feb 2021 08:53:55 -0800 |
On Thu, Feb 18, 2021 at 05:54:12PM -0800, Parke wrote:
> Fyi...
>
> I get the following error when I run "partprobe /dev/mapper/name" as
> non-root on Ubuntu 20.04.
>
> $ partprobe /dev/mapper/name
> /dev/mapper/control: open failed: Permission denied
> Failure to communicate with kernel device-mapper driver.
> Incompatible libdevmapper 1.02.167 (2019-11-30) and kernel driver
> (unknown version).
> A bug has been detected in GNU Parted. Refer to the web site of
> parted http://www.gnu.org/software/parted/parted.html for more
> information of what could be useful for bug submitting! Please email
> a bug report to bug-parted@gnu.org containing at least the version
> (3.3) and the following message: Unable to determine the dm type of
> /dev/mapper/name.
>
> ----
>
> I did not expect partprobe to work as non-root. But I did expect a
> terse(r) error message.
>
> For example, the following error message is expectedly terse.
>
> $ partprobe /dev/sdf
> Error: Error opening /dev/sdf: Permission denied
The first line says that, the rest provides additional context what can
sometimes be useful.
Brian
--
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart