parted generates UUIDs even when just printing partitions

Bug #1783973 reported by Michael Vogt on 2018-07-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
parted (Ubuntu)
Low
Unassigned

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.

Michael Vogt (mvo) on 2018-07-27
Changed in parted (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers