Lorax is a set of tools used to create bootable images.
Go to file
Brian C. Lane e3e892ea43 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:22:37 -08:00
docs New lorax documentation - 28.21 2018-11-29 11:36:02 -08:00
etc Fix bash completion of compose info 2018-08-07 16:48:12 -07:00
rel-eng Automatic commit of package [lorax] release [28.22-1]. 2018-12-06 16:17:37 -08:00
share Fix vhd images 2018-12-11 08:30:28 -08:00
src lorax-composer: Cancel running Anaconda process 2018-12-17 16:22:37 -08:00
systemd Add PIDFile to the .service file. 2018-07-26 14:25:23 -04:00
tests lorax-composer: Handle packages with multiple builds 2018-12-06 16:07:22 -08: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-05-16 10:52:39 -07:00
.dockerignore Update .dockerignore 2018-05-17 10:34:34 -07:00
.gitignore Ignore files created by tests 2018-10-09 15:01:26 -07:00
.travis.yml Enable testing in Travis and collecting of coverage history 2018-05-16 10:52:39 -07: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 Add beakerlib to Dockerfile.test 2018-10-09 15:15:23 -07:00
HACKING.md Start a HACKING.md file and document how to run the tests 2018-10-09 15:02:38 -07:00
lorax.spec Automatic commit of package [lorax] release [28.22-1]. 2018-12-06 16:17:37 -08:00
Makefile Build manpages for composer-cli and lorax-composer 2018-10-29 15:22:38 -07: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-17 10:34:35 -07:00
requirements.txt Mock more modules for RTD 2015-04-09 11:01:20 -07:00
setup.py Add support for systemd socket activation 2018-05-17 10:34:35 -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.