Your message dated Tue, 08 Jan 2013 13:34:57 -0500
with message-id <[email protected]>
and subject line 
has caused the Debian Bug report #577927,
regarding parted fails without superuser privileges when dealing with a 
user-writable device from devmapper
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.)


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

i've got a logical volume exported by the device mapper which happens
to be readable by a regular user.  It's used as a block device for a
VM, so it's got a partition table on it.  I'd like to be able to
modify that partition table without needing superuser privileges.

However, parted appears to refuse to do it, even though the user is
capable of reading and writing every block on the disk.  The program
itself even seems to think that this is a bug:

bar@foo:~$ ls -la /dev/mapper/vg_foo0-bar 
brw-rw---- 1 root bar 253, 8 2010-04-15 04:42 /dev/mapper/vg_foo0-bar
bar@foo:~$ /sbin/parted /dev/mapper/vg_foo0-bar 
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.2)
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/mapper/vg_foo0-bar.

bar@foo:~$ 

Thanks for maintaining parted!

       --dkg

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages parted depends on:
ii  libc6                     2.10.2-6       Embedded GNU C Library: Shared lib
ii  libncurses5               5.7+20100313-2 shared libraries for terminal hand
ii  libparted0debian1         2.2-5          The GNU Parted disk partitioning s
ii  libreadline6              6.1-1          GNU readline and history libraries

parted recommends no packages.

Versions of packages parted suggests:
pn  parted-doc                    <none>     (no description available)

-- 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/

iQEcBAEBAgAGBQJQ7GbRAAoJEJrBOlT6nu75HBAIAMHrOhxzzcJ0B5oBtNLWYwUJ
3WRm6kiz2Z/QuTiwmAalSWNdxkkaVL/j1GeR45K+NF1LH7mu8QwN2gQK4wBUJUcI
sSRu/7e5uetUPfi00FQTkLpBFl1poGLD23et1d59T/9BEFqeZPZropVrAD5mSrpj
zudjj6gZ/LwT/s+C45VEreeMUcrD48AzEyQCYXE5i2Iif21NSxkRBXAJJ8XrYNWg
HI5C2Oz9i2Yi0yUc0sgLkX1rMotSoGxjBcfoGWj0N9dwwUA49F0pS/D+ej2kyk8j
2EX/OH9WVtTrq013hcM6siBV3pN4BKQujy5zU6/m07mSrpSUL4TEkGaa4bo20bk=
=2kVa
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to