lorax fails to build the LiveCD with custom RPMs (Oracle JRE) and ends with "umount failed"

Solution Verified - Updated -

Issue

  • Using lorax and the lorax-minimal kickstart file with only one specific RPM (Oracle JRE in this case) , the livemedia-creator (--make-iso --no-virt) fails with error:
15:34:16,340 Srv anaconda: Traceback (most recent call last):

  File "/usr/lib64/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)

  File "/sbin/anaconda", line 75, in exitHandler
    anaconda.storage.umountFilesystems(swapoff=False)

  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 1653, in umountFilesystems
    self.fsset.umountFilesystems(swapoff=swapoff)

  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 2757, in umountFilesystems
    device.format.teardown()

  File "/usr/lib/python2.7/site-packages/blivet/formats/fs.py", line 925, in teardown
    return self.unmount()

  File "/usr/lib/python2.7/site-packages/blivet/formats/fs.py", line 705, in unmount
    raise FSError("umount failed")

FSError: umount failed

Environment

  • RHEL 7 installation
  • Lorax

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content