Bug 1305931

Summary: parted crashes on logical volume on DASD
Product: [Fedora] Fedora Reporter: IBM Bug Proxy <bugproxy>
Component: partedAssignee: Brian Lane <bcl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 23CC: bcl, hannsj_uhl, jkachuck
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: All   
Whiteboard:
Fixed In Version: parted-3.2-15.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-10 01:56:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 467765    

Description IBM Bug Proxy 2016-02-09 15:46:27 UTC

Comment 1 IBM Bug Proxy 2016-02-09 15:46:30 UTC
== Comment: #0 - Viktor Mihajlovski <MIHAJLOV.com> - 2016-02-09 07:39:46 ==
Affected version: parted-3.2-13

How to reproduce:
1. Allocate a logical volume on a DASD, e.g. on /dev/dasdb by
- using parted to create a single partition /dev/dasdb1
- pvcreate /dev/dasdb1
- vgcreate dasdvg /dev/dasdb1
- lvcreate -L 1G dasdvg
2. Run parted against the logical volume
parted /dev/mapper/dasdvg_lv01

Results in coredump (divide by zero).

== Comment: #1 - Viktor Mihajlovski <MIHAJLOV.com> - 2016-02-09 07:41:29 ==
Issue can be fixed by applying the patch from http://lists.alioth.debian.org/pipermail/parted-devel/2016-February/004790.html