Bug 991641

Summary: virt-sysprep fs-uuids plugin doesn't update UUIDs in fstab, elsewhere
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: dominic.kohls, vcojot
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2013-08-03 08:24:09 UTC
Description of problem:

http://libguestfs.org/virt-sysprep.1.html#fs-uuids-

I disabled the fs-uuids plugin in virt-sysprep because it
most likely breaks the guest.

To fix this we have to identify all the places in the guest
which use the UUID and fix them up.  eg:

 - /etc/fstab
 - initramfs
 - Windows boot loader
 - grub
 - others?

Version-Release number of selected component (if applicable):

1.23.13

How reproducible:

100%

Steps to Reproduce:
1. virt-sysprep --enable fs-uuids -a disk.img
2. Try to boot disk.img afterwards.

Actual results:

Guest won't be able to find and mount its root filesystem.

Comment 1 Richard W.M. Jones 2013-08-03 08:24:55 UTC
The link should be:

http://libguestfs.org/virt-sysprep.1.html#fs-uuids%2d

Comment 2 Dominic Kohls 2023-05-22 15:28:18 UTC
Does anyone have this on their list? Will this ever get fixed?

Comment 3 Richard W.M. Jones 2023-05-22 15:33:51 UTC
I don't think so.  However the source is open if you would like to have a go.