[Bug 1783973] [NEW] parted generates UUIDs even when just printing partitions

Michael Vogt michael.vogt at canonical.com
Fri Jul 27 10:20:42 UTC 2018


Public bug reported:

When doing: "(parted) p" to print the partitions UUIDs will be generated
internally when there are GPT disk labels. This is usually no problem.
However recently the kernel became more strict about getting randomness
from getrandom() and for reading from /dev/urandom. The libuuid code was
using getrandom() without GRND_NONBLOCKING which leads to hangs when
parted was used in early boot (e.g. to resize the disk).

The fix for libuuid is here: https://bugs.launchpad.net/ubuntu/+source
/util-linux/+bug/1783810

gparted may consider not generating UUIDs if they are not needed.

** Affects: parted (Ubuntu)
     Importance: Low
         Status: New

** Changed in: parted (Ubuntu)
   Importance: Undecided => Low

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

Title:
  parted generates UUIDs even when just printing partitions

Status in parted package in Ubuntu:
  New

Bug description:
  When doing: "(parted) p" to print the partitions UUIDs will be
  generated internally when there are GPT disk labels. This is usually
  no problem. However recently the kernel became more strict about
  getting randomness from getrandom() and for reading from /dev/urandom.
  The libuuid code was using getrandom() without GRND_NONBLOCKING which
  leads to hangs when parted was used in early boot (e.g. to resize the
  disk).

  The fix for libuuid is here: https://bugs.launchpad.net/ubuntu/+source
  /util-linux/+bug/1783810

  gparted may consider not generating UUIDs if they are not needed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1783973/+subscriptions



More information about the foundations-bugs mailing list