Your message dated Tue, 08 Jan 2013 13:33:02 -0500
with message-id <[email protected]>
and subject line 
has caused the Debian Bug report #671291,
regarding parted: Failure to communicate with kernel device-mapper driver.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
671291: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671291
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: parted
Version: 2.3-9.1
Severity: normal

As a non-privileged user, i have r/w access to a specific block device
(created by the device mapper).  But when i try to use parted to
interrogate or change the device, i get an error after the expected
"Watch out for permissions" warning.

This failure seems inappropriate, since i ought to be able to use
parted in this context to inspect modify the contents of the the block
device even if i can't talk to the device mapper directly.

Feel free to forward this further upstream if that would be useful.

Below is a transcript showing the problem:

0 dkg@pip:~/tmp$ ls -l $(readlink -f /dev/mapper/vg_pip0-test)
brw-rw---T 1 dkg disk 253, 7 May  2 22:59 /dev/dm-7
0 dkg@pip:~/tmp$ [ -r /dev/dm-7 ]
0 dkg@pip:~/tmp$ [ -w /dev/dm-7 ]
0 dkg@pip:~/tmp$ /sbin/parted /dev/dm-7 print
WARNING: You are not superuser.  Watch out for permissions.
/dev/mapper/control: open failed: Permission denied
Failure to communicate with kernel device-mapper driver.
                                                                          

You found a bug in GNU Parted! Here's what you have to do:

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

        http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

        http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (2.3)
along with the error message below, the output of

        parted DEVICE unit co print unit s print

and the following history of commands you entered.
Also include any additional information about your setup you
consider important.

Unable to determine the dm type of /dev/dm-7.

1 dkg@pip:~/tmp$ 

Thanks for maintaining parted in debian,

       --dkg

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages parted depends on:
ii  libblkid1           2.20.1-4
ii  libc6               2.13-30
ii  libdevmapper1.02.1  2:1.02.67-2
ii  libparted0debian1   2.3-9.1
ii  libreadline6        6.2-8
ii  libtinfo5           5.9-6
ii  libuuid1            2.20.1-4

parted recommends no packages.

Versions of packages parted suggests:
pn  parted-doc  <none>

-- no debconf information



--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is not a bug; you must be root to manipulate device mapper
devices.  Write access to the block device is not enough.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQ7GZdAAoJEJrBOlT6nu757toIAJSxlso0wIo0Amdg3Sx7whsV
7T7Q8rZY5xyQ1mh+Al8G2IiaPqzbx2Qi0WIS9TwZ2QKL/2kJJbb5LNGM98WoBtmY
MMI0BApeAcUrUyPbr3RgvV1CLLtBUK/6z5j3c2N8rLfZZx6GA8hPVcUtxYTlAHmW
YvUAbG4z28Ja8+P4dxvV7d2BZ9coN7FqFl5nl9UxWUUZjwuX7vSLYV2or5C6ta3g
IN3kXVUjWJIqXfrqeSdu1XT/0s3M5b6UHcLdQJuaclfiS4+Bp1iIFx5QVNyDjLsG
VSCNu2K4mff3JrhEpS7WHIHyToGXewqkAVnNC6CCsrhtWUU9Xd2DZZ+7sDlzVhg=
=80Td
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to