[Bug 1582728] libu2s parsing fix

bugproxy bugproxy at us.ibm.com
Thu Jun 2 15:40:20 UTC 2016


------- Comment on attachment From Jan.Hoeppner at de.ibm.com 2016-06-02 11:30 EDT-------


With the strace output I was finally able to reproduce the error.

The problem lies in libu2s which we use to get the busid of a block device. There is a bug
in the parsing of /proc/dasd/devices which is being triggered only if an FBA device
is listed prior to the ECKD device in question. And since you've had FBA devices
attached to your system during the installation, you ran into that bug.

A simple workaround would be to set the FBA devices offline if they're not really needed
at that point.

This bug was fixed in our development branch a while ago already but wasn't released yet.
The next s390-tools release will include the fix.

However, I also attached the patch that fixes this issue.

Best regards,
Jan

** Attachment added: "libu2s parsing fix"
   https://bugs.launchpad.net/bugs/1582728/+attachment/4675319/+files/libu2s.diff

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to s390-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1582728

Title:
  DASDFMT fails with a buffer overflow error

Status in Ubuntu on IBM z Systems:
  In Progress
Status in s390-tools package in Ubuntu:
  In Progress

Bug description:
  During installation, either through the menu or in an ssh session ,
  dasdfmt fails with a buffer overflow error and does not format the
  dasd volume. The volume is a z/VM minidisk - defined as 1 to end, this
  is common in this environment. The DASD volume was formatted from z/VM
  as a minidisk volume. These are the same steps taken for other
  distributions running under z/VM. I've attached some screen shots.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1582728/+subscriptions



More information about the foundations-bugs mailing list