GNU bug report logs - #26393
Found a bug

Previous Next

Package: parted;

Reported by: Joshua Nelson <jyn514 <at> gmail.com>

Date: Fri, 7 Apr 2017 15:04:02 UTC

Severity: normal

Done: Phil Susi <psusi <at> ubuntu.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Joshua Nelson <jyn514 <at> gmail.com>
To: bug-parted <at> gnu.org
Subject: Found a bug
Date: Fri, 7 Apr 2017 05:30:24 -0400
[Message part 1 (text/plain, inline)]
Hello, sorry to bother you.
I ran into a bug in parted this morning when trying to label an
encrypted partition. Does parted support LUKS partitions?
Thanks for your time.
Details:

version: 3.2
error message: *Assertion (disk != NULL) at ../../libparted/disk.c:1598
in function ped_disk_get_partition() failed.

*backtrace:
*(parted) name Encrypted
Error: /dev/sda3: unrecognised disk label
Error: Expecting a partition number.
(parted) name 3 Encrypted                                                
Error: /dev/sda3: unrecognised disk label
Backtrace has 8 calls on stack:                                          
  8: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7fdbcc169644]
  7: /lib/x86_64-linux-gnu/libparted.so.2(+0x11d65) [0x7fdbcc16dd65]
  6: parted(command_line_get_partition+0x4d) [0x40b67d]
  5: parted() [0x4078f2]
  4: parted(interactive_mode+0xff) [0x40ca2f]
  3: parted(main+0x119f) [0x405f6f]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
[0x7fdbcb95eb45]
  1: parted() [0x405fc7]
*
output of command `parted` told me to run:
*joshua <at> Debian:~$ sudo parted /dev/sda unit co print unit s print
Model: ATA ST500LT012-9WS14 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type      File system     Flags
 1      1048kB  100GB   100GB   extended
 5      1049kB  25.0GB  25.0GB  logical   ext4
 6      25.0GB  27.0GB  1999MB  logical   linux-swap(v1)
 7      27.0GB  29.0GB  1999MB  logical   fat32           boot, esp
 4      100GB   247GB   147GB   primary   ext4
 2      247GB   326GB   78.6GB  primary   ext4
 3      326GB   327GB   1000MB  primary

Model: ATA ST500LT012-9WS14 (scsi)
Disk /dev/sda: 976773168s
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:

Number  Start       End         Size        Type      File system     Flags
 1      2046s       195315711s  195313666s  extended
 5      2048s       48828415s   48826368s   logical   ext4
 6      48830464s   52733951s   3903488s    logical   linux-swap(v1)
 7      52736000s   56639487s   3903488s    logical   fat32          
boot, esp
 4      195315712s  482529279s  287213568s  primary   ext4
 2      482529280s  636129279s  153600000s  primary   ext4
 3      636131328s  638084452s  1953125s    primary

joshua <at> Debian:~$ sudo parted /dev/sda3 unit co print unit s print
Error: /dev/sda3: unrecognised disk label
Model: Unknown (unknown)                                                 
Disk /dev/sda3: 1000MB
Sector size (logical/physical): 512B/4096B
Partition Table: unknown
Disk Flags:
Error: /dev/sda3: unrecognised disk label
Model: Unknown (unknown)                                                 
Disk /dev/sda3: 1953125s
Sector size (logical/physical): 512B/4096B
Partition Table: unknown
Disk Flags:
*

-- 

--This message was sent with a PGP signature. For more information about
PGP and encryption, visit https://gnupg.org.--

[Message part 2 (text/html, inline)]
[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 8 years and 35 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.