Skip to content

v0.6.0

Compare
Choose a tag to compare
@DtxdF DtxdF released this 03 Dec 08:29
· 30 commits to main since this release

Changes between 0.5.0 and 0.6.0

  • Stop the jail after KeyboardInterrupt.
  • Added: signal handling.
  • Send SIGTERM signal after stopping the jail in KeywordInterrupt.
  • Ignore signals after execute the handler
  • Fixed old link pointing to Unprivileged Users in AppJail README.
  • Improved: command execution:
    • Processes are not killed as AppJail has been enhanced to terminate its child processes and this operation may take a moment, so it should not be interrupted.
    • Returns the exit code of a command when it fails instead of exiting.
    • Allow timeout for non-root users.
  • Terminate open processes before exiting.
  • Allow non-root users to terminate processes (Since non-root users need AppJail configured to run unprivileged users, Director can take advantage of this to terminate the remaining processes.)
  • Fixed unlock atexit handler (This handler is added before locking Director, which is incorrect since Director checks if it is already locking when it locks itself, so the lock file is removed by another process. To fix this problem, the handler is added after locking Director.).
  • Fixed: director.jail.is_dirty() for when stdout is incorrectly.
  • Fixed cached jail name (The jail name is not updated in case the user changes it in the Director file, so the cached argument is implemented in director.project.get_jail_name() to get the jail name without depending on the file containing it.).

Full Changelog: v0.5.0...v0.6.0