|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#26393: closed (Found a bug) |
Date: | Wed, 19 Apr 2017 18:11:01 +0000 |
Your message dated Wed, 19 Apr 2017 14:12:35 -0400 with message-id <address@hidden> and subject line Re: bug#26393: Found a bug has caused the debbugs.gnu.org bug report #26393, regarding Found a bug to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 26393: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26393 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: Found a bug Date: Fri, 7 Apr 2017 05:30:24 -0400 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0
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:
address@hidden:~$ 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
address@hidden:~$ 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.--signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---Subject: Re: bug#26393: Found a bug Date: Wed, 19 Apr 2017 14:12:35 -0400 User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 On 4/7/2017 5:30 AM, Joshua Nelson wrote: > 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 You don't partition a partition ( /dev/sda3 ). The crash was caused by an already fixed bug with the name command when there is no partition table.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |