Bug 991641 - virt-sysprep fs-uuids plugin doesn't update UUIDs in fstab, elsewhere
virt-sysprep fs-uuids plugin doesn't update UUIDs in fstab, elsewhere
Status: NEW
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard W.M. Jones
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-03 04:24 EDT by Richard W.M. Jones
Modified: 2016-03-07 08:33 EST (History)
3 users (show)

See Also:
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: ---


Attachments (Terms of Use)

  None (edit)
Description Richard W.M. Jones 2013-08-03 04:24:09 EDT
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 04:24:55 EDT
The link should be:

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

Note You need to log in before you can comment on or make changes to this bug.