Lorax is a set of tools used to create bootable images.
Go to file
Brian C. Lane 6b5c4df8b5 lorax-composer: Cancel running Anaconda process
It ends up that this isn't as easy as you'd think. Anaconda sets up some
signal handlers to handle cleanly exiting, but they are not being run
when sent a TERM after package installation has started. I think DNF
resets them causing it to get ignored.

When the cancel is sent it can take several minutes for it to have an
effect. In my testing it usually takes around 2 minutes for anaconda to
notice and exit.

This sends a TERM to the process and then waits for it to exit. When it
returns it then removed any device-mapper devices that were setup for
image installations, removes any hanging loop devices.

It then kills off any process with pyanaconda. in the cmdline, and
anaconda-bus.conf (because anaconda starts a bunch of helpers and if it
doesn't shut down cleanly they remain running).

Resolves: rhbz#1656691
2018-12-17 16:10:04 -08:00
docs Add openstack to the image type list in the docs 2018-12-07 15:11:27 -05:00
etc Revert "Rename composer-cli to composer" 2018-10-08 09:23:47 -07:00
rel-eng Automatic commit of package [lorax] release [30.8-1]. 2018-12-06 16:09:24 -08:00
share lorax-composer: Install selinux-policy-targeted in images 2018-11-29 11:06:27 -08:00
src lorax-composer: Cancel running Anaconda process 2018-12-17 16:10:04 -08:00
systemd Add PIDFile to the .service file. 2018-07-26 10:41:43 -04:00
tests tests: use the first IP address if more than 1 retruned from OpenStack 2018-12-08 02:31:06 +02:00
utils Update things to make pylint 1.5.1 happy 2015-12-16 12:59:48 -08:00
.coveragerc Enable testing in Travis and collecting of coverage history 2018-04-26 22:33:34 +03:00
.dockerignore Update .dockerignore 2018-05-14 13:00:14 -07:00
.gitignore Fix reporting of coverage results to coverall.io 2018-11-14 09:11:03 -08:00
.travis.yml Fix reporting of coverage results to coverall.io 2018-11-14 09:11:03 -08:00
ANNOUNCE Added draft on initial announce email as I keep adding to it. 2008-10-06 09:51:01 -10:00
AUTHORS add wwoods to AUTHORS 2011-10-26 12:36:06 -04:00
COPYING Initial project description files imported. 2008-09-11 14:16:39 -10:00
Dockerfile.test Fix reporting of coverage results to coverall.io 2018-11-14 09:11:03 -08:00
HACKING.md Start a HACKING.md file and document how to run the tests 2018-09-19 08:47:23 -07:00
lorax.spec Automatic commit of package [lorax] release [30.8-1]. 2018-12-06 16:09:24 -08:00
Makefile Add empty ci_after_success target for Jenkins 2018-12-03 11:36:29 +02:00
POLICY Update TODO and POLICY to reflect the current state of things 2012-01-06 14:41:21 -05:00
README.md Update the README with relevant URLs 2018-05-14 14:44:13 -07:00
requirements.txt Mock more modules for RTD 2015-04-09 11:01:20 -07:00
setup.py Revert "Rename composer-cli to composer" 2018-10-08 09:23:47 -07:00
TODO Update TODO and POLICY to reflect the current state of things 2012-01-06 14:41:21 -05:00

Lorax is a set of tools used to create bootable images.

  • lorax - creates the Anaconda boot.iso used to install Fedora
  • livemedia-creator - uses Anaconda to create bootable images
  • lorax-composer - API server implementing the Weldr BDCS protocol using livemedia-creator

See the Weldr blog for more info about BDCS and the Lorax documentation for more information about Lorax and associated tools.